You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "M.D.Schiller (sent by Nabble.com)" <li...@nabble.com> on 2005/08/04 12:34:47 UTC
Ant bcb cc linking: wrong command line option
Hi,
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?
Regards,
Marjan
--
Sent from the Ant - Users forum at Nabble.com:
http://www.nabble.com/Ant-bcb-cc-linking%3A-wrong-command-line-option-t198224.html#a553072