In configure script, line 2580, there is a link test which checks if
an executable can be generated. The config.log file emits the
following errors:

/usr/local/bin/rdos-ld: unrecognised emulation mode: -o
Supported emulations: elf_i386
collect2: ld returned status 1 exit status.

This error later in the configure scripts leads to an abort
with "Link tests are not allowed after GCC_NO_EXECUTABLES".

To try to figure out this problem, I manully compiled the same
file with the same options using the same compiler (xgcc), and
it returns the same error. I then tried to use the cross-compiler
built using gcc-4.1-20051008, with which I can build other
executables, and it returns the same error. Only if I remove
the "-B/usr/src/toolchain/gcc-4.2-20060107/host-i686-pc-linux-gnu/gcc"
option, does it generate the executable without any errors. How
can this include give ld the wrong emulation mode? Apparently,
there is no "-o" in any file in the build-directory.

Is this a known problem?

Leif Ekblad





Reply via email to