This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in gnatmake
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Nicolas BRUNOT <n dot brunot at cadwin dot com>
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Thu, 13 Dec 2001 21:13:51 +0100
- Subject: Re: Bug in gnatmake
- References: <84D96459484FB546AC2624D433B6FF70E3C0@dmz3.domaine1.cadwin.com>
Nicolas BRUNOT <n.brunot@cadwin.com> writes:
> It seems there is a bug in gnatmake when the link argument is too long
> This can be checked on Linux Redhat 7.0, Windows cygwin and Windows mingw32
> with the following command
>
> gnatmake whatever.adb -largs -L/usr/X11R6/lib -lX11 -lX11 -lX11 -lX11 -lX11
> -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11
> -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11 -lX11
>
> that comes probably from the Linker_Switches declared in
> gcc/gcc/ada/make.ads
This is PR 4851. A fix has been submitted to gcc-patches, see:
http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00707.html .