[Scons-users] windows linker command line is too long
Bill Deegan
bill at baddogconsulting.com
Fri Jul 25 14:31:50 EDT 2014
Are you using cygwin python, or python on windows?
-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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140725/e1b07912/attachment.html>
More information about the Scons-users
mailing list