why can't one locate easily installable, pre-packaged "add-ons" (not correct term) for cross-compiling capabilities?

for example, one might install the win32 flavor of Laz/FPC and then simply install the win32 flavor of the "linux cross-compile add-on"... the "linux cross-compile add-on" would have everything necessary for cross-compiling to linux... no rebuilding this or rebuilding that... simply tell the compiler that the target is linux, hit the build or compile button and the compiler spits out the proper binary...

so, your development workstation is a *nix flavor? install the *nix flavor of Laz/FPC followed by the *nix flavor of the "Win32 cross-compile add-on" that has the win32 code and libs for cross-compiling to the win32 platform from linux... same for OS/2 or OSX or any of the other OS' that Laz/FPC can compile for... each base install flavor would have packaged "add-ons" in that flavor for the other platforms that can be cross-compiled for...

does that make sense?? i don't think that these "add-on" packages would really be all that large, either... they're mostly source code and a binary or three, right?

sure, there may need to be a way of denoting the project's compiled binary file name for each flavor so that they don't stomp on each other because their name is the same since it is derived from the project name...

ie: foo : linux
    foo.exe : DOS
    foop.exe : OS/2
    foog32.exe : DOS w/GO32 extender (pulled off top of my head)
    foow32.exe : windows 32bit
    foow64.exe : windows 64bit

i dunno... it just seems so difficult... much more difficult than it could be or should be... but i'm still here... reading and learning what i can and offering up my two centavos here and there...

ahhh... and here's something i haven't seen anyone mention... i have a few apps from long ago that are one binary that runs under several OS'... one executable that runs natively on OS/2 and on DOS... i believe that binary also runs natively on windows but i haven't tried it since i don't use windows for that particular task (old style Fidonet BBS for those who really want to know)... so, how would/could something like that be done? is it possible with Laz/FPC? is it necessary? would it be nice to distribute one binary no matter what platform it was going to be executed on?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to