www.digitalmars.com         C & C++   DMDScript  

c++.chat - Cross compilation for Linux? From Windows to BlueCat?

reply Paul M. <paul.morissette ga.com> writes:
I've used the DM compiler for some test sockets work.  It works
great from my Windows machine to the XPort network gadget.  But
the ultimate target is a BlueCat Linux machine.  I note in the
header files that "M_UNIX" is one of the settings.  Will this
cause the compiler to produce Linux executables?  (My command
window "hello world" program will not run on the Linux box.)  What
other flags might I need?  Is this possible at all?  Shouldn't
there be a "sockets.h" file?

Thanks, thanks, thanks.

Paul
Oct 24 2007
parent Walter Bright <newshound1 digitalmars.com> writes:
Paul M. wrote:
 I've used the DM compiler for some test sockets work.  It works
 great from my Windows machine to the XPort network gadget.  But
 the ultimate target is a BlueCat Linux machine.  I note in the
 header files that "M_UNIX" is one of the settings.  Will this
 cause the compiler to produce Linux executables?  (My command
 window "hello world" program will not run on the Linux box.)  What
 other flags might I need?  Is this possible at all?  Shouldn't
 there be a "sockets.h" file?
 
 Thanks, thanks, thanks.
 
 Paul
There once was a unix version a very long time ago, but no longer.
Nov 02 2007