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.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to