A
Angus
Hello
I see that if you try to compile without defining a main function that
you see a link error such as:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Is it possible to NOT link with libd.lib (I presume this is the C
runtime? And if you did not, would you then need to implement low
level stuff like how to what exactly?
I presume function has to be called main() because it is somehow
defined in C runtime ocde?
I realise this question is theoretical because there is little
practical point in not linking with the C runtime - but I am trying to
understand what is going on under the bonnet.
Angus
I see that if you try to compile without defining a main function that
you see a link error such as:
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Is it possible to NOT link with libd.lib (I presume this is the C
runtime? And if you did not, would you then need to implement low
level stuff like how to what exactly?
I presume function has to be called main() because it is somehow
defined in C runtime ocde?
I realise this question is theoretical because there is little
practical point in not linking with the C runtime - but I am trying to
understand what is going on under the bonnet.
Angus