Finally - some success with cross
Neal Becker
neal@ctd.comsat.com
Fri Dec 5 06:58:00 GMT 1997
I finally am having some success building egcs-1.0 for
host=hppa1.1-hp-hpux9
target=m68k-unknown-coff
The thing kept dying when building target libiberty. The problem was
that the gcc was built using libgloss.h in the configure. This does:
* Don't set the target flags, this is done by the linker script */
#undef LIB_SPEC
#define LIB_SPEC ""
Well, it doesn't install any linker script. So links weren't working,
so the "needed" file of target libiberty was incorrect.
I editted <builddir>/gcc/specs to say:*lib:
%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}
Now the build is proceeding OK.
More information about the Gcc
mailing list