Thanks for all the responses. I think you have given me the answer I am looking however, let me explain a bit deeper.
Many years ago (before Visual C, etc.), is was my understanding that code written for Microsoft C compilers was not guaranteed to run on Borland's C compilers (and vise versa).
This is the main issue. I am looking for one (for both) or two (one each Linux and MS) compiler(s) that are reasonably certain to respect the others source code.
> Joseph Gledhill wrote:
> If you are not stuck on C, perl or Java will do this.
Joseph, C is preferred where performance dictates C. Where performance does not dictate C, I am looking at Python. That subject is open for discussion.
> Bart Garst wrote:
> So, you can write 'portable' code, meaning it will compile and run on
> both Linux & windows, but you cannot compile on one and run on the
> other.
Bart, I have no problem with needing to compile on Linux for the Linux side while needing to compile on Windows for the Windows side. Thanks
> Chris Gehlker wrote:
> GCC is a cross compiler so you
> can specify the target Processor/OS combination and it doesn't have to
> be the same as the combination you are running on. On the other hand,
> there is simply no way (ignoring fat binaries which will take us far
> afield) that you can specify one binary for multiple targets.
Chris,
Thanks, I think this is just what I am needing.
> Now I have to ask, given that this is a Linux list, why can't you
> simply distribute the source?
I have no problems with distributing (sharing) the source. I doubt anyone but CGC would be interested.
> "Alex Earl" Wrote:
> There is mingw32 which will compile windows applications on Linux, its
> part of the gcc collection I believe, but you have to install it
> seperately.
Alex,
Thanks, I am looking in to this.
Thanks all. You got me going and that is what I needed.
George
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss