Original bug ID: 1877 Reporter: administrator Status: resolved (set by @xavierleroy on 2012-08-02T07:37:59Z) Resolution: suspended Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
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
The text was updated successfully, but these errors were encountered:
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.
Original bug ID: 1877
Reporter: administrator
Status: resolved (set by @xavierleroy on 2012-08-02T07:37:59Z)
Resolution: suspended
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_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
The text was updated successfully, but these errors were encountered: