http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

TheGrumpyProgrammer



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

RE: Cross-compiling



There is a thing called cygwin that (I believe) allows you to compile gnu
code for Unix into win32 binaries.  That could help. the url is:
http://sourceware.cygnus.com/cygwin/   so go and check it out to see if that
is what you need.

Also, it will be quite difficult for you to port any assembly code written
for different cpus...  So if you're planning to write software that will
compile on a DEC running some Unix environment (or windows NT even) and an
Intel x86 based computer or some other combination, don't plan on using
assembly unless you're willing to rewrite it for each architecture.

Paul Robson

> -----Original Message-----
> From: gameprogrammer-owner@gameprogrammer.com
> [mailto:gameprogrammer-owner@gameprogrammer.com]On Behalf Of Josiah
> Avery
> Sent: Monday, June 19, 2000 9:37
> To: gameprogrammer@gameprogrammer.com
> Subject: Re: Cross-compiling
>
>
>
>
> >Thanks a lot to both of you, this code might come in handy. But what I
> >would like to do is compile code on a Unix machine and be able to run it
> >on a Windows machine, i.e. cross-compile it to the Windows platform. I
> >would like to use both C and Asm, if possible. Any further ideas?
> >
> >Ciao,
> >
> >Lionel
> >
> >P.s. Is there any use these days for COBOL, I just found my old COBOL
> >compiler?
> >
> >On Mon, 19 Jun 2000, Josiah Avery wrote:
>
> *** ok I see,
>
>     While the C source itself is realtively portable, the
> executable image
> produced on one platform is by no mean gaurunteed ( nor is it
> even expected
> ) to run under another. Many factors such as forgien file systems, os
> dependant hardware/memory restrictions, etc are the cause for
> this. The only
> solution I can think of is writing code with an OS independant
> language ( ie
> java ), else good luck.
>
>     Josiah
>
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> =================================================================
> The GameProgrammer.Com mailing list is for the open discussion
> of any topic related to the art, science, and business of
> programming games. This list is especially tolerant of beginners.
> We were all beginners once
>
> To SUBSCRIBE or UNSUBSCRIBE please visit:
> http://gameprogrammer.com/mailinglist.html
>

=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html