[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first draft of "relocatable" module
From: |
Bruno Haible |
Subject: |
Re: first draft of "relocatable" module |
Date: |
Fri, 2 Mar 2007 02:48:10 +0100 |
User-agent: |
KMail/1.5.4 |
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
> AIX 4.3.3 xlc yes no
> AIX 5.3 xlc yes no
> HP-UX 10.20 cc yes yes
> HP-UX 11.23/IA cc yes yes
> IRIX 6.5 cc yes yes
> Solaris 2.6 cc yes yes
> Solaris 10 cc yes yes
> Tru64 4.0D cc yes yes
> Tru64 5.1 cc yes yes
> GCC no no
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?
Bruno
2007-03-01 Bruno Haible <address@hidden>
* build-aux/install-reloc: Remove object files left over by some
compilers.
Reported by Ralf Wildenhues.
*** build-aux/install-reloc 2 Mar 2007 01:40:17 -0000 1.3
--- build-aux/install-reloc 2 Mar 2007 01:45:09 -0000
***************
*** 140,147 ****
"$srcdir"/setenv.c \
"$srcdir"/strerror.c \
"$srcdir"/c-ctype.c \
! -o "$destprog.wrapper$exeext" \
! || exit $?
# Rename $destprog.wrapper -> $destprog -> $destprog.bin.
ln -f "$destprog$exeext" "$destprog.bin$exeext" \
--- 140,160 ----
"$srcdir"/setenv.c \
"$srcdir"/strerror.c \
"$srcdir"/c-ctype.c \
! -o "$destprog.wrapper$exeext"
! rc=$?
! # 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
! test $rc = 0 || exit $?
# Rename $destprog.wrapper -> $destprog -> $destprog.bin.
ln -f "$destprog$exeext" "$destprog.bin$exeext" \
- Re: first draft of "relocatable" module, (continued)
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/02
- Re: first draft of "relocatable" module, Ralf Wildenhues, 2007/03/02
- Re: first draft of "relocatable" module, Bruno Haible, 2007/03/04
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/04
- Re: first draft of "relocatable" module, Ralf Wildenhues, 2007/03/05
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/05
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/05
- Re: first draft of "relocatable" module, Ben Pfaff, 2007/03/18
- Re: first draft of "relocatable" module, Daniel Jacobowitz, 2007/03/05
Re: first draft of "relocatable" module, Matthew Woehlke, 2007/03/02
Re: first draft of "relocatable" module,
Bruno Haible <=
Re: first draft of "relocatable" module, Bruno Haible, 2007/03/01
Re: first draft of "relocatable" module, Bruno Haible, 2007/03/01
Re: first draft of "relocatable" module, Bruno Haible, 2007/03/01