Page 1 of 1

compiling for linux and mac

Posted: Tue Apr 22, 2008 10:27 pm
by jcoggins
How do I get PB to compile programs for linux and mac computers? The .exe files it creates work great on windows but I cannot get them to work on linux or mac computers.

Jason

Posted: Tue Apr 22, 2008 10:30 pm
by tinman
You need to compile an executable for each OS by running PB on each OS.

Posted: Tue Apr 22, 2008 11:09 pm
by jcoggins
Does that mean that I have to physically install PB on each type of computer, manually move the code to each installation and build it three seperate times?

Isn't there some setting in the compiler that I can set that will tell it to compile for each of the different operating systems?

Jason

Posted: Tue Apr 22, 2008 11:16 pm
by aaron
Yes, you have to compile on the target system. Purebasic won't cross-compile.