From: David Riley <happyoscar42@usa.net>
To: linuxppc-dev@lists.linuxppc.org
Subject: using ld properly
Date: Sun, 03 Oct 1999 15:19:59 -0400 [thread overview]
Message-ID: <37F7AC60.4F6BEA3B@usa.net> (raw)
How do I use ld properly (with a Makefile)? I tried "ld -o heyworld
main.o func.o /usr/lib/crt1.o -lc", but it gives me the output file
heyworld, and when I try to do ./heyworld, it says bash:./heyworld:bad
command or filename (or whatever it says). it works fine if I do "gcc
-o heyworld *.o" to link it, but I want to be able to link using ld
(just to do iot, you know). I know gcc calls ld by itself (or does
something similar), but doing gcc -verbose did nothing useful for me.
Thanks,
David
--
--"Your mouse has been moved. Windows 95 must be restarted for change
to take effect."
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
reply other threads:[~1999-10-03 19:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=37F7AC60.4F6BEA3B@usa.net \
--to=happyoscar42@usa.net \
--cc=linuxppc-dev@lists.linuxppc.org \
/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).