Hallo Alexander,

I have tried to compile lftp on AIX 5.2. Static binding of libgcc_s.a does not work. We need that because AIX by default does not install libraries of gcc or gcc at all. We can not install on every system gcc. AIX must use it's own linker ld, GNU's ld produces wrong results. Configure recognizes that ld is not GNU's ld. AIX ld needs the option "-bstatic". The gcc manpage says, linker options unknown to gcc can be passed to the linker with "-Xlinker <linker option". This would be "-Xlinker -bstatic". I have manually added this statement to CFLAGS in the Makefiles in the source directories. Unfortunately it did not work. Can you add this statement to the configure script? I am ready to test it if you can not do it by yourself.

Regards
Peter Kosmalla

Reply via email to