[GRASS-dev] compilation of grass on AIX 7.1

Glynn Clements glynn at gclements.plus.com
Sun Mar 17 15:08:52 PDT 2013


Markus Neteler wrote:

> > r39731 re-wrote it to use $host. Rather than trying to figure out the
> > correct $host value for each possible system (few of which were
> > available for testing), the sections for "unused" systems were
> > removed, with the intent that they would be added if and when someone
> > with access to such a system was able to report the correct $host
> > value and which compiler/linker switches actually worked on that
> > system.
> 
> ... your help would be needed to re-enable AIX support.

The main thing that's needed is someone with:

1. Knowledge of the correct $host string for that platform (this can
be obtained by running the config.guess script).

2. Knowledge of which compiler and linker switches are required to
build shared libraries on that platform.

3. Access to the platform, for testing.

Each new platform needs to define the following variables:

	LDFLAGS
	LD_SEARCH_FLAGS
	LD_LIBRARY_PATH_VAR
	
	SHLIB_CFLAGS
	SHLIB_LD
	SHLIB_LD_FLAGS
	SHLIB_SUFFIX
	
	STLIB_LD
	STLIB_SUFFIX

STLIB_LD and STLIB_SUFFIX have sensible defaults (building static
libraries tends to be the same on all systems). The others only really
matter for building shared libraries (LDFLAGS is also used for
building executables, but it can normally be empty).

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


More information about the grass-dev mailing list