[GENERAL] Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS to compile Postgresand PostGIS? - Mailing list pgsql-general

From postgres user
Subject [GENERAL] Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS to compile Postgresand PostGIS?
Date
Msg-id CAE48+sKzsa1Dj5Hf6a6PWWNXVR-ZKLpGFoAwK59ofpfvWj27uw@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS tocompile Postgres and PostGIS?  (John R Pierce <pierce@hogranch.com>)
Re: [GENERAL] Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS to compile Postgres and PostGIS?  (Tom Lane <tgl@sss.pgh.pa.us>)
[GENERAL] Re: Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS to compilePostgres and PostGIS?  (postgres user <postgresuser1989@gmail.com>)
List pgsql-general
Hi,

I am wondering about this question for a while with no definite answer to it, can someone explain me in detail to clear me out on the following question :

What can go wrong or is it acceptable if I build Postgres from source with let's say GCC 4.x.y and some specific CFLAGS, CPPFLAGS and CCFLAGS and when I try to install an extension for Postgres such as PostGIS using a different version of GCC lets say GCC 4.x.z with varying CFLAGS, CCFLAGS and CPPFLAGS and if I follow the same process for other non-contrib extensions? I want to know the theory behind this and it would serve me a great help to understand the systems aspect of the process as well.

Thanks

pgsql-general by date:

Previous
From: Steve Atkins
Date:
Subject: Re: [GENERAL] Testing an extension exhaustively?
Next
From: John R Pierce
Date:
Subject: Re: [GENERAL] Using different GCC, CFLAGS, CCFLAGS and CPPFLAGS tocompile Postgres and PostGIS?