This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Finally - some success with cross


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]