On 12/31/2012 06:55 AM, John Tytgat wrote:
In message <20121230165053.5732a27...@orac.inputplus.co.uk>
Ralph Corderoy wrote:
Without -c for `compile only' the C compiler kicks off the
linker/loader, the `ld' in the output, to produce a finished executable.
ld observes the C runtime
In message <20121230165053.5732a27...@orac.inputplus.co.uk>
Ralph Corderoy wrote:
> Without -c for `compile only' the C compiler kicks off the
> linker/loader, the `ld' in the output, to produce a finished executable.
> ld observes the C runtime tries to call main() but no main() is def
In message <20121230165053.5732a27...@orac.inputplus.co.uk> you wrote:
> Try one of
>
> gcc -c sys.s
> gcc -c -o sys.o sys.s
> Without -c for `compile only' the C compiler kicks off the
> linker/loader, the `ld' in the output, to produce a finished executable.
> ld observes the C runtim
Hi Gavin,
> I am making a serious effort (again) to get to grips with gcc4_1_2r2.
> I am trying to assemble a short piece of ARM code with
> gcc -o sys.o sys.s
Try one of
gcc -c sys.s
gcc -c -o sys.o sys.s
> I keep getting an error:
> : In function 'crt1_data':
> crt0.S:(.data+
I am making a serious effort (again) to get to grips with gcc4_1_2r2.
I am trying to assemble a short piece of ARM code with
gcc -o sys.o sys.s
I keep getting an error:
: In function 'crt1_data':
crt0.S:(.data+0x14): undefined reference to 'main'
collect2: ld returned 1 exit status
make: *