Sven Barth wrote:
You're telling him that it's possible to build using
...CPU_TARGET=i386 OS_TARGET=linux but where do those come from?
Without being told by a developer or without referring to fully
updated documentation, how does somebody know to use "i386" rather
than "x86", or whether it should be "mips" or "mipseb"?
He/she doesn't know. Simple as that. If you want to build for a
different target than your host one you should inform yourself anyway,
because there are only very few combinations (i386-win32 ->
x86_64-win64, i386-* -> i386-nativent, x86_64-linux -> i386-linux on
multilib systems) which work out of the box. For everything else you
need binutils, sometimes libraries, etc.
I can see that there's a MAKEFILETARGETS list in the makefile, which
obviously goes slightly further than I'm asking in that it shows the
valid combinations (i.e. somebody trying to build for powerpc + os2 is
severely out of luck). But something like a "targets" target would be
useful.
Well... open a feature request...
http://bugs.freepascal.org/view.php?id=24789
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel