
I've been wondering this for a while, but havn't a need till recently. Is it possible to compile a program written for mac or windows on a linux machine or do I actually need to do it on those machines? -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v7.0+ - Kernel 2.2.18 The trouble with doing something right the first time is that nobody appreciates how difficult it was.

There's nothing stupid about asking questions - how else would you learn? The answer is that it is -theoretically- possible, but I wouldn't recommend it. You would need to configure you compiler as a cross compiler, and you would still have to do the linking on the target machine. I don't actually know anyone who has done this, but that isn't to say it hasn't been done. We used to compile for HP-UX on Linux, but we were programming server code with no GUI, and of course it was two different flavours of Unix. If you are writing a program you want to run under both Windows and a Linux desktop, then it might be worth you having a look at Borland's Kylix, which has just come out, but with that you will need a copy of both Kylix (the Linux stuff) and delphi (the Borland stuff). The language is a Borland flavour of Pascal that has been made semi-object oriented. I understand that they will be bringing a C++ version of the product out later this year, whioch i plan to use. Hope this helps. Alan ----- Original Message ----- From: "S.Toms" <tomas@primenet.com> To: "SuSE Linux English" <suse-linux-e@suse.com> Sent: Sunday, March 18, 2001 6:22 AM Subject: [SLE] stupid programming question | I've been wondering this for a while, but havn't a need till recently. | Is it possible to compile a program written for mac or windows on a linux | machine or do I actually need to do it on those machines? | | -- | S.Toms - tomas@primenet.com - www.primenet.com/~tomas | SuSE Linux v7.0+ - Kernel 2.2.18 | | The trouble with doing something right the first time is that nobody | appreciates how difficult it was.

Or python , so far I like what I see. At 08:47 AM 3/18/2001 -0000, Alan Lenton wrote:
Also check the FAQ at http://www.suse.com/support/faq

On Sun, 18 Mar 2001, Alan Lenton wrote: al> If you are writing a program you want to run under both Windows and a Linux al> desktop, then it might be worth you having a look at Borland's Kylix, which has al> just come out, but with that you will need a copy of both Kylix (the Linux al> stuff) and delphi (the Borland stuff). The language is a Borland flavour of al> Pascal that al> has been made semi-object oriented. I understand that they will be bringing a al> C++ version of the product out later this year, whioch i plan to use. al> That's kinda what I had thought, but I was sure. I'll have to check out the Kylix and keep an eye out for the c++ one later this year. Thanks for the info. al> Hope this helps. al> al> Alan al> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v7.0+ - Kernel 2.2.18 "Right now I'm having amnesia and deja vu at the same time." -- Steven Wright

There's nothing stupid about asking questions - how else would you learn? The answer is that it is -theoretically- possible, but I wouldn't recommend it. You would need to configure you compiler as a cross compiler, and you would still have to do the linking on the target machine. I don't actually know anyone who has done this, but that isn't to say it hasn't been done. We used to compile for HP-UX on Linux, but we were programming server code with no GUI, and of course it was two different flavours of Unix. If you are writing a program you want to run under both Windows and a Linux desktop, then it might be worth you having a look at Borland's Kylix, which has just come out, but with that you will need a copy of both Kylix (the Linux stuff) and delphi (the Borland stuff). The language is a Borland flavour of Pascal that has been made semi-object oriented. I understand that they will be bringing a C++ version of the product out later this year, whioch i plan to use. Hope this helps. Alan ----- Original Message ----- From: "S.Toms" <tomas@primenet.com> To: "SuSE Linux English" <suse-linux-e@suse.com> Sent: Sunday, March 18, 2001 6:22 AM Subject: [SLE] stupid programming question | I've been wondering this for a while, but havn't a need till recently. | Is it possible to compile a program written for mac or windows on a linux | machine or do I actually need to do it on those machines? | | -- | S.Toms - tomas@primenet.com - www.primenet.com/~tomas | SuSE Linux v7.0+ - Kernel 2.2.18 | | The trouble with doing something right the first time is that nobody | appreciates how difficult it was.

Or python , so far I like what I see. At 08:47 AM 3/18/2001 -0000, Alan Lenton wrote:
Also check the FAQ at http://www.suse.com/support/faq

On Sun, 18 Mar 2001, Alan Lenton wrote: al> If you are writing a program you want to run under both Windows and a Linux al> desktop, then it might be worth you having a look at Borland's Kylix, which has al> just come out, but with that you will need a copy of both Kylix (the Linux al> stuff) and delphi (the Borland stuff). The language is a Borland flavour of al> Pascal that al> has been made semi-object oriented. I understand that they will be bringing a al> C++ version of the product out later this year, whioch i plan to use. al> That's kinda what I had thought, but I was sure. I'll have to check out the Kylix and keep an eye out for the c++ one later this year. Thanks for the info. al> Hope this helps. al> al> Alan al> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v7.0+ - Kernel 2.2.18 "Right now I'm having amnesia and deja vu at the same time." -- Steven Wright
participants (3)
-
Alan Lenton
-
S.Toms
-
Samy Elashmawy