This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] remove unused pic cruft from toplevel configure.in


On Fri, Apr 19, 2002 at 04:40:23PM -0400, DJ Delorie wrote:
> 
> > * PICFLAGS and PICFLAGS_FOR_TARGET are not used in the top level Makefile,
> > and are not passed down to any submakes or subconfigures.
> > * The only current use of these fragments appears to be by libiberty
> > * libiberty doesn't use the mt-* fragments
> > * This has all been true for several years
> 
> Does anyone know *why* it's like this?

God, I'd *love* to know in detail.

>From what I can tell, during an early development phase of GCC &
friends, probably pre-libiberty, PICFLAG and PICFLAG_FOR_TARGET were
used by many directories and were passed down from the top level.

The use of these appears to have vanished from several directories when
they started using libiberty, and from others when they started
determining PICFLAG in their own configure files.  There's a note in the
ChangeLog from when PICFLAG and PICFLAG_FOR_TARGET stopped being passed
to submakes.  Presumably nobody noticed when the last subdirectory
stopped using them.  (I did have to run numerous greps of the
entire tree to verify that the mt-*pic fragments weren't used anywhere.)

Given that only libiberty uses the mh-*pic fragments, they probably
should be moved into libiberty/config, but I didn't feel like working on
that patch.

--Nathanael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]