| View previous topic :: View next topic |
| Author |
Message |
lduchesne
Joined: 13 Jul 2012 Posts: 1
|
Posted: Tue Dec 18, 2012 9:21 am Post subject: GCC compatible symbols |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Tue Dec 18, 2012 10:30 am Post subject: |
|
|
Hi Laurent,
GNU C++ comparability will be a 13.x feature. Some other documentation got put in a bit early.
- Mat |
|
| Back to top |
|
 |
|