stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Black <abl...@roguewave.com>
Subject Re: [PATCH] Library path fix
Date Wed, 29 Nov 2006 16:09:28 GMT
Greetings all.

After checking in this patch, I was performing a test build on AIX 5.2 
with GCC, and discovered that the version of ld available with this OS 
doesn't support the -bsrv4 and -R switches.  Attached is a patch that 
aims to resolve this issue, along with a related issue with vacpp on 
Linux (-bsrv4 is an AIX specific switch).

--Andrew Black

Changelog:
	* gcc.config [AIX] (OS_MAJOR, OS_MINOR): Retrieve and store OS major 
and minor version.
	[AIX] (SHARED_CPPFLAGS): Only set if OS is 5.3 or newer (Earlier 
versions of ld don't support -bsrv4, -R switches).
	* vacpp.config [AIX] (OS_MAJOR, OS_MINOR): Retrieve and store OS major 
and minor version.
	[AIX] (SHARED_CPPFLAGS): Only set if OS is 5.3 or newer (Earlier 
versions of ld don't support -bsrv4, -R switches).
	[!AIX] (SHARED_CPPFLAGS): Use -R switch (assuming Linux ld).

Mime
View raw message