Re: [HACKERS] PostgreSQL on Solaris/SPARC with gcc
Peter Eisentraut <e99re41@docs.uu.se>
From: Peter Eisentraut <e99re41@DoCS.UU.SE>
To: Horák Daniel <horak@sit.plzen-city.cz>
Cc: "'pgsql-hackers@postgreSQL.org'" <pgsql-hackers@postgresql.org>
Date: 2000-03-02T16:13:55Z
Lists: pgsql-hackers
On Wed, 1 Mar 2000, [iso-8859-2] Horák Daniel wrote: > it is caused by the fact that the symbol CurrentMemoryContext is not > exported from the main executable (postmaster). The solution is to use > "-export-dynamic" switch when linking postgres executable (it is used on > Linux). > > I think it will require a new system specific makefile. The > Makefile.solaris_sparc is done for solaric_sparc_cc template. More details > can be send. Couldn't we just test for gcc in general on any platform? For right now you might get away with doing a little ifeq($(CC),gcc) action in the solaris makefile, but that's bogus in the long run. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden