Re: mingw -> linux cross compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Sheryl Canter" <sheryl@xxxxxxxxxxxxxxxx> writes:

> I'm looking at Knoppix, which apparently a flavor of Debian Linux. It
> includes development tools. Would a program I compiled on Debian Linux work
> on Redhat Linux? Both are running on Intel Pentium machines.

In general, yes, programs are portable across Linux variants.  It is
possible to construct programs which are not portable.  But ordinary
programs are.

The main thing to check is the version of glibc.  If the version of
glibc on the Red Hat system is the same or newer than the version on
your Debian system, you should be fine.  Even if the version of glibc
on the Red Hat system is older, you are probably fine, but there is a
greater chance of a problem such as the program refusing to run
because of a version mismatch.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux