This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Finally - some success with cross
- To: egcs at cygnus dot com
- Subject: Finally - some success with cross
- From: Neal Becker <neal at ctd dot comsat dot com>
- Date: Fri, 5 Dec 1997 09:58:47 -0500
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.