This is the mail archive of the
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: <email@example.com>
>>>>> "Jeffrey" == Jeffrey A Law <firstname.lastname@example.org> writes:
Jeffrey> In message <E0xdzDL-0006OUemail@example.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).