public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Difference between Windows and Linux GCC compiler
@ 2009-07-31  5:06 Rayne
  2009-07-31  5:27 ` Ben Elliston
  0 siblings, 1 reply; 2+ messages in thread
From: Rayne @ 2009-07-31  5:06 UTC (permalink / raw)
  To: gcc


Hi all,

I'm interested to know what is the difference in programming using MS Visual C++ on Windows and using the GCC compiler on Linux, i.e. what are some of the things I can do on Visual C++ that won't compile/run on Linux, and vice versa.

For example, I know that Windows uses the LLP64 model, while Linux uses the LP64 model, so the long data type is only 32-bit on Windows but 64-bit on Linux. Also, the windows.h file is only available in Windows, and can't be used on Linux. I've also read that there is also some differences in network programming, since winsock, and especially the underlying ip headers are much different in Windows than Unix/Linux gcc. Is this true?

Thank you. 


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Difference between Windows and Linux GCC compiler
  2009-07-31  5:06 Difference between Windows and Linux GCC compiler Rayne
@ 2009-07-31  5:27 ` Ben Elliston
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2009-07-31  5:27 UTC (permalink / raw)
  To: Rayne; +Cc: gcc

Hi.

> I'm interested to know what is the difference in programming using MS
> Visual C++ on Windows and using the GCC compiler on Linux, i.e. what
> are some of the things I can do on Visual C++ that won't compile/run
> on Linux, and vice versa.

This mailing list is for discussing GCC development, not questions about
using GCC or porting software to/from Linux.  Please try asking this
question on the gcc-help@gcc.gnu.org list instead.  Thanks,

Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-31  5:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31  5:06 Difference between Windows and Linux GCC compiler Rayne
2009-07-31  5:27 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).