This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bug in gnatmake
- From: Nicolas BRUNOT <n dot brunot at cadwin dot com>
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Thu, 13 Dec 2001 12:34:37 +0100
- Subject: Bug in gnatmake
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