[fpc-pascal] make smart doesn't work for cross build

leledumbo leledumbo_cool at yahoo.co.id
Tue Aug 24 08:09:50 CEST 2010


Oh, is that so? What about defining CREATE_SMART and LINK_SMART?


Jonas Maebe-2 wrote:
> 
> 
> On 21 Aug 2010, at 08:59, leledumbo wrote:
> 
>> I want to build a smartlinked (stripped and optimized as well) version of
>> fpc
>> for win64 from win32, so I call:
>> make all smart STRIP=1 OPTIMIZE=1 OS_TARGET=win64 CPU_TARGET=x86_64
>> 
>> but this ends in failing to call ppcx64. Hey, shouldn't it call
>> ppcrossx64?
> 
> I don't think that calling "make smart" in the top level directory is
> supported at all. "make all" will automatically build all units in a
> smartlinkable way on platforms where this is supported. Smartlinking the
> compiler and the utilities is never done (which saved at least saved one
> FPC release until now from being partially broken due to bugs in the
> smartlinking support).
> 
> 
> Jonas_______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 
> 

-- 
View this message in context: http://old.nabble.com/make-smart-doesn%27t-work-for-cross-build-tp29497353p29518959.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.




More information about the fpc-pascal mailing list