On 4/3/07, Robert Jennings <[EMAIL PROTECTED]> wrote: > Am I right in saying that C will work ion anything. All you have to do > is compile it on the target platform?
Well, "all you have to do" is a pretty sweeping phrase. C compiler gods have to work out how to write a compiler for each target platform. And code doesn't just cross-compile. 32-bit code not carefully coded won't compile on 64-bit targets (Linus did this for Linux on a DEC Alpha platform in 1994 or '95. MS says it's too hard to do for FoxPro). Code has to be pretty generic to "just work" if the target platform has significantly new features or worse, lacks a feature (like no floating point processor or memory-management-unit). So, porting code to a new platform usually involves more than changing a compiler switch. How much more depends on the code, the differences in the target platform, etc. -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.