Im a little bit confused here. Isn't the cross-platform-ability depends on the compiler (eg: gcc, borland) ?
Here is the deal, I have an openGL assignment that may run only on Windows or linux. If I am able to compile(build) and run my openGL program on my xcode, can I run it on linux too? (without any no more effort than copy and paste, like in java) Thank you --- On Thu, 8/7/08, John Gaughan <[EMAIL PROTECTED]> wrote: From: John Gaughan <[EMAIL PROTECTED]> Subject: Re: [c-prog] Cross platform c++ programming To: [email protected] Date: Thursday, August 7, 2008, 8:06 PM Jos Timanta Tarigan wrote: > im curious can i build my c++ code in os x and make it work on win/linux? Is > it that cross-platform? im planning to do some openGL stuff but my current > work platform is os x (IDE xcode) but the requirement is either in win or > linux but not os x :( > You need to rely on third-party libraries that are cross-platform. OpenGL is one, and there are numerous toolkits out there that handle other tasks such as interfaces. Qt, GTK+, wxWidgets/DialogBlo cks, et. al. -- John Gaughan [Non-text portions of this message have been removed]
