On Monday 01 September 2003 11:27, Clemens Ladisch wrote:
> Adrian McMenamin wrote:
> > > Do the compiler flags include --static? Maybe you can add this flag by
> > > setting CFLAGS explicitly when ./configure-ing.
> >
> > Exactly, but how?
>
> CC=sh-linux-gcc CFLAGS=--static ./configure --xxx=...
>
>
OK, this works great for the alsa-utils, but I have now discovered that many 
of the tools installed by alsa-lib are not properly built static even when I 
follow the instructions in the INSTALL file -----


For instance:

/usr/bin # ./alsalisp
./alsalisp: No such file or directory


I have configured the sources for building thus:

CC=sh-linux-gcc ./configure --enable-shared=no --enable-static=yes 
--host=sh-linux --prefix=/home/Adrian/dc-down/initrd/usr


Adding in CFLAGS=--static causes the build to fail.

So any clues on this one?

Adrian



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to