This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help with GCC on Cygwin


Hello Everyone,
    I am trying to do some development on the C Compiler in Cygwin and I
am doing the following to build it:
 
$ ../gcc-4.0.2/gcc/configure
--prefix=/home/Balaji/Software_Tools/install --enable-languages="c"
 
The problem i am getting is this:
 
$ make all install
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h config/i386/xm-cygwin.h"
DEFINES="" \
        /bin/sh ../gcc-4.0.2/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
        HEADERS="config/i386/i386.h config/i386/unix.h config/i386/bsd.h
config/
i386/gas.h config/dbxcoff.h config/i386/cygming.h config/i386/cygwin.h
defaults.
h" DEFINES="" \
        /bin/sh ../gcc-4.0.2/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h config/i386/xm-cygwin.h"
DEFINES="" \
        /bin/sh ../gcc-4.0.2/gcc/mkconfig.sh bconfig.h
/home/Balaji/Software_Tools/gcc-4.0.2/compile gcc
-c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-protot
ypes -Wold-style-definition    -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I..
/gcc-4.0.2/gcc -I../gcc-4.0.2/gcc/build -I../gcc-4.0.2/gcc/../include
-I../gcc-4
.0.2/gcc/../libcpp/include     -o build/genmodes.o
../gcc-4.0.2/gcc/genmodes.c
/home/Balaji/Software_Tools/gcc-4.0.2/compile gcc
-c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-protot
ypes -Wold-style-definition    -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I..
/gcc-4.0.2/gcc -I../gcc-4.0.2/gcc/build -I../gcc-4.0.2/gcc/../include
-I../gcc-4
.0.2/gcc/../libcpp/include     -o build/errors.o
../gcc-4.0.2/gcc/errors.c
make: *** No rule to make target
`../build-i686-pc-cygwin/libiberty/libiberty.a'
, needed by `build/genmodes.exe'.  Stop.
 
 
I am currently using cygwin on a x86 machine, gcc version 4.0.2 (I have
to use this version...can't use a diferent one), 
 
 
Any help is very highly appreciated!
 
Thanking You,
 
Yours Sincerely,
 
Balaji V. Iyer.
 
 
PS. Here is the output I received right after I ran the configur
command.
 
checking build system type... i686-pc-cygwin

checking host system type... i686-pc-cygwin

checking target system type... i686-pc-cygwin

checking LIBRARY_PATH variable... ok

checking GCC_EXEC_PREFIX variable... ok

checking whether to place generated files in the source directory... no

checking whether a default linker was specified... no

checking whether a default assembler was specified... no

checking for gcc... gcc

checking for C compiler default output file name... a.exe

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables... .exe

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking whether gcc and cc understand -c and -o together... yes

checking how to run the C preprocessor... gcc -E

checking for inline... inline

checking for long long int... yes

checking for __int64... no

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for void *... yes

checking size of void *... 4

checking for short... yes

checking size of short... 2

checking for int... yes

checking size of int... 4

checking for long... yes

checking size of long... 4

checking for long long... yes

checking size of long long... 8

checking whether gcc accepts -Wno-long-long... yes

checking whether gcc accepts -Wno-variadic-macros... no

checking whether gcc accepts -Wold-style-definition... yes

checking valgrind.h usability... no

checking valgrind.h presence... no

checking for valgrind.h... no

checking whether make sets $(MAKE)... yes

checking for gawk... gawk

checking whether ln -s works... yes

checking whether ln works... yes

checking for ranlib... ranlib

checking for a BSD compatible install... /usr/bin/install -c

checking for cmp's capabilities... gnucompare

checking for mktemp... yes

checking for makeinfo... makeinfo

checking for modern makeinfo... yes

checking for recent Pod::Man... yes

checking for flex... flex

checking for bison... bison

checking for nm... nm

checking for ar... ar

checking for GNU C library... no

checking for ANSI C header files... (cached) yes

checking whether time.h and sys/time.h may both be included... yes

checking whether string.h and strings.h may both be included... yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking for limits.h... yes

checking for stddef.h... yes

checking for string.h... (cached) yes

checking for strings.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for time.h... yes

checking for iconv.h... yes

checking for fcntl.h... yes

checking for unistd.h... (cached) yes

checking for sys/file.h... no

checking for sys/time.h... no

checking for sys/mman.h... no

checking for sys/resource.h... no

checking for sys/param.h... no

checking for sys/times.h... no

checking for sys/stat.h... (cached) yes

checking for direct.h... no

checking for malloc.h... no

checking for langinfo.h... no

checking for ldfcn.h... no

checking for locale.h... no

checking for wchar.h... no

checking for thread.h... no

checking for pthread.h... no

checking for CHAR_BIT... yes

checking whether byte ordering is bigendian... yes

checking for collect2 libraries... none required

checking for library containing exc_resume... no

checking for library containing ldexp... no

checking for inttypes.h... no

checking for times... no

checking for clock... no

checking for dup2... no

checking for kill... no

checking for getrlimit... no

checking for setrlimit... no

checking for atoll... no

checking for atoq... no

checking for sysconf... no

checking for strsignal... no

checking for getrusage... no

checking for nl_langinfo... no

checking for scandir... no

checking for alphasort... no

checking for gettimeofday... no

checking for mbstowcs... no

checking for wcswidth... no

checking for mmap... no

checking for mincore... no

checking for setlocale... no

checking for clearerr_unlocked... no

checking for feof_unlocked... no

checking for ferror_unlocked... no

checking for fflush_unlocked... no

checking for fgetc_unlocked... no

checking for fgets_unlocked... no

checking for fileno_unlocked... no

checking for fprintf_unlocked... no

checking for fputc_unlocked... no

checking for fputs_unlocked... no

checking for fread_unlocked... no

checking for fwrite_unlocked... no

checking for getchar_unlocked... no

checking for getc_unlocked... no

checking for putchar_unlocked... no

checking for putc_unlocked... no

checking for ssize_t... no

checking for uid_t in sys/types.h... yes

checking type of array argument to getgroups... int

checking whether the printf functions support %p... no

checking for sys/mman.h... (cached) no

checking for mmap... (cached) no

checking for pid_t... no

checking for unistd.h... (cached) yes

checking for vfork.h... no

checking for fork... no

checking for vfork... no

checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe

checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes

checking for shared library run path origin... done

checking for iconv... no, consider installing GNU libiconv

checking for LC_MESSAGES... no

checking for nl_langinfo and CODESET... no

checking whether getenv is declared... no

checking whether atol is declared... yes

checking whether sbrk is declared... no

checking whether abort is declared... no

checking whether atof is declared... no

checking whether getcwd is declared... no

checking whether getwd is declared... no

checking whether strsignal is declared... no

checking whether strstr is declared... no

checking whether errno is declared... no

checking whether snprintf is declared... no

checking whether vasprintf is declared... no

checking whether malloc is declared... no

checking whether realloc is declared... no

checking whether calloc is declared... no

checking whether free is declared... no

checking whether basename is declared... no

checking whether getopt is declared... no

checking whether clock is declared... no

checking whether getpagesize is declared... no

checking whether clearerr_unlocked is declared... no

checking whether feof_unlocked is declared... no

checking whether ferror_unlocked is declared... no

checking whether fflush_unlocked is declared... no

checking whether fgetc_unlocked is declared... no

checking whether fgets_unlocked is declared... no

checking whether fileno_unlocked is declared... no

checking whether fprintf_unlocked is declared... no

checking whether fputc_unlocked is declared... no

checking whether fputs_unlocked is declared... no

checking whether fread_unlocked is declared... no

checking whether fwrite_unlocked is declared... no

checking whether getchar_unlocked is declared... no

checking whether getc_unlocked is declared... no

checking whether putchar_unlocked is declared... no

checking whether putc_unlocked is declared... no

checking whether getrlimit is declared... no

checking whether setrlimit is declared... no

checking whether getrusage is declared... no

checking whether ldgetname is declared... no

checking whether times is declared... no

checking for struct tms... no

checking for clock_t... no

checking for .preinit_array/.init_array/.fini_array support... no

checking if mkdir takes one argument... yes

Using `../gcc-4.0.2/gcc/config/i386/i386.c' for machine-specific logic.

Using `../gcc-4.0.2/gcc/config/i386/i386.md' as machine description
file.

Using the following target machine macro files:

../gcc-4.0.2/gcc/config/i386/i386.h

../gcc-4.0.2/gcc/config/i386/unix.h

../gcc-4.0.2/gcc/config/i386/bsd.h

../gcc-4.0.2/gcc/config/i386/gas.h

../gcc-4.0.2/gcc/config/dbxcoff.h

../gcc-4.0.2/gcc/config/i386/cygming.h

../gcc-4.0.2/gcc/config/i386/cygwin.h

Using `../gcc-4.0.2/gcc/config/ i386/xm-cygwin.h' as host machine macro
file.

Using host-cygwin.o for host machine hooks.

checking whether NLS is requested... no

checking whether windows registry support is requested... yes

checking for library containing RegOpenKeyExA... no

checking registry key on windows hosts... 4.0.2

checking what assembler to use... /usr/bin/as.exe

checking what linker to use... /usr/i686-pc-cygwin/bin/ld.exe

checking what nm to use... nm.exe

checking what objdump to use... objdump.exe

checking assembler for .balign and .p2align... yes

checking assembler for .p2align with maximum skip... yes

checking assembler for working .subsection -1... no

checking assembler for .weak... yes

checking assembler for .nsubspa comdat... no

checking assembler for .hidden... no

checking linker for .hidden support... yes

checking assembler for .sleb128 and .uleb128... yes

checking assembler for eh_frame optimization... no

checking assembler for section merging support... no

checking assembler for section merging support... (cached) no

checking assembler for COMDAT group support... no

checking assembler for COMDAT group support... no

checking assembler for thread-local storage support... no

checking linker -Bstatic/-Bdynamic option... yes

checking assembler for .secrel32 relocs... yes

checking assembler for filds and fists mnemonics... yes

checking assembler for cmov syntax... no

checking assembler for GOTOFF in data... yes

checking assembler for dwarf2 debug_line support... yes

checking assembler for buggy dwarf2 .file directive... no

checking assembler for --gdwarf2 option... yes

checking assembler for --gstabs option... yes

checking linker read-only and read-write section mixing... read-write

checking linker PT_GNU_EH_FRAME support... no

checking linker position independent executable support... yes

checking linker --as-needed support... yes

Using ggc-page for garbage collection.

checking whether to enable maintainer-specific portions of Makefiles...
no

Links are now set up to build a native compiler for i686-pc-cygwin.

configure: creating ./config.status

config.status: creating Makefile

config.status: creating gccbug

config.status: creating mklibgcc

config.status: creating libada-mk

config.status: creating auto-host.h

config.status: executing default commands

 
 
-- 
 
Balaji V. Iyer
PhD Student, 
Center for Efficient, Scalable and Reliable Computing,
Department of Electrical and Computer Engineering,
North Carolina State University.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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