[GRASS-dev] current grass 6.3.cvs cross compilation

Glynn Clements glynn at gclements.plus.com
Tue Dec 5 18:53:22 EST 2006


Paul Kelly wrote:

> > SC_CONFIG_CFLAGS uses "uname" to determine the platform, which returns
> > the build platform, not the host platform.
> >
> > It should be using either $host or the components $host_cpu,
> > $host_vendor, and $host_os.
> 
> Will investigate using $host_os if I get a chance. There should be some 
> documentation on the internet I would hope? Quite a few people have 
> contributed sets of compiler flags for their platform (and I've added a 
> good few myself too) since we took that SC_CONFIG* stuff out of Tcl, and I 
> wouldn't want to scrap all the useful information in there.

We can keep the variable settings, if we can match up the platform
names between autoconf and uname. You can get some information by
analysing config.guess, but I doubt that there will be a 1:1
correspondence.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list