develooper Front page | perl.perl5.porters | Postings from June 2001

Re: AIX / gcc-3.0

Thread Previous | Thread Next
From:
Jens-Uwe Mager
Date:
June 29, 2001 08:05
Subject:
Re: AIX / gcc-3.0
Message ID:
20010629170528.A30336@ans.helios.de
On Fri, Jun 29, 2001 at 04:57:12PM +0200, H.Merijn Brand wrote:
> Would this do?
> 
> --- hints/aix.sh    Thu Jun 28 21:52:31 2001
> +++ hints/aix.sh    Fri Jun 29 16:11:59 2001
> @@ -462,7 +470,7 @@
>  if test $usenativedlopen = 'true'
>  then
>          ccflags="$ccflags -DUSE_NATIVE_DLOPEN"
> -	ldflags="$ldflags -brtl"
> +	ldflags="$ldflags -Wl,-brtl"
>  else
>      # If the C++ libraries, libC and libC_r, are available we will prefer them
>      # over the vanilla libc, because the libC contain loadAndInit() and
> 

Well, not exactly as this should be done only if the compiler is gcc as
the IBM compilers do not understand what -Wl,... means.

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:		+49 5131 709320
FAX:		+49 5131 709325
Internet:	jum@helios.de

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About