This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to avoid Max Command line size on Windows
- From: Noel Yap <noel dot yap at gmail dot com>
- To: David Lamy-Charrier <david dot lamy at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 17 Nov 2005 07:21:54 -0800
- Subject: Re: How to avoid Max Command line size on Windows
- References: <6541ed4c0511170604o392a44c0h159d9a21e4c98bb8@mail.gmail.com>
IIRC, there's a command to make one directory point to another. I
forget what that exact command is, though.
Noel
On 11/17/05, David Lamy-Charrier <david.lamy@gmail.com> wrote:
> 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 saw the CPATH environment variable that I may use to specify the
> include paths but it would not completely solve my problem (especially
> for the linking stage)...
>
> Did anyone of you already encounter (and solve ;-) ) this problem ?
>
>
> Thanks in advance,
> David
>