Subject: | |
From: | |
Reply To: | |
Date: | Mon, 21 Aug 2000 13:16:26 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Wonder if anyone's run into this problem with gcc. I'm running EGCS 2.91.57
from Jazz, on 6.0pp2. I have C/iX installed on this system as well.
The first problem is that
/usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57/include/signal.h includes
<sys/signal.h>. My system doesn't have one, signal.h is in /usr/include, not
usr/include/sys. I checked my other *NIX systems. On HP-UX 10.20,
/usr/include/signal.h includes /usr/include/sys/signal.h. On Red Hat Linux 6.1,
/usr/include/sys/signal.h includes /usr/include/signal.h. On the 3000, making a
link from /usr/include/sys/signal.h to /usr/include/signal.h gets by the
problem.
The second problem is that
/usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57/include/signal.h defines
_SIGNAL_INCLUDED before including sys/signal.h. This causes the contents of
sys/signal.h to be skipped during the preprocessing phase. I fixed this by
commenting out the #define in the gcc file, since the HP include file defines it
once it's included.
This gets my compilations going, but it's pretty crude. Anyone else run
across this before? I reinstalled all the GNU files from Jazz, but the problems
still exist. I'm not writing any threaded code, so I didn't use the newer
version of the compiler. Perhaps it's fixed there?
Thanks, Bob Rose
|
|
|