This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

make bootstrap error (repeatable)


I'm running egcs-1.1.2 configure on a Windows95 machine (Pentium II with
MMX, 233MHz with 32MB memory) in the bash shell using cygwin beta 20.1.

The command make bootstrap fails, evidently because stdlib.h and unistd.h
cannot be found.

The configure appears to complete correctly, no errors reported, viz: 

----------------- configure output ------------------------------------
BASH.EXE-2.02$ ../../egcs-1.1.2/configure
Configuring for a i586-pc-cygwin32 host.
*** This configuration is not supported in the following subdirectories:
     texinfo
    (Any other directories should still work fine.)
Created "Makefile" in /usr/local using "mh-frag"
Links are now set up to build a native compiler for i586-pc-cygwin32
BASH.EXE-2.02$
----------------- end configure output ------------------------------------

The directory tree looks like this:

	d: in mapped to '/' using the mount command under Cygwin bash shell

	under '/' I have the directory 'usr/local' where the configure drops the
Makefile.


When I execute 'make bootstrat' in the usr/local directory, it seems to go
alright for a for a while and then fails. This is the output above and
including the final failure statements:

--------------------- make bootstrap failure statements
-------------------------------------

do \
  echo ${name}; \
  ./xgcc -B./ -O2 -I../../../egcs-1.1.2/gcc/../winsup/include  -DIN_GCC
-g -I
./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I.
-I../../../egcs-1.1
.2/gcc -I../../../egcs-1.1.2/gcc/config -c -DL${name} \
      ../../../egcs-1.1.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /usr/local/gcc/../binutils/ar ] ; then echo
/usr/local/gcc/../binuti
ls/ar ; else if [ "i586-pc-cygwin32" = "i586-pc-cygwin32" ] ; then echo ar;
else
 t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
../../../egcs-1.1.2/gcc/libgcc2.c:41: stdlib.h: No such file or directory
../../../egcs-1.1.2/gcc/libgcc2.c:42: unistd.h: No such file or directory
make[2]: *** [libgcc2.a] Error 1
make[1]: *** [bootstrap] Error 2
make: *** [bootstrap] Error 2
BASH.EXE-2.02$

--------------------- end make bootstrap failure statements
-------------------------------------


I presume there is some hidden path that is not properly detected by
configure. Any help appreciated.

Thanks.


-Robert Cessaro




_________________________________________________________________
 Robert Cessaro            _______  ___________    _    ______ __
 91-270 Ft. Weaver Rd.    /  __   \/__   ____  \  / \  /  ___/   
 Ewa Beach, HI 96706     /  /__/  /  /  /    \  \/   \/  /       
 808-689-8207 (office)  /  ____PACIFIC TSUNAMI WARNING CENTER*   
 808-689-4543 (fax)    /  /        /  /        \   .   . \___    
 808-626-8120 (home)  /  /________/  /__________\_/_\_/_\___/____
 808-291-6805 (cell.) \__________________________________________
            ___            e-mail: cessaro@ptwc.noaa.gov         
           /   \                                                 
 ,________/     \         Thunder is good, thunder is impressive;
  \               \       but it is lightning that does the work.
   |    O A H U   \                      -Mark Twain             
    \               \  _                                         
    <       /\       --|  Never confuse motion for action.       
      \    \  /         \                -Ernest Hemingway       
       \___*\\_/\   ____/                                        
                 \_/
_________________________________________________________________



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