[fpc-devel] test suite, problem with missing libraries on the	target
    Bernd Mueller 
    mueller.b at gmx.net
       
    Mon May 30 13:22:47 CEST 2011
    
    
  
Pierre Free Pascal wrote:
> 
> 
>    Just add a LibExt constant to dotest.pp source
> with the same conditionals as for ExeExt, this should be enough.
const
   ObjExt='o';
   PPUExt='ppu';
{$ifdef UNIX}
   ExeExt='';
   LibExt='so';
{$else UNIX}
{$ifdef MACOS}
   ExeExt='';
   LibExt='so';
{$else MACOS}
   ExeExt='exe';
   LibExt='dll'; ???
{$endif MACOS}
{$endif UNIX}
but wouldn't that fail with crosscompiling? I am crosscompiling from a 
Windows host.
Regards, Bernd.
    
    
More information about the fpc-devel
mailing list