[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SGI mode depcomp breaks when '.' appears in source filenames twice
From: |
Robert Boehne |
Subject: |
SGI mode depcomp breaks when '.' appears in source filenames twice |
Date: |
Thu, 05 Apr 2001 17:45:00 -0500 |
Automake:
I've been having some problems with depencency tracking under
IRIX with the native compiler, it didn't help to use GNU sed,
so I tracked the problem down to this line from depcomp:
sed 's/^[^\.]*\.o://' | tr '
...
For a source file named ExprIntrp.tab.c, the dependency file
produced has this for it's contents:
ExprIntrp.tab.lo : \
ExprIntrp.tab.o: /usr/include/stdio.h /usr/include/standards.h
/usr/include/sgidefs.h /usr/include/alloca.h #:fec /usr/include/stdio.h
:
/usr/include/standards.h :
/usr/include/sgidefs.h :
/usr/include/alloca.h :
#:fec :
The problem is the appearance of 'ExprIntrp.tab.o:' on the second
line, this is intended to be stripped out, and is if the
sed command from depcomp is altered to
sed 's/^[^\.]*\.tab.o://'
But that, of course, is not the fix.
Could a sed guru suggest a fix for this particular problem?
Thanks,
Robert
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden
- SGI mode depcomp breaks when '.' appears in source filenames twice,
Robert Boehne <=
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Raja R Harinath, 2001/04/05
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Alexandre Oliva, 2001/04/05
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Raja R Harinath, 2001/04/05
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Thomas Dickey, 2001/04/06
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Robert Boehne, 2001/04/06
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Raja R Harinath, 2001/04/06
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Tom Tromey, 2001/04/06
- Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Robert Boehne, 2001/04/06
Re: SGI mode depcomp breaks when '.' appears in source filenames twice, Tom Tromey, 2001/04/07