On 12/31/2012 06:55 AM, John Tytgat wrote:
> In message <20121230165053.5732A27C7C@orac.inputplus.co.uk>
> Ralph Corderoy <ralph@inputplus.co.uk> 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 defined.
>
> Indeed. For further better understanding what's going on, you can use
> gcc's -v option. That will show all executing subprocesses : preprocessing,
> compiling, assmebling and/or linking.
Full:
http://www.riscos.info/index.php/GCC_tutorial
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment