Dave Korn wrote:
It's for
/usr/lib/gcc/i686-pc-cygwin/4.3.2/gnat1.exe,

While waiting for your answer, I did that, but it does not work. It still hangs:

[...]
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada...

Now that you confirmed that gnat1.exe, I retried, with same results. For completeness I have done this (as root):

$ cd /usr/lib/gcc/i686-pc-cygwin/4.3.2

$ ls -lrt /tmp/gnat.bsdiff
-rw-r--r-- 1 graziosi users 192 20 Sep 21:23 /tmp/gnat.bsdiff

$ ls -lrt gnat1.exe
-rwxr-xr-x 1 root root 10045440 12 Mar  2009 gnat1.exe

$ mv gnat1.exe gnat1.exe.orig

$ bspatch gnat1.exe.orig gnat1.exe /tmp/gnat.bsdiff

$ ls -lrt gnat1.exe*
-rwxr-xr-x 1 root root 10045440 12 Mar  2009 gnat1.exe.orig
-rw-r--r-- 1 root root 42546570 21 Sep 17:58 gnat1.exe

(*Note* the size!)

$ chmod +x gnat1.exe

$ ls -lrt gnat1.exe*
-rwxr-xr-x 1 root root 10045440 12 Mar  2009 gnat1.exe.orig
-rwxr-xr-x 1 root root 42546570 21 Sep 17:58 gnat1.exe

I have created also this simple test case:

$ cat conftest.adb
procedure conftest is begin null; end conftest;

$ gcc-4 -c conftest.adb

It hangs (50% CPU)

$ CTRL-C

Instead with gcc-3 it works:

$ gcc-3 -c conftest.adb

$ ls -lrt conftest.*
-rw-r--r-- 1 graziosi users  48 21 Sep 01:12 conftest.adb
-rw-r--r-- 1 graziosi users 293 21 Sep 18:11 conftest.ali
-rw-r--r-- 1 graziosi users 347 21 Sep 18:11 conftest.o


Cheers,
Angelo.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to