Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
1.16.0, 1.17.0
-
None
-
Any GCC or MinGW toolchian
Description
If try to build the application, contains from the one assembler-source main.s file, then compilation fails. The reason is that the invoked linker path becomes empty by unknown reason:
import qbs CppApplication { Properties { condition: false cpp.linkerPath: "foo" } files: "main.s" }
The returning error the following:
14:16:00: Running steps for project prop-bug... assembling main.s [prop-bug] linking prop-bug.exe [prop-bug] The process '' could not be started: No program defined. The full command line invocation was: "" -m i386pe -o C:/Users/denis/Documents/build-prop-bug-GCC_X86-Debug/Debug_GCC_X86_8e6483163687ab3d/prop-bug.f0bf608e/prop-bug.exe C:/Users/denis/Documents/build-prop-bug-GCC_X86-Debug/Debug_GCC_X86_8e6483163687ab3d/prop-bug.f0bf608e/3a52ce780950d4d9/main.s.o The following products could not be built for configuration Debug_GCC_X86_8e6483163687ab3d: prop-bug
Note: This does not reproduces if to replace the main.s file with the C-source main.c file.