bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first draft of "relocatable" module


From: Ralf Wildenhues
Subject: Re: first draft of "relocatable" module
Date: Fri, 2 Mar 2007 08:58:08 +0100
User-agent: Mutt/1.5.14 (2007-02-28)

* Bruno Haible wrote on Fri, Mar 02, 2007 at 02:48:10AM CET:
> Ralf Wildenhues wrote:
> > I tried some compilers now.  All those I tried coped well with multiple
> > source files listed.  But just as well, none except GCC are intelligent
> > enough by themselves to not stomp upon each others' object files, and
> > most do not clean up.
> >
> > compiler             creates objects in pwd   leaves behind objects
[...]
> Thanks for the investigations. To cope with the right column, I'm applying
> this. To cope with the middle column, it should be sufficient if the user
> does not attempt to use parallel make, right?

Almost right.  To cope with *both* the middle and the right column,
parallel make is forbidden.  So it'll work only with GCC.  Or you
could work in a temporary directory.

Your patch also forbids parallel 'make install' with GCC in case objects
with the same names as the one you remove are created as part of the
regular build, and in case the objects are created in the build tree,
which I still don't know.

Cheers,
Ralf

> 2007-03-01  Bruno Haible  <address@hidden>
> 
>       * build-aux/install-reloc: Remove object files left over by some
>       compilers.
>       Reported by Ralf Wildenhues.
[...]
> ! # Clean up object files left over in the current directory by the native C
> ! # compilers on Solaris, HP-UX, OSF/1, IRIX.
> ! rm -f relocwrapper.o \
> !       progname.o \
> !       progreloc.o \
> !       xreadlink.o \
> !       canonicalize-lgpl.o \
> !       allocsa.o \
> !       relocatable.o \
> !       setenv.o \
> !       strerror.o \
> !       c-ctype.o





reply via email to

[Prev in Thread] Current Thread [Next in Thread]