| Author |
Message |
|
|
Post subject: gcc-4.1.2
Posted: Aug 22, 2007 - 08:26 AM
|
|
New Member
Joined: Aug 15, 2007
Posts: 4
|
|
Hello,
Has anyone successfully compiled gcc-3.3.6, gcc-4.0.3, gcc-4.1.2 or gcc-4.2.1 on QNX?
I am using QNX 6.3.2+sp3 on an x86 and I am compiling them using gcc-3.3.5 which came with the Momentics kit. I compiled and installed newer versions of flex, bison,
The location that each fails is different. As far as 4.1.2 is concerned it seems to fail during the building of stage1. There seems to be a define for pid_t somewhere and it ends up overriding the typedef in stdlib.h. After seeing this I decided to call it a day.
My project requires the use of Lapack+Blas. I have installed fort77, f2c and libf2c and successfully compiled lapack-3.1.1 and atlas-3.6.0 but I am getting headaches due to blas related linking errors and would prefer to use g77 or gfortran instead.
Any information is welcome.
Best regards,
Hajime |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: gcc-4.1.2
Posted: Aug 22, 2007 - 01:39 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2783
|
|
|
|
|
 |
|
|
Post subject: RE: gcc-4.1.2
Posted: Aug 22, 2007 - 01:48 PM
|
|
New Member
Joined: Aug 15, 2007
Posts: 4
|
|
Hi,
Thanks for your reply.
There also seems to be a binary 4.2.0 which contains gfortran so I think I'll check that out too. I'd love to know how they did this. I'm downloading them now.
Cheers, |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: gcc-4.1.2
Posted: Sep 03, 2007 - 06:38 AM
|
|
New Member
Joined: Aug 15, 2007
Posts: 4
|
|
Some additional information.
I downloaded the gcc binary, gcc-4.1.3-x86-public-qnx6.3.tar.bz2
and found that messages_members.h was missing. This file should be in,
/usr/local/lib/gcc/i386-pc-nto-qnx6.3.0/4.1.3/include/c++/i386-pc-nto-qnx6.3.0/bits/messages_members.h
I tried with a messages_members.h from a partial compile of 4.1.2 and so far it seems okay. |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|