This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __gccmain
- To: gcc at gcc dot gnu dot org, vakaras at delfi dot lt
- Subject: Re: __gccmain
- From: mike stump <mrs at windriver dot com>
- Date: Thu, 27 Sep 2001 10:17:52 -0700 (PDT)
> Date: Thu, 27 Sep 2001 19:00:10 +0200
> From: Dainius <vakaras@delfi.lt>
> To: gcc@gcc.gnu.org
> arm-elf-ld -o test.bin -e main test.o
> I got error: test.o<.text+0xc>: undefined reference to '__gccmain'
You failed to use the compiler to link. Go back and use it, and you
will notice it just works.