From: "dscho" <dscho@compiler.snu.ac.kr>
To: <gcc-help@gcc.gnu.org>
Subject: __gccmain error
Date: Mon, 25 Oct 2004 06:46:00 -0000 [thread overview]
Message-ID: <01da01c4ba5e$140b8d10$24f42e93@shine> (raw)
Hello,
I've built arm-elf-XXX tools and used to build a test file.
There the
message "test.o(.text+0x10): undefined reference to
`__gccmain'" is printed.
Pls. let me know how to overcome this and generate the executable?
not works a case:
arm-elf-gcc -S convolution.c
arm-elf-as -o convolution.o convolution.s
arm-elf-ld -o convolution.axf convolution.o
error message printed : undefined reference to '__gccmain'
works a case:
arm-elf-gcc -o convolution.o convolution.c
arm-elf-ld -o convolution.axf convolution.o
works a case:
arm-elf-gcc -Wall -g -o convolution.axf convolution.c
Thanks in advance.
--Jason C.
next reply other threads:[~2004-10-25 6:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 6:46 dscho [this message]
2004-10-25 6:51 dscho
2004-10-26 1:12 Muthukumar Ratty
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='01da01c4ba5e$140b8d10$24f42e93@shine' \
--to=dscho@compiler.snu.ac.kr \
--cc=gcc-help@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).