build problem under gcc-2.95.1

Mike Howard mike@clove.com
Wed Aug 25 06:59:00 GMT 1999


Under some circumstances `make' does not create ../bits/std_limits.h in the 
build directory.  It appears to be reproducible.

History: I originally built libstdc++ in the distribution directory - as 
opposed to reading the Release notes [typical user style].  It built fine.

Finally read the release notes and decided to build in a  build directory, so 
I did:

 [starting from ../libstdc++-2.90.6]
 cd libstdc++-2.09.6
 make distclean
 cd ..
 mkdir bld-libstc++
 cd bld-libstdc++
 ../libstdc++-2.90.6/configure --prefix=`pwd`/H-libstdc++
 make
  ... - works fine
 make install
  ...
  /usr/bin/install -c -m 644 ../bits/std_limits.h /usr/local/vendors/cygnus/lib
stdc++/bld-libstdc++/H-libstdc++/include/g++-v3//bits
  /usr/bin/install: ../bits/std_limits.h: No such file or directory
  make[1]: *** [myinstallheaders] Error 1
  make[1]: Leaving directory `/usr/local/vendors/cygnus/libstdc++/bld-libstdc++
/src'

std_limits.h is old - I did this on 8-25 and 
bash$ find ../ -name std_limits.h -ls
1847545   27 -rw-rw-r--   1 mike     wheel       26641 Aug 19 09:50 
../libstdc++/libstdc++-2.90.6/bits/std_limits.h

My guess is that `make distclean' should flush ibstdc++-2.90.6/bits/std_limits.
h, but I don't have time right now to try to unravel the dependencies.

-- 
Mike Howard <mike@clove.com>




More information about the Libstdc++ mailing list