From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neal Becker To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: Finally - some success with cross Date: Tue, 09 Dec 1997 05:12:00 -0000 Message-id: References: <11985.881643425@hurl.cygnus.com> X-SW-Source: 1997-12/msg00530.html >>>>> "Jeffrey" == Jeffrey A Law writes: Jeffrey> In message < E0xdzDL-0006OU-00@data.ctd.comsat.com >you write: >> 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. Jeffrey> Well, egcs isn't supposed to install a linker script :-) That's done Jeffrey> when you build gnu-ld :-) But the linker script in egcs/gcc/specs was being used when we go to build egcs/libiberty for the target. So I had to edit the linker script in egcs/gcc in order to build egcs/libraries. (At least, that's the way I remember it).