Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001877OCamlOCaml generalpublic2003-10-14 18:202012-08-02 09:37
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001877: difficulty around @responsefile with msvc
DescriptionFull_Name: Jun Furuse
Version: 3.07
OS: msvc
Submission from: lamarck.inria.fr (128.93.1.21)


Hi,

I found a difficulty of compilation with msvc, in the case that
a responsefile is required: i.e. the case the command line goes longer
than 256 chars. At this moment, for example,
the option -cclib "/link /libpath:blahblah" is stored
wrongly inside responsefile in two lines as follows:

  "/link"
  "/libpath:blahblah"

and the /libpath option is ignored by the compiler:

  Command line warning D4002 : ignoring unknown option '/libpath:blahblah'

The option /link /libpath:blahblah must be stored in one line like:

  "/link /libpath:blahblah"

For a quick workaround, I use -cclib "/link/libpath:blahblah"
at this moment...

--
Jun

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002999)
administrator (administrator)
2004-07-01 16:33

This one will be hard to fix. The argument to -cclib is split into words so as
to support the popular idiom -cclib "-lfoo -lbar", used e.g. for labltk
configuration. Should fix once Makefiles have been cleaned up.
(0007868)
xleroy (administrator)
2012-08-02 09:37

This issue has been open for way too long, and doesn't seem to affect anyone but the reporter, who found an excellent workaround. Suspending this PR.

- Issue History
Date Modified Username Field Change
2005-11-18 10:14 administrator New Issue
2012-07-11 17:38 doligez Target Version => 4.01.0+dev
2012-07-11 17:38 doligez Description Updated View Revisions
2012-07-31 13:37 doligez Target Version 4.01.0+dev => 4.00.1+dev
2012-08-02 09:37 xleroy Note Added: 0007868
2012-08-02 09:37 xleroy Status acknowledged => resolved
2012-08-02 09:37 xleroy Resolution open => suspended
2012-08-02 09:37 xleroy Target Version 4.00.1+dev =>


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker