public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Finally - some success with cross
@ 1997-12-05  6:58 Neal Becker
  1997-12-08 20:54 ` Jeffrey A Law
  0 siblings, 1 reply; 3+ messages in thread
From: Neal Becker @ 1997-12-05  6:58 UTC (permalink / raw)
  To: egcs

I finally am having some success building egcs-1.0 for
host=hppa1.1-hp-hpux9
target=m68k-unknown-coff

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.

I editted <builddir>/gcc/specs to say:*lib:
%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}

Now the build is proceeding OK.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Finally - some success with cross
  1997-12-05  6:58 Finally - some success with cross Neal Becker
@ 1997-12-08 20:54 ` Jeffrey A Law
  1997-12-09  5:12   ` Neal Becker
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey A Law @ 1997-12-08 20:54 UTC (permalink / raw)
  To: Neal Becker; +Cc: egcs

  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.
Well, egcs isn't supposed to install a linker script :-)  That's done
when you build gnu-ld :-)

jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Finally - some success with cross
  1997-12-08 20:54 ` Jeffrey A Law
@ 1997-12-09  5:12   ` Neal Becker
  0 siblings, 0 replies; 3+ messages in thread
From: Neal Becker @ 1997-12-09  5:12 UTC (permalink / raw)
  To: law; +Cc: egcs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-09  5:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-05  6:58 Finally - some success with cross Neal Becker
1997-12-08 20:54 ` Jeffrey A Law
1997-12-09  5:12   ` Neal Becker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).