public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Neal Becker <neal@ctd.comsat.com>
To: egcs@cygnus.com
Subject: Finally - some success with cross
Date: Fri, 05 Dec 1997 06:58:00 -0000	[thread overview]
Message-ID: <E0xdzDL-0006OU-00@data.ctd.comsat.com> (raw)

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.

             reply	other threads:[~1997-12-05  6:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-05  6:58 Neal Becker [this message]
1997-12-08 20:54 ` Jeffrey A Law
1997-12-09  5:12   ` Neal Becker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E0xdzDL-0006OU-00@data.ctd.comsat.com \
    --to=neal@ctd.comsat.com \
    --cc=egcs@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).