[fpc-devel] Questions regarding m68k-atari target

Sven Barth pascaldragon at googlemail.com
Tue Jan 25 11:07:35 CET 2022

Thorsten Otto via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am
Di., 25. Jan. 2022, 10:54:

> > the prefix $CPU-$OS is just the default prefix for every cross
> > compiling, if you need an other, you can supply it with e.g.
> > -XPm68k-atari-mint-
> Yes, found that already. But there is also at least one assembler file
> that is directly compiled from the Makefile (prt0.as), and that is also
> compiled by that $CPU-OS-as assembler (also when you otherwise use vasm).
> So i wonder a bit why that works on your build server. I also noted that,
> when using vasm/vlink, those are also executed using that prefix, so the
> actual assembler that is invoked is m68k-atari-vasmm68k_std.

For the makefiles you need to set BINUTILSPREFIX=m68k-atari-mint- then.
This will be used both for assembly files and passed on to the compiler
using -XP.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220125/316a2348/attachment.htm>

More information about the fpc-devel mailing list