gcc 2.95.2 for qnx 4.24

hello,

I have gcc 2.8.1 working on my qnx v.4.24. I tried to compile gcc 2.95.2
(source on
http://quics.qnx.com/cgi-bin/print_des.cgi?/usr/free/tmp2/development/gnu/gc
c-2.95.2-qnx.tgz) using gcc 2.8.1 and I have a problem:

There is a lot of places in {…path to gcc source…}/gcc/Makefile where is
attached cposix library (-lcposix) - after this I have a info that it is
impossible to find this library. It’s not ok, but it is a warning and
compilation process go on. What’s more I tried to find this file on my disk
and it’s look like there is no such file.

The second problem is:

collect2.c: In function my_strsignal': collect2.c:356: NSIG’ undeclared (first use in this function)
collect2.c:356: (Each undeclared identifier is reported only once
collect2.c:356: for each function it appears in.)
collect2.c:364: `sys_siglist’ undeclared (first use in this function)
make[2]: *** [collect2.o] Error 1
make[1]: *** [bootstrap] Error 2
make: *** [bootstrap] Error 2

I again tried to find any declaration of ‘NSIG’ in every files on my disk
and I didn’t find anything - only references to this variable.

If anyone can help me I will be very greatfull

best regards
adam lukawski

ps. I tried to compile any corba’s implementation (ex. ORBIXe) on my QNX
4.24 and it looks like I must have a gcc v. 2.95.2 first. Of course I don’t
know if when I had gcc 2.95.2 compiler I would be able to compile any ORB,
so if You have any information of porting CORBA’s implementation to qnx 4.24
please let me know

Thanks fro Your help
adam