egcs cross-compiler installation problem
Stefan.Becker@nmp.nokia.com
Stefan.Becker@nmp.nokia.com
Wed May 5 07:49:00 GMT 1999
egcs version : 1.1.2
host system : hppa1.1-hp-hpux10.20
compilation procedure:
../src/configure --prefix=/appl/hpux10/egcs --enable-languages=c++
--enable-version-specific-runtime-libs --with-gnu-as --with-gnu-ld
--with-newlib --target= <see below>
gmake CFLAGS=-O2 CXXFLAGS=-O2 cross
gmake install-cross
cross targets : arm-arm-coff, sh-hitachi-coff, h8300-hitachi-coff
Problem: When configuring egcs as cross-compiler the generated makefile
always tries to make libf2c although the Fortran compiler is not
configured to build.
I have fixed the problem by manually removing "libf2c" from the the line
"TARGET_CONFIGDIRS=" in the main makefile after the configure run.
Note: There seems to be a general problem with cross-compiling. You can
use the new configure option "--enable-languages" but the "cross" goal in
the resulting makefile still uses the old LANGUAGES="c c++" definition.
The documentation doesn't say anything about which languages are
officially supported for cross-compiling...
Regards,
Stefan
---
Stefan Becker
E-Mail: Stefan.Becker@nmp.nokia.com
More information about the Gcc-bugs
mailing list