flexdll icon indicating copy to clipboard operation
flexdll copied to clipboard

line in response file wrongly interpreted as option by MSVC linker

Open prahlada opened this issue 10 years ago • 1 comments

In win64 environment, a file to be linked may be of the form \server\path\to\obj

If the command line is too long, this is dumped into a response file, but the function build_diversion in reloc.ml, specifically converts file-paths to use "/" instead of "". As a result the above file is interpreted as an option to the "link" command then fails to link files.

There does not seem to be an easy workaround to this problem, as the option to use response file is not user-controllable

prahlada avatar Jun 06 '15 12:06 prahlada

Being slightly lazy before contriving an example myself, do you have a publically available example which shows this?

dra27 avatar Dec 17 '16 11:12 dra27