[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiling Lua for uClinux create larger file than expected
- From: Edgar Toernig <froese@...>
- Date: Wed, 20 Oct 2004 04:36:58 +0200
Mike Crowe wrote:
>
> -rw-rw-rw- 1 MCrowe mkpasswd 403948 Oct 19 21:59 lua
>
> I'm sure it's a compile/linker issue, but it is not intuitively
> obvious. Here's the flags:
>
> CC = nios2-elf-gcc -c -O2 -fomit-frame-pointer -pedantic -Wall
> -I(...)/include -D__linux__ -I./include -I. -I..
> LDFLAGS = -Wl,-E -msys-crt0=(...)/crt0.o -r -d -L(...)/lib/ -lc
>
> Does anybody see anything flagrant that I am missing?
Looks like lua is linked statically with a modern (read big and
bloated) glibc. Are there shared libs in (...)/lib/?
Ciao, ET.