Making GCC 2.95.2 Problems

Boyer, Galen gboyer@primix.com
Mon Feb 21 18:10:00 GMT 2000


I downloaded the gcc-2.95.2.tar.bz2, unzipped it into a "src" dir underneath
my "local" dir.  My mounting looks like this:

c:\cygnus\cygwin-b20\etc /etc                native      text!=binary
d:               /d                  native      text!=binary
c:               /c                  native      text!=binary
c:\cygnus\cygwin-b20\usr\bin /bin                native      text!=binary
c:\cygnus\cygwin-b20 /                   native      text!=binary

The src dir is underneath c:\cygnus\cygwin-b20\usr\local.  The full src is
c:\cygnus\cygwin-b20\usr\local\src\gcc\gcc-2.95.2 (I hope I followed the
base directions from the
http://www.freeyellow.com/members5/gw32/GettingStarted.html correctly.  I
sure spent a lot of time trying to understand what I was trying to do)

My operating system is NT.

>From local, I executed "/src/gcc/gcc-2.95.2/configure" which was successful.
Therefore, from local again, I then executed "make bootstrap" and got back
the error:

/c: Can't open /c
make: *** [all-libiberty] Error 2

Then for a hacking try, I umounted /c and ran the command again.  I got this
error:

make: *** No rule to make target
`/c/cygnus/cygwin-b20/usr/local/src/gcc/gcc-2.95.2/gcc/version.c', needed by
`Makefile'.  Stop.

This one doesn't seem to be a viable option because after umounting /c, the
"/src/gcc/gcc-2.95.2/configure" command brings back "bash.exe:
src/gcc/gcc-2.95.2/configure: No such file or directory".  (I am not exactly
sure why this is, but I'm guessing Cygnus resolves relative paths to their
fully qualified paths?)

So, I am stuck.  How can I make the gcc executable from this point?  I have
a sneaking suspicion that I am missing something in how I am mounting and I
know that I am still a bit unsure of exactly how cygnus reads the mounted
directory stuctures, and this is causing issues when I am trying to
configure and make, but hopefully someone here would know what I am doing
wrong.

I have attached the makefile from configure and also a log of the configure
command if that might be helpful (The configure has my mounting structure at
the top.  I realized that I might need to let you guys know how that was
configured, and I was mounting, umounting and configuring quite a bit to try
to understand what might have been going on)

I would greatly appreciate this.  I am knew to java coding, but have used
gcc and gdb for c-programming before and would like to be able to integrate
the compiler/debugger for java.

 <<Makefile>>  <<configure.log>> 
-------------- next part --------------
Device           Directory           Type        Flags
c:\cygnus\cygwin-b20\etc /etc                native      text!=binary
d:               /d                  native      text!=binary
c:               /c                  native      text!=binary
c:\cygnus\cygwin-b20\usr\bin /bin                native      text!=binary
c:\cygnus\cygwin-b20 /                   native      text!=binary

--] src/gcc/gcc-2.95.2/configure
Configuring for a i686-pc-cygwin32 host.
Created "Makefile" in /c/cygnus/cygwin-b20/usr/local using "mh-frag"
./config.status is unchanged
Configuring libiberty...
loading cache ../config.cache
checking host system type... i686-pc-cygwin32
checking build system type... i686-pc-cygwin32
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for a BSD compatible install... (cached) /usr/bin/install -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether the C compiler (gcc -g ) works... yes
checking whether the C compiler (gcc -g ) is a cross-compiler... no
checking for asprintf... (cached) no
checking for atexit... (cached) yes
checking for basename... (cached) no
checking for bcmp... (cached) yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for calloc... (cached) yes
checking for clock... (cached) yes
checking for getcwd... (cached) yes
checking for getpagesize... (cached) yes
checking for index... (cached) yes
checking for insque... (cached) no
checking for memchr... (cached) yes
checking for memcmp... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for mkstemps... (cached) no
checking for putenv... (cached) yes
checking for rename... (cached) yes
checking for rindex... (cached) yes
checking for setenv... (cached) yes
checking for sigsetmask... (cached) no
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strncasecmp... (cached) yes
checking for strrchr... (cached) yes
checking for strstr... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for tmpnam... (cached) yes
checking for vasprintf... (cached) no
checking for vfprintf... (cached) yes
checking for vprintf... (cached) yes
checking for vsprintf... (cached) yes
checking for waitpid... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for ANSI C header files... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for sys_errlist... (cached) yes
checking for sys_nerr... (cached) yes
checking for getrusage... (cached) yes
checking for on_exit... (cached) no
checking for strerror... (cached) yes
checking for sysconf... (cached) yes
checking for times... (cached) yes
checking for sbrk... (cached) yes
checking for gettimeofday... (cached) yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
config.h is unchanged
Configuring texinfo...
loading cache ../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g ) works... yes
checking whether the C compiler (gcc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for texconfig... (cached) false
checking for POSIXized ISC... no
checking for minix/config.h... (cached) no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin32 environment... (cached) yes
checking for Mingw32 environment... (cached) no
checking for executable suffix... (cached) .exe
checking for sigblock... (cached) no
checking for sigblock in -lbsd... (cached) no
checking for tputs in -lncurses... (cached) no
checking for tputs in -lcurses... (cached) no
checking for tputs in -ltermcap... (cached) yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for pwd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for termcap.h... (cached) no
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/ptem.h... (cached) no
checking for sys/time.h... (cached) yes
checking for sys/ttold.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for off_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for working const... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for vprintf... (cached) yes
checking for setvbuf... (cached) yes
checking for getcwd... (cached) yes
checking for memset... (cached) yes
checking for bzero... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for sigprocmask... (cached) yes
checking for sigsetmask... (cached) no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for inline... (cached) inline
checking for size_t... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) no
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) no
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for LC_MESSAGES... (cached) no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... (cached) no
checking whether catgets can be used... no
checking for msgfmt... (cached) msgfmt
checking for gmsgfmt... (cached) msgfmt
checking for xgettext... (cached) :
checking for catalogs to be installed...  de fr
updating cache ../config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating info/Makefile
creating intl/Makefile
creating lib/Makefile
creating makeinfo/Makefile
creating po/Makefile.in
creating util/Makefile
creating config.h
config.h is unchanged
linking ../src/gcc/gcc-2.95.2/texinfo/intl/libgettext.h to intl/libintl.h
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... i686-pc-cygwin32
checking target system type... i686-pc-cygwin32
checking build system type... i686-pc-cygwin32
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g ) works... yes
checking whether the C compiler (gcc -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether make sets ${MAKE}... (cached) no
checking whether a default assembler was specified... no
checking whether a default linker was specified... no
checking for gawk... (cached) gawk
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for volatile... (cached) yes
checking for ranlib... (cached) ranlib
checking for bison... (cached) bison -y
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether string.h and strings.h may both be included... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stab.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for direct.h... (cached) yes
checking for thread.h... (cached) no
checking for pthread.h... (cached) no
checking for gnatbind... (cached) no
checking whether cpp understands the stringify operator... (cached) yes
checking for inttypes.h... (cached) no
checking for strtoul... (cached) yes
checking for bsearch... (cached) yes
checking for strerror... (cached) yes
checking for putenv... (cached) yes
checking for popen... (cached) yes
checking for bcopy... (cached) yes
checking for bzero... (cached) yes
checking for bcmp... (cached) yes
checking for index... (cached) yes
checking for rindex... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for kill... (cached) yes
checking for getrlimit... (cached) no
checking for setrlimit... (cached) no
checking for atoll... (cached) no
checking for atoq... (cached) no
checking for sysconf... (cached) yes
checking for isascii... (cached) yes
checking for gettimeofday... (cached) yes
checking for strsignal... (cached) yes
checking for putc_unlocked... (cached) no
checking for fputc_unlocked... (cached) no
checking for fputs_unlocked... (cached) no
checking for vprintf... (cached) yes
checking whether the printf functions support %p... (cached) yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking whether malloc must be declared... (cached) no
checking whether realloc must be declared... (cached) no
checking whether calloc must be declared... (cached) no
checking whether free must be declared... (cached) no
checking whether bcopy must be declared... (cached) no
checking whether bzero must be declared... (cached) no
checking whether bcmp must be declared... (cached) no
checking whether index must be declared... (cached) no
checking whether rindex must be declared... (cached) no
checking whether getenv must be declared... (cached) no
checking whether atol must be declared... (cached) no
checking whether sbrk must be declared... (cached) no
checking whether abort must be declared... (cached) no
checking whether atof must be declared... (cached) no
checking whether strerror must be declared... (cached) no
checking whether getcwd must be declared... (cached) no
checking whether getwd must be declared... (cached) yes
checking whether strsignal must be declared... (cached) no
checking whether putc_unlocked must be declared... (cached) yes
checking whether fputs_unlocked must be declared... (cached) yes
checking whether strstr must be declared... (cached) no
checking whether getrlimit must be declared... (cached) yes
checking whether setrlimit must be declared... (cached) yes
checking for sys_siglist declaration in signal.h or unistd.h... (cached) no
checking if mkdir takes one argument... (cached) no
Using `../src/gcc/gcc-2.95.2/gcc/config/i386/i386.c' to output insns.
Using `../src/gcc/gcc-2.95.2/gcc/config/i386/i386.md' as machine description file.
Using `../src/gcc/gcc-2.95.2/gcc/config/i386/cygwin.h' as target machine macro file.
Using the following host machine macro files:
	../src/gcc/gcc-2.95.2/gcc/config/i386/xm-i386.h
	../src/gcc/gcc-2.95.2/gcc/config/i386/xm-cygwin.h
checking for strerror in -lcposix... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) no
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for LC_MESSAGES... (cached) no
checking whether NLS is requested... no
checking assembler alignment features... .p2align including maximum skip
checking assembler subsection support...
checking assembler instructions... filds fists
Links are now set up to build a native compiler for i686-pc-cygwin32
updating cache ../config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating fixinc/Makefile
creating cp/Makefile
creating f/Makefile
creating java/Makefile
creating auto-host.h
auto-host.h is unchanged
linking ../src/gcc/gcc-2.95.2/gcc/intl/libgettext.h to intl/libintl.h
Merged i386/x-cygwin.
Merged i386/t-cygwin and t-install-cpp.
Created `ch/Makefile'.
Merged i386/x-cygwin.
Merged i386/t-cygwin and t-install-cpp.
Created `objc/Makefile'.
creating libintl.h
Configuring etc...
loading cache ../config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
updating cache ../config.cache
creating ./config.status
creating Makefile
[/c/cygnus/cygwin-b20/usr/local]
--]

################################################################################
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 56434 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000221/63f85ca2/attachment.bin>


More information about the Cygwin mailing list