----- Original Message ----- From: "David Lamy-Charrier" <david.lamy@xxxxxxxxx> To: <gcc-help@xxxxxxxxxxx> Sent: Friday, November 18, 2005 1:04 AM Subject: How to avoid Max Command line size on Windows > Hello, > > I am using GCC on Windows XP Professionnal which has a limit on > command line size at 8192 Bytes. > > Unfortunately, with a lot of include paths and defines on the compile > line and a lot of object files paths on the linker line, I reached > this 8 KB limit very easily. > > So, I am wondering if there is a way to pass all arguments to GCC in a file ?? > (I know that Microsoft cl.exe support this feature) > I get around this by putting the entire command in a file (cmd.txt), then running (in an MSYS shell): `cat cmd.txt` Google for MSYS if you don't already have that shell installed. Cheers, Rob