This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Some Bugs


> I'm trying to make sure we're on the same wavelength here.
Good idea.
 
> If one builds in a separate directory (i.e. srcdir != .)
> then one is required to use GNU make.  I'll reword the
> FAQ to state this unequivocally (right now the FAQ says
> if one is using a make that understands VPATH one can build
> with srcdir != . --- SunOS make pretends to understand VPATH, but
> not to the extent that makes it usable without an unacceptable effort, IMHO).

Hmm. So, if srcdir == . I should be able to use any make?

At least under FreeBSD, this doesn't seem to be the case (and yes, I
reran configure (configure --target=shm-hms --prefix=/usr/local). 

[...]
Created "libc/sys/Makefile" in /usr/src/sh/newlib-1.7.0/sh-hms/newlib using "host/any"
Created "libc/sys/sh/Makefile" in /usr/src/sh/newlib-1.7.0/sh-hms/newlib using "host/any"
Created "libc/syscalls/Makefile" in /usr/src/sh/newlib-1.7.0/sh-hms/newlib using "host/any"
rm -rf targ-include stmp-targ-include
mkdir targ-include targ-include/sys targ-include/machine
for i in ./libc/machine/sh/machine/*.h; do  if [ -f $i ]; then  cp $i targ-include/machine/`basename $i`;  else true; fi ;  done
for i in ./libc/sys/sh/sys/*.h; do  if [ -f $i ]; then  cp $i targ-include/sys/`basename $i`;  else true; fi ;  done
touch stmp-targ-include
rm -f libm.a
ln libm/libm.a libm.a >/dev/null 2>/dev/null || cp libm/libm.a libm.a
cp: libm/libm.a: No such file or directory
*** Error code 1

Stop.
*** Error code 1

Stop.
uhf:/usr/src/sh/newlib-1.7.0> 
uhf:/usr/src/sh/newlib-1.7.0> exit
exit

Script done on Wed Mar  5 14:26:57 1997

Bernie