ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.D.Schiller (sent by" <>
Subject Ant bcb cc linking: wrong command line option
Date Thu, 04 Aug 2005 10:34:47 GMT

  i try to compile and link a projekt with the ant-cctask. I uses the Borland CBulider compiler.
The compile works but if its linking i got an error:

       [cc] ilink32 /ap -fo MyFile.exe ..\..\..\..\..\Development\Borland\CBuilde
r5\Lib\cw32.lib ..\..\..\..\..\Development\Borland\CBuilder5\Lib\ws2_32.lib ..\.
.\..\..\..\Development\Borland\CBuilder5\Lib\import32.lib ..\obj\Neuron.obj ..\o
bj\Network.obj ..\obj\TestApp.obj
       [cc] Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
       [cc] Fatal: Illegal option: foMyFile.exe

there is a parameter -fo set directly before the output filename. But i havent set this parameter
and i cant find in the cctask source code any position where this '-fo' is set. Also it is
not a bcb linker option. Someone knows where this '-fo' cames from?

Sent from the Ant - Users forum at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message