http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50648
Bug #: 50648 Summary: --disable-shared is not passed on to target-zlib Classification: Unclassified Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: fzvq...@v.mintemail.com apparently zlib-target tries to build a shared library. since the case $host_os in zlib/configure:9352 thinks that my OS (aboriginal linux 1.01 on armv6l) is not in the list, it fails at line 9707 at: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" with configure:9707: error: Link tests are not allowed after GCC_NO_EXECUTABLES.