[fpc-devel] Questions regarding m68k-atari target

Sven Barth pascaldragon at googlemail.com
Mon Feb 7 14:09:00 CET 2022

Thorsten Otto via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am
Mo., 7. Feb. 2022, 13:00:

> In the long term, it would be nice to have some automatic selection of the
> correct libraries. Otherwise it will not be possible to produce 68k
> binaries with a compiler that was compiled for 68020, since that will still
> pull in 68020 code from the libraries.
A FPC compiled for 68020 can generate 68000 code just fine and the other
way round (assuming of course that it was compiled without bugs ;) ). It's
just that you need to provide it with the correctly compiled units. You can
supply those in the fpc.cfg and with $fpcsubarch you can get the name of
the currently selected processor to use in a path name (the MS-DOS target
makes use of this for example).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220207/4e2c64e4/attachment.htm>

More information about the fpc-devel mailing list