Finally - some success with cross

Neal Becker neal@ctd.comsat.com
Tue Dec 9 05:12:00 GMT 1997


>>>>> "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).





More information about the Gcc mailing list