[Scons-users] windows linker command line is too long
gabor papp
gabor.papp.lists at gmail.com
Sat Jul 26 11:33:53 EDT 2014
It might be a scons issue, that it cannot handle whitespace in tempfiles.
The workaround that seems to work for me is reinstalling MSVS to a
path without spaces, e.g. c:\microsoft_visual_studio_12.0\
On Fri, Jul 25, 2014 at 9:44 PM, gabor papp <gabor.papp.lists at gmail.com> wrote:
>> Are you using cygwin python, or python on windows?
> I'm using python and scons on windows. The cygwin ones don't work
> unfortunately, because msvc expects windows-like paths and cannot work
> with unix-like ones coming from cygwin.
>
> - Gabor
>
>>
>> -Bill
>>
>>
>> On Fri, Jul 25, 2014 at 11:20 AM, gabor papp <gabor.papp.lists at gmail.com>
>> wrote:
>>>
>>> I'm using scons 2.3.2 on Windows 7 with MSVC 2013 32-bit tools from
>>> Cygwin.
>>> I encountered an issue when the command line reaches a certain limit,
>>> and the build fails. If I move the project to a shorter path it
>>> builds.
>>>
>>> The output of scons is the following:
>>>
>>> Using tempfile c:\cygwin64\tmp\tmpgv7ron.lnk for command line:
>>> "C:\Program Files (x86)\Microsoft Visual Studio 12.0\\VC\bin\link.exe"
>>> /LTCG /NOLOGO /DYNAMICBASE:NO /SAFESEH /MACHINE:X86 /OPT:REF
>>> /INCREMENTAL:NO /SUBSYSTEM:WINDOWS /ERRORREPORT:PROMPT /TLBID:1
>>> /OUT:App.exe <many obj and lib filenames omitted>
>>> The filename, directory name, or volume label syntax is incorrect.
>>> scons: *** [App.exe] Error 1
>>> scons: building terminated because of errors.
>>>
>>> When I check c:\cygwin64\tmp\tmpgv7ron.lnk it only contains the path
>>> for the command above from "Files", missing "C:\Program "
>>>
>>> I found some very similar reports online, eg. this one:
>>> http://permalink.gmane.org/gmane.comp.programming.tools.scons.user/13302
>>> , but no solution.
>>>
>>> Any help would be greatly appreciated.
>>>
>>> -Gabor
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> http://four.pairlist.net/mailman/listinfo/scons-users
>>
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> http://four.pairlist.net/mailman/listinfo/scons-users
>>
More information about the Scons-users
mailing list