Ticket #200 (closed defect: fixed)
VC++ yasm.rules: extra set of quotes around -o argument
| Reported by: | victimofleisure@… | Owned by: | |
|---|---|---|---|
| Priority: | P1 | Milestone: | |
| Component: | Core | Version: | 0.8.0 |
| Severity: | normal | Keywords: | rules quotes |
| Cc: |
Description
In .NET 2005, If the output file's path includes at least one space, the YASM output rule
"$(IntDir)\$(InputName).obj"
causes the following error:
warning: can open only one input file, only the last file will be processed
The error is fatal, because the assembler attempts to create the output file in the wrong location, e.g. if the path was
x64\Static Release\foo.obj
the assembler attempts to create
x64\Static
and ignores the remainder of the path. Examining the actual command line reveals that the path winds up with two sets of quotes:
""x64\Static Release\foo.obj""
Removing the quotes from the output rule, so that it is simply
$(IntDir)\$(InputName).obj
eliminates the extra quotes and makes the problem go away. I hope this is helpful. YASM is awesome!
Best regards,
Chris
Version Info: Windows XP Pro SP2 Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 SP2 Microsoft Visual C++ 2005 77626-009-0000007-41250
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
