[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [photran] : Portland Group compilers
|
Hi Kevin,
Would you know how to edit the tool chain to add another fortran
compiler?
I need to use PGF90 as NCAR uses this companies compilers through out
the WRF system!
You have a couple of options.
If you have (or can write) your own Makefile, that is probably the best
option. See Section 3.2 (Starting a Project with a Hand-Written
Makefile) in the Photran User's Guide.
If you want to use the auto-generated Makefile, it will be a little
trickier. You should start a project configured for gfortran and then
modify the project properties to point use pgf90 for the compiler and
linker instead. In this case, you can modify the executables and
command line arguments for the compiler, linker, etc. by right-clicking
on the project in the Fortran Projects view, choosing the Fortran Build
category, and working through the various settings there. There's
documentation for that here (since it's identical to the C/C++ Build
settings):
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.cdt.doc.user/reference/cdt_u_prop_build_settings_tool.htm
Jeff