From: Dainius <vakaras@delfi.lt>
To: gcc@gcc.gnu.org
Subject: Entry point for LD
Date: Fri, 28 Sep 2001 03:17:00 -0000 [thread overview]
Message-ID: <2514.010928@delfi.lt> (raw)
Hello,
I wanted to compile and link simple program for ARM-ELF. But even,
linked used default entry point (0x8000) even if I specify other one
(for ex., arm-elf-ld.exe -o test.bin -e 0 test.obj).
So I got huge test.bin file (over 32k). If I'd not specify -e 0, I'd
get warning about default entry point "0x00008000".
I tryed to compile and link with arm-elf-gcc:
arm-elf-gcc -o test.bin -e 0 test.c.
But then I got error:
...../arm-elf/bin/ld: can not find -lc
collect2: ld returned 1 exit status
Where can be a problem? What I did wrong?
------------
Best regards,
Dainius
next reply other threads:[~2001-09-28 3:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-28 3:17 Dainius [this message]
2001-09-28 14:07 ` Alexandre Oliva
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=2514.010928@delfi.lt \
--to=vakaras@delfi.lt \
--cc=gcc@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).