[QBS] MSVC Linker called incorrectly

Thomas Epting thomas.epting.stryker at gmail.com
Mon Aug 11 15:31:50 CEST 2014


Hi,

I'm using Qbs bundled with QtCreator 3.2, and after updating the 3.2 branch
this morning (#bb8744c), I cannot link anymore. The problem is that
"link.exe" isn't called for linking anymore, but "cl.exe". Of course it
would be possible to use cl.exe for this task, too, one has to prefix the
linker specific options with "/link". This is not done however.

For example, load the "Hello Qbs" example and try to build it. Linking
fails and many warnings are emitted, indicating the confusion cl.exe has
with linker specific options.

cl : Command line warning D9002 : ignoring unknown option '/OS'

cl : Command line warning D9002 : ignoring unknown option '/OV'

cl : Command line warning D9002 : ignoring unknown option '/OE'

cl : Command line warning D9002 : ignoring unknown option '/OR'

cl : Command line warning D9002 : ignoring unknown option '/OS'

cl : Command line warning D9002 : ignoring unknown option '/OI'

cl : Command line warning D9002 : ignoring unknown option '/OO'

cl : Command line warning D9002 : ignoring unknown option '/ON'

cl : Command line warning D9002 : ignoring unknown option '/O:'

cl : Command line warning D9002 : ignoring unknown option '/O5'

cl : Command line warning D9002 : ignoring unknown option '/O.'

cl : Command line warning D9002 : ignoring unknown option '/O0'

cl : Command line warning D9002 : ignoring unknown option '/O0'


Any idea what's going on?

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140811/a54d3b78/attachment.html>


More information about the Qbs mailing list