Re: What to do to get new users
Martin Frb via fpc-pascal <[email protected]>
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
On 16/10/2024 18:06, Rainer Stratmann via fpc-pascal wrote: > Am Mittwoch, 16. Oktober 2024, 15:54:20 CEST schrieb Martin Frb via fpc- > pascal: >> Define "Compiler". >> >> You use one and the same fpc.exe. >> >> But you need a different ppc____.exe. All those ppc live in the same >> folder. And they are all called by the same fpc.exe, depending on the >> options given to that fpc.exe. >> >> Of course, for that they must be installed as cross compilers. So they >> also share the fpc.cfg. But the all have their own ppu and o files. > That means fpc.exe calls another (more specific) compiler? The irony in this question is that your appear to think too technical, too much caring about internal details... More of what an expert would think, than what a beginner would look for ... (And yet, this is about making it more beginner friendly...) If you want to cross compile, you shouldn't need to think about which compiler to use. Just what target (defined by OS and CPU) you need. (and in future FPC 3.4 or 4.0 maybe what sub-target (widestring vs ansistring)). Then you see "... Target" in the tree of options and it has - Target OS - Target CPU family And, yes well "Target Processor", which is not really cross compile, but optimization for a specific processor (removing backward compatibility for any older CPU of that type). That may lack a bit of clarity.... Of course, it will only work if you setup is correct. On Window there are installers for cross compiling between 64 and 32 bit Windows. If you install that into the same dir as your Lazarus then it will work out of the box. Sorry, no such think for Linux to other OS (not yet anyway) _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal