This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Finally - some success with cross
- To: law at cygnus dot com
- Subject: Re: Finally - some success with cross
- From: Neal Becker <neal at ctd dot comsat dot com>
- Date: 09 Dec 1997 08:11:53 -0500
- Cc: egcs at cygnus dot com
- References: <11985.881643425@hurl.cygnus.com>
>>>>> "Jeffrey" == Jeffrey A Law <law@cygnus.com> 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).