Embedded / RTOS

Moderators: None (Apply to moderate this forum)
Number of threads: 373
Number of posts: 682

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
cross compiler Posted by anamikavit007 on 13 Dec 2010 at 8:55 AM
hi,

what is the advantage of cross compiler over nativ compiler?
why do i need to cross compile any c binary even though i include the same header file
in an application.how does the size of cross compiled binary less than the native compiled binary?

regards
nadeem
Report
Re: cross compiler Posted by billaking on 13 Dec 2010 at 10:06 AM
Not sure if this would help. I've been doing some cross platform development for 3 platforms: Windows, Linux and MAC.

Linux sticks close to the ANSII C standards.

Microsoft, on the other hand, extends the standard ASCII libraries by adding their own set of libraries. This allows Microsoft to do the things it does for the Windows environment, such as drawing window forms, buttons, handling events and so forth. Because these libraries are not standard across all platforms, they will generate errors on the MAC and Linux platforms.

Not sure if this helps, but thought I'd tell you what I discovered.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.