[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
depcomp changes for IRIX
From: |
David Kaelbling |
Subject: |
depcomp changes for IRIX |
Date: |
Thu, 15 Mar 2001 18:24:08 -0500 |
Hi,
I recently built libglade/0.16 for IRIX 6.2, and noticed a small flaw in
depcomp. To use the native MipsPRO compilers I made the changes below.
The first one is important -- passing the flag to the proper compiler
phase. The second is optional; to shorten some very long dependency
lines I pruned out all the system headers (all headers with absolute
paths).
--- ./depcomp Tue Apr 11 09:59:53 2000
+++ ../libglade-0.16/./depcomp Thu Mar 15 14:39:29 2001
@@ -110,7 +110,7 @@
sgi)
if test "$libtool" = yes; then
- "$@" "-Wc,-MDupdate,$tmpdepfile"
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
@@ -123,7 +123,7 @@
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
- sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+ sed -e 's/^[^:]*: / /' -e 's# /[^ ]*##g' < "$tmpdepfile" >>
"$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
Thanks,
David
--
David KAELBLING <address@hidden> Silicon Graphics Computer Systems
1 Cabot Rd, suite 250; Hudson, MA 01749 781.839.2157, fax ...2357
- depcomp changes for IRIX,
David Kaelbling <=