fredvs / polYdev

polYdev is a operation system based on freeBSD. MultiArch and focused for the developers.
Other
5 stars 3 forks source link

Updated support? #1

Open JonnyTech opened 7 years ago

JonnyTech commented 7 years ago

@fredvs Hello Fred, I am going to find some time soon to try polYdev, but just wanted to ask:

The readme gives very little information. Thanks.

fredvs commented 7 years ago

Hello Jonny.

. Can it compile native Windows 64 bit executables? Yes. But you may need to install fpc for Windows 64. (I did not find a 64 bit release of fpc 3.0.2)

. Can it compile native MacOS (Mach-O) bundles? No. (FreeBSD is very far from MacOS now and no more compatible, it is sad).

. Does it contain the latest FPC and FPCgui? Huh, latest no, but fpc 3.0.2 for Windows 32, Linux 64/32, FreeBSD 64/32. It is shipped with fpgui 1.4 maint.

Of course you may update this easily.

. Is there a tutorial for cross-compiling? If you use ideU (included in polYdev release), you only need to choose a compiler. Everything is already configured in the release, it (must) work out of the box.

In fact, ideU does not do "cross-compiling" but uses the native compilers of each os and run it via wine for Windows, the Linuxlator for Linux and multi-arch for 64/32 bit FreeBSD. (See the video, end of page in FreeBSD forum: https://forums.freebsd.org/threads/53085/#post-329690).

So the result is a real-true native executable that you can test live, no virtual box needed. ;-)

Fre;D

JonnyTech commented 7 years ago

Thanks for your quick reply.

Yes. But you may need to install fpc for Windows 64. (I did not find a 64 bit release of fpc 3.0.2)

I see from the download page:

There is no native compiler available for x86_64 Win64. You have to use a cross-compiler.

So I shall try that - if I can find the instructions...

No. (FreeBSD is very far from MacOS now and no more compatible, it is sad).

Do you know of any other way to (cross) compile for MacOS / Darwin64?

Your video makes it look easy - nice work!

fredvs commented 7 years ago

So I shall try that - if I can find the instructions...

Or you may compile by yourself a Win64 version. It is what I did for my main Linux system. I use wine + native fpc-win32 and fpc-win64 to produce all the Windows releases of my softwares. With a unique ideU and the same code for everybody!

Do you know of any other way to (cross) compile for MacOS / Darwin64?

Huh, I did lot of explorations to (cross) compile for MacOS. But I gave up. I respect the philosophy of Mac (even if I do not agree): no strangers in our place.

Your video makes it look easy - nice work!

Thanks ;-)