i'm working on updating the port to unicos and i ran
into a "make" problem with 2.0.11 that didn't exist with 2.0.

i narrowed it down to this line in the Makefile created after
configure is run.  this line appears in this form on both
unicos and linux, linux's linker doesn't have a problem with
it but unicos' has a fatal error.
sleep_LDADD = $(LDADD) -lm  \

obviously it's really a shell problem, because there is just a
blank line after the backslash, so it should read it as end of
line, but shell on the cray keeps reading til characters show
up, so it fills sleep_LDADD as 
"../intl/libintl.a ../lib/libfetish.a    sleep_DEPENDENCIES = ../intl/libintl.a 
../lib/libfetish.a", which causes the linker to 
search for a file called "sleep_DEPENDENCIES" (which doesn't exist) and
fail on the "=".

src/Makefile.an contains the line
sleep_LDADD = $(LDADD) @FESETROUND_LIBM@ @POW_LIBM@ \
  @LIB_CLOCK_GETTIME@ @LIB_NANOSLEEP@
sleep_DEPENDENCIES = $(LDADD)

now, @LIB_CLOCK_GETTIME@ @LIB_NANOSLEEP@ are null, hence
the empty line, right? 

given the chance of "fixing" the shell on the cray any time soon (not likely)
do you have any idea how i can get around this?  (beyond hand patching the
makefile after a configure)

thanks,
wendy



Jim Meyering wrote:
> 
> Wendy Palm <[EMAIL PROTECTED]> wrote:
> > will you accept porting patches to sh-utils?
> >
> > there are about 7 changes that need to be made
> > to run on the crays (plus config changes).
> 
> Of course.
> Please send them to [EMAIL PROTECTED] and
> be sure to base them on the latest test release:
> 
>   ftp://alpha.gnu.org/gnu/fetish/sh-utils-2.0.11.tar.gz

-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
[EMAIL PROTECTED], 651-605-9154

_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to