[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ftbench update: make integrated
From: |
Werner LEMBERG |
Subject: |
Re: ftbench update: make integrated |
Date: |
Thu, 15 Jun 2023 04:22:42 +0000 (UTC) |
>> - Don't call `gcc` directly! You should rather use `$(CC)` (or
>> probably `$(CCexe)`, I'm not sure right now).
>
> In my understanding, $(CC) can be a cross compiler (e.g. building
> Win32 binary on Linux platform), but $(CCexe) is a native compiler
> to build "apinames".
>
> The compiler to build libfreetype is $(CC), thus, using $(CC) would
> be safer option (in above example, using $(CCexe) may try to build
> Linux binary executable from Win32 binary library).
Yep. However, the question is whether it makes sense at all to make
the `baseline` target (and friends) work for cross compilation...
Werner