PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

GCC compatible symbols

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
lduchesne



Joined: 13 Jul 2012
Posts: 1

PostPosted: Tue Dec 18, 2012 9:21 am    Post subject: GCC compatible symbols Reply with quote

Hi,

I just installed version 12.10 of the Mac OS X PGI C/C++ compiler and I am trying to use the --gcc compiler option documented here :

$ man -w pgcpp
/opt/pgi/osx86-64/12.10/man/man1/pgcpp.1

--gcc Generate GNU-compatible C++ code and link with the GNU libraries.

However, I get the following error when trying to use it :

Code:
pgcpp-Error-Unknown switch: --gcc


The entire command line used:

Code:
/opt/pgi/osx86-64/12.10/bin/pgcpp -O0 -g --gcc -Mprof=func \
-DRANDOM_=$RANDOM$RANDOM -g -O0 \
-I/Users/laurent/src/squack/squack -I/Users/laurent/software/misc-libs/gsl/1.15_gcc47/include \
-I/Users/laurent/src/squack/. -o CMakeFiles/SQUACK.dir/matrix/eigensystem.cpp.o \
-c /Users/laurent/src/squack/squack/matrix/eigensystem.cpp


Is this option still valid? If not, is there a workaround?

Regards,
Laurent
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6215
Location: The Portland Group Inc.

PostPosted: Tue Dec 18, 2012 10:30 am    Post subject: Reply with quote

Hi Laurent,

GNU C++ comparability will be a 13.x feature. Some other documentation got put in a bit early.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group