This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __main undefined symbol


Doug:


> In the embedded environment we usually do have control - however, GCC often does just
> follows what the hosted platforms do/did when there is no  compelling reason (at the
> time of the port) to do something different.

Actually, there is a compelling reason to continue doing things the way they are---
given Linux's rapid uptake by the embedded world, it's only a matter of time before a
strictly embedded target (i.e. sh) becomes a linux-hosted target.  Having to go back
and add a call to _main() in GCC would only slow things down, and create additional
work.

b.g.

--
William A. Gatliff
Senior Design Engineer
Komatsu Mining Systems
To teach is to learn.




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]