From: David Edelsohn <dje@watson.ibm.com>
To: "Ringeman, Tim" <tim_ringeman@gilbarco.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Problem with compiling and linking separately
Date: Mon, 19 Jul 1999 14:27:44 -0400 [thread overview]
Message-ID: <9907191827.AA39168@marc.watson.ibm.com> (raw)
In-Reply-To: Message from "Ringeman, Tim" <tim_ringeman@gilbarco.com> of "Mon, 19 Jul 1999 14:07:34 EDT." <199907191808.OAA14312@hoover.gilbarco.com>
You should be using the compiler, powerpc-linux-gcc, to perform
the link regardless of whether you are performing the link in a separate
step. The link step involves more than just -lc. You are omitting
important, additional commands to the linker by trying to invoke the
linker directly. Either use GCC for the link or look at the verbose
output of GCC and learn the additional flags and libraries and object
files that must be passed to the linker. For instance, you are omitting
the crt0 start files.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
prev parent reply other threads:[~1999-07-19 18:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-19 18:07 Problem with compiling and linking separately Ringeman, Tim
1999-07-19 18:27 ` David Edelsohn [this message]
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=9907191827.AA39168@marc.watson.ibm.com \
--to=dje@watson.ibm.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=tim_ringeman@gilbarco.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 NNTP newsgroup(s).