[GRASSLIST:9679] Re: Compilation of own modules with different compilers

Markus Neteler neteler at itc.it
Fri Dec 30 09:51:35 EST 2005


On Fri, Dec 30, 2005 at 06:36:06AM -0800, Muzaffer Ayvaz wrote:
> Hi all;
> 
> I write a new module for grass. And I want to compile
> this with different compiler. Not with gcc. How can I
> write makefile for this purpose.

By setting environment variables, the compiler
names can be defined (C and C++):

        CC=cc CPP=cpp ./configure ...

The rest hopefully works. 

Markus




More information about the grass-user mailing list