I am trying to compile lftp for a boot cd I am making. I need to
complete a static build. I have tried all of the options I can think of
to get it to work. The executable will build and run in a normal shell.
When I chroot to my boot_cd directory, it says file not found when I
call it from the command line. I am doing a basic ./configure;make;make
install. These are the options I am using:

"LDFLAGS=-static CC="gcc -static" ./configure --disable-nls \
--prefix=/boot_cd/static --enable-static=yes --enable-shared=no \
--without-libresolv --without-ssl --with-gnu-ld"

"make" or "make LDFLAGS=-static"

"make install"

Can anyone suggest how to do a correct static build? I don't have a lot
of experience with compiler options, so I might be missing something
easy. Thanks

Casey McGinty
[EMAIL PROTECTED]

Reply via email to