true Cross Compiling (Linux only)

Share your advanced PureBasic knowledge/code with the community.
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

true Cross Compiling (Linux only)

Post by Nik »

Ok we all know PB is cross platform but can't compile for example windows programs on Linux, however this is not entirely true (only for the Windows on Linux case), the thing is the PBCompiler as well as the Purebasic IDE run very nice within wine and so you can actually compile, run and test windows Programs with PB under linux without a slow emulator like QEMU. You can't compile from within the IDE though, but I don't know why exactly not I think it has something todo with the PATH variable as the IDE seems to find the compiler I suspect though that it might be the Linux Version.

Interesting site note: Since the GTK2 Version of the IDE doesn't run here the scintilla gadget of the Windows version is actually nicer than the original version...

(tested with 3.93 Demo but should work with 4.0 too)