[ncl-install] Specifying extra flags
Mary Haley
haley at ucar.edu
Tue Sep 22 13:24:33 MDT 2009
On Tue, 22 Sep 2009, Orion Poplawski wrote:
> What is the best way to pass in extra compile and link flags to the ncl
> make process? I had perhaps though EXTRA_CCOPTIONS, EXTRA_CLDFLAGS, but
> they seem to be overridden in some makefiles.
I would do this through the CcOptions line in your configuration
file in the irectory $NCARG/config directory.
For example, if you have a Linux system and you want to add "-ansi"
to the C options, edit the $NCARG/config/LINUX file and add or
change the line:
#define CcOptions -ansi
You will need to run "make Everything" again to make sure all your
Makefiles are regenerated.
--Mary
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA/CoRA Division FAX: 303-415-9702
> 3380 Mitchell Lane orion at cora.nwra.com
> Boulder, CO 80301 http://www.cora.nwra.com
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
More information about the ncl-install
mailing list