[fpc-devel] Questions regarding m68k-atari target

Thorsten Otto admin at tho-otto.de
Mon Feb 7 12:59:40 CET 2022

On Montag, 7. Februar 2022 10:31:01 CET Thorsten Otto via fpc-devel wrote:
> because the default has changed only recently.

That reminds me of another problem: if i'm not wrong, the compiler does not 
use different sets of libraries depending on whether your are compiling for 
68020 or not. That means, if you use -Cp68020, your code will be compiled for 
68020, but will link to the system libraries that were compiled for 68000.

So in the short term, would it be possible to provide two (or maybe three, one 
with FPU) different snapshot builds, like is done for the amiga?

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220207/45017408/attachment.htm>

More information about the fpc-devel mailing list