This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH, Re: AIX 4.1 broken (was: Re: Branching for 2.12)
- From: Tom Rix <trix at redhat dot com>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, Daniel Jacobowitz <drow at mvista dot com>, binutils at sources dot redhat dot com
- Date: Sat, 02 Feb 2002 10:36:49 -0600
- Subject: Re: PATCH, Re: AIX 4.1 broken (was: Re: Branching for 2.12)
- References: <20020129020357.A26642@nevyn.them.org> <orofjchdr1.fsf@free.redhat.lsd.ic.unicamp.br> <20020129235732.A25881@nevyn.them.org> <or3d0oe2pz.fsf@free.redhat.lsd.ic.unicamp.br> <orlmef1kek.fsf_-_@free.redhat.lsd.ic.unicamp.br> <3C58F013.542758D8@redhat.com> <sivgdhzr42.fsf@daffy.airs.com>
Ian Lance Taylor wrote:
> Tom Rix <trix@redhat.com> writes:
>
> > + *)
> > + targ_cflags=-DSMALL_ARCHIVE;;
>
> Pretty much all uses of targ_cflags are actually host/target
> confusion, and this one is no exception. The choice of target should
> not set host compilation flags. If you want to create one type of
> archive on AIX 4.1 and a different type of archive on AIX 4.3, then
> you should have different target vectors.
>
In principle, I agree with you. But creating a new vector should be
done correctly. It should be tested on an AIX 4.1 box. If someone is
willing to give me a 4.1 box, I will do the work.
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com