<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bart via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Mi., 6. Mai 2020, 02:33:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Here's the first line of the Lazarus Makefile:<br>
-----------------------------------------<br>
#<br>
# Don't edit, this file is generated by FPCMake Version 2.0.0<br>
#<br>
default: all<br>
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2<br>
i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris<br>
i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom<br>
i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent<br>
i386-iphonesim i386-android i386-aros m68k-linux m68k-netbsd<br>
m68k-amiga m68k-atari m68k-palmos m68k-macos m68k-embedded<br>
powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos<br>
powerpc-darwin powerpc-morphos powerpc-embedded powerpc-wii<br>
powerpc-aix sparc-linux sparc-netbsd sparc-solaris sparc-embedded<br>
x86_64-linux x86_64-freebsd x86_64-netbsd x86_64-solaris<br>
x86_64-openbsd x86_64-darwin x86_64-win64 x86_64-embedded<br>
x86_64-iphonesim x86_64-aros x86_64-dragonfly arm-linux arm-netbsd<br>
arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded<br>
arm-symbian arm-android arm-aros powerpc64-linux powerpc64-darwin<br>
powerpc64-embedded powerpc64-aix avr-embedded armeb-linux<br>
armeb-embedded mips-linux mipsel-linux mipsel-embedded mipsel-android<br>
jvm-java jvm-android i8086-embedded i8086-msdos i8086-win16<br>
aarch64-linux aarch64-darwin wasm-wasm sparc64-linux<br>
------------------------------------------------<br>
<br>
As you can imagine that's way more targest than Lazarus actually supports.<br>
And the Makefile is cluttered with hundreds of unnecessary lines,<br>
which makes identifying an actual bug in the Lazarus build process<br>
(which might be in the Makefile) rather difficult.<br>
<br>
Is it possible to control this in the makefile.fpc file?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Not in the makefile.fpc, but fpcmake allows you to pass a list of supported targets (usually -Tall is used to allow all targets), but you'd need to pick each one. This does mean however that everyone that wants to try a target that's not supported has to generate the makefile (I don't know if Lazarus only has the one compared to FPC). </div><div dir="auto">For example officially Lazarus doesn't support powerpc-darwin anymore, but one could probably still use it there with some fixes (I should really test that...)</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>