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

Re: AIX / gcc-3.0

Thread Previous | Thread Next
From:
H . Merijn Brand
Date:
June 29, 2001 08:01
Subject:
Re: AIX / gcc-3.0
Message ID:
20010629165343.9DC3.H.M.BRAND@hccnet.nl
On Fri 29 Jun 2001 16:40, Jens-Uwe Mager <jum@helios.de> wrote:
> On Fri, Jun 29, 2001 at 03:54:42PM +0200, H.Merijn Brand wrote:
> > On Fri 29 Jun 2001 15:46, Jens-Uwe Mager <jum@helios.de> wrote:
> > > On Fri, Jun 29, 2001 at 03:01:07PM +0200, H.Merijn Brand wrote:
> > > > > > There should be more research done, because gcc-3.0 for AIX does **NOT**
> > > > > > support the -brtl flag! So none of the gcc-3.0 configurations would succeed
> > > > > > anyway (probably also not in 4.3.3, but since I don't have that yet, I can't
> > > > > > tell for sure.
> > > 
> > > Oh, I think for gcc this should be -Wl,-brtl instead of -brtl alone. This
> > > is a linker flag and not a compiler flag but unfortunately the gcc
> > > compiler driver does not know it.
> > 
> > Chage the hints then ;-)
> 
> I have nowhere on my machines any gcc, and I do not intend to use it.

Neither do I, but I just can't resist the temptation. I wouldn't even /think/
about installing a gcc-built perl anywhere ...

> Compiling software with the IBM C compiler produces much faster objects.
> I thus would be ill advised to do such a patch if I cannot even test it.

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

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 626 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/


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