wangyu5 / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Work around very long command lines if possible #256

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In http://code.google.com/p/chromium/issues/detail?id=117512, the gyp generated 
makefile contained commands that were over 130K, thus causing exec() to fail. 
In that particular case, the problem was with the ar command.

"man ar" says one can pass in cmdline options via @file. I wonder if that'll 
get around the the cmdline limit.

Original issue reported on code.google.com by thestig@chromium.org on 9 Mar 2012 at 8:18

GoogleCodeExporter commented 9 years ago
Alternatively, we could do the fake thin archives hack ( 
http://codereview.chromium.org/9338007/ / 
http://codereview.chromium.org/9223037/ ), which works around this too (among 
other effects).

Original comment by thakis@chromium.org on 9 Mar 2012 at 8:23