Hi, On Fri, 2005-09-23 at 12:24 -0700, Simon Su wrote: > Hello, > > I am running in to problem with compilation on SGI > Prism. Since I was told the gcc compiler 3.2.3 that > comes with the service pack 6 is brokem (tried to > compile but did not worked also), I am using intel > compiler 9.0 to compile. > > > When I make, I get error on the "asm statements not > supported in the environment" error (lots of them, > almost every compilation). I also attached the error > message (the first one) at the end of the email. > Basically what I think is, it is refering to the wrong > limit file which is /usr/include/c++/3.2.3/limits. > There is also a limit file at > /opt/intel/cc/9.0/include/c++/limits which should have > been reference instead of > /usr/include/c++/3.2.3/limits. How do you change to > configuration to do that? If I replace the directory > /usr/include/c++ with /opt/intel/cc/9.0/include/c++ it > will refer to the correct limits files which is the > same as /opt/intel/cc/9.0/include/c++/limits, but I > have others compilation problems, but I think the hack > should not be the permenant solution anyway. > > Any idea on how to correct this will be greatly > appreaciated.
I saw this with the intel 8.0 compiler after I installed some SGI update which included a gcc update. IIRC I retrieved the old limits file (plus some additional ones) from the previous archive and placed it somewhere to be found before the /usr/include version (Typically OpenSG/Build/<platform>/Base. This seemed to work pretty well. I haven't had to time to check later updates or newer compiler versions. I remember trying to force the compiler to take the /opt/intel/cc/<version>/include files first but this, as you also experienced, did not work well, but I don't recall the details. Let me check our machine on Monday what else besides limits I modified. OpenSG definitely should be runnable on a Prism as we use our 4 Pipe one quite regularly during the last couple of weeks. regards, gerrit ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
