AnsweredAssumed Answered

where did the dependancies come from?

Question asked by ksweet on Dec 8, 2010
Latest reply on Dec 9, 2010 by CraigG

When I create a brand new empty project, there are no dependancies (can see dependancies by right-clicking on the project in the IDE and selecting "Properties..." then clicking on the "Dependancies" tab).  Then I add one .asm file to the project and attempt to build.  It tells me the following linker error

 

=======================================================

 

Linking...

 

[Error li1021]  The following symbols referenced in processor 'p0' could not be resolved:
        'main [_main]' referenced from 'crtsf532y.doj'

 

=======================================================

 

 

Of course this is weird because why is it injecting the crt?  If I look back at the dependancies now, it lists 22 dependancies - object files, libraries, header files, an ldf, initsbsz532.doj...  I have not added an ldf or startup code.  I understand that it used a default ldf since I have not defined one.  but why the crt when there is no C in my application?  Can't I build a super simple .dxe like this?

Outcomes