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]

Re: [v3] install build_headers in target-dependent location


On Dec 15, 2000, Benjamin Kosnik <bkoz@redhat.com> wrote:

> old install location:
> (prefix)/include/g++-v3/bits/atomicity.h

> new install location:
> (prefix)/powerpc-elf/include/g++-v3/bits/atomicity.h

Wouldn't it be cleaner to install them within
gcc-lib/<target>/<version>/include-g++-v3/, so that multiple
installations in the same prefix don't step onto each others' toes?

Another idea, to keep files within include/g++-v3 (that some people
may already be used to, except for the version number after the dash)
is to use (prefix)/include/g++-v3/(target)


As for the actual patch, it's almost ok.  The only problem I see is
that it doesn't take care of creating $(targetincludep) when it
doesn't exist.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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