Bug in gnatmake

Florian Weimer fw@deneb.enyo.de
Thu Dec 13 11:49:00 GMT 2001


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 .



More information about the Gcc mailing list