From mboxrd@z Thu Jan 1 00:00:00 1970 From: holme@pos.megalink.net To: gnu@gnu.org Subject: GCC 2.95 and Solaris 2.7 (using GCC 2.72 built on solaris 2.5) problem Date: Fri, 18 Feb 2000 15:37:00 -0000 Message-id: <200002182337.SAA13379@mescaline.gnu.org> X-SW-Source: 2000-02/msg00067.html GCC guru: Last week I was having problems installing gcc2.95 on my solaris 2.7 release. After many hours of effort, I found out that the gcc.2.7.2 include files built using a previous relaease of Solaris (2.5) were the real problem. These include files did not contain new information that had been added and the mixture invoked by the build was incompatible. So, I renamed the include directory and made an empty one for the gcc compiler's override includes. Things were somewhat better - I got farther. Then I got the below error - after some more brain-storming, I found out that I was compiling as ANSI_PROTOTYPES which should be fine and I was including varargs.h not stdargs.h. However I am not baffled - I think I see `__builtin_va_alist' being defined, but am not sure. I have gone back and re-configured without the gcc include dir in place to no avail. I have gone back to 2.7.2 and tried to recompile. The results are the same. I have reviewed the install notes and errata - I see nothing alluding to my doing anything wrong. I do NOT have a cc compiler, only the gcc.2.7.2 I made with solaris 2.5 on a classic (this is an ultra sparc - 64 bit machine). So two questions: 1) Was I right to rename (and make a new empty) gcc include directory before installing? (if so, consider adding to the release notes) /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.2/include 2) Why am I having a problem with varargs.h? - I would assume that a Solaris 2.7 GCC 2.95 must have been built by someone by now. Thanking you in advance for your help. ray a holme (rah) From mboxrd@z Thu Jan 1 00:00:00 1970 From: holme@pos.megalink.net To: gnu@gnu.org Subject: GCC 2.95 and Solaris 2.7 (using GCC 2.72 built on solaris 2.5) problem Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <200002182337.SAA13379@mescaline.gnu.org> X-SW-Source: 2000-q1/msg00261.html Message-ID: <20000401000000.MGiNEdQFBXuK80n4u8gQoLzN9wOzjOfNWIwdbmRvb6M@z> GCC guru: Last week I was having problems installing gcc2.95 on my solaris 2.7 release. After many hours of effort, I found out that the gcc.2.7.2 include files built using a previous relaease of Solaris (2.5) were the real problem. These include files did not contain new information that had been added and the mixture invoked by the build was incompatible. So, I renamed the include directory and made an empty one for the gcc compiler's override includes. Things were somewhat better - I got farther. Then I got the below error - after some more brain-storming, I found out that I was compiling as ANSI_PROTOTYPES which should be fine and I was including varargs.h not stdargs.h. However I am not baffled - I think I see `__builtin_va_alist' being defined, but am not sure. I have gone back and re-configured without the gcc include dir in place to no avail. I have gone back to 2.7.2 and tried to recompile. The results are the same. I have reviewed the install notes and errata - I see nothing alluding to my doing anything wrong. I do NOT have a cc compiler, only the gcc.2.7.2 I made with solaris 2.5 on a classic (this is an ultra sparc - 64 bit machine). So two questions: 1) Was I right to rename (and make a new empty) gcc include directory before installing? (if so, consider adding to the release notes) /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.2/include 2) Why am I having a problem with varargs.h? - I would assume that a Solaris 2.7 GCC 2.95 must have been built by someone by now. Thanking you in advance for your help. ray a holme (rah)