#200 (VC++ yasm.rules: extra set of quotes around -o argument) – The Yasm Modular Assembler Project
Modify

Ticket #200 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

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

comment:1 Changed 8 months ago by brg

  • Status changed from new to closed
  • Resolution set to fixed

(In [2270]) "Fix #200" - yasm.rules double quote issue

comment:2 Changed 8 months ago by brg

(In [2271]) Fix #200 - yasm.rules double quote issue

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.