Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001877OCaml~DO NOT USE (was: OCaml general)public2003-10-14 18:202012-08-02 09:37
Assigned To 
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: (


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:


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...


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
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.
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 =>
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker