Hello,
I've CYGWIN_NT-5.0 (1.3.22) version installed in my system. Here I try to
install a fresh GCC version (GCC-3.4.6). But I don't have already any
compiled version of GCC in my system. So I took GCC-3.4.6 tarballs from the
recommended GNU source. Downloaded properly. As a first step, when I do
"configure" for native compiler I get the following error.

../gcc-3.4.6/configure --prefix=/opt/gcc-3.4.6                                  
              
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /bin/install -c
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)
gcc: installation problem, cannot exec `cc1': No such file or directory
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

1. To set environment variable tried all the posibities as mentioned in this
link
http://forums.fedoraforum.org/archive/index.php/t-207.html

2. Then to avoid subdirectories problem I tried the following and got the
error mentioned like above
../gcc-3.4.6/configure --prefix=/opt/gcc-3.4.6 --verbose
--enable-languages=c --disable-libgcj

3. Tried downloading pre compiled RPM version of GCC-3.3.3-1 to rectify the
Set Env to CC working directory problem
Here downloaded RPM version but don't have RPM installed in my system. So
went to setup the RPM tool in my system. Downloaded this tool and did untar,
but no luck, still RPM command is not working. But there is a RPM.exe etc.
So when I search the solution for this, I found "There should be a proper
GCC compiler to get this RPM tool to be installed propely" 

Somehow I'm in dead lock condition. Please help me to rectify this problem.
My ultimate aim is to install proper GCC compiler in my cygwin system when
there is no existing working compiler.

Really tried so much to solve this problem, couldn't. Finally come to you
guys to get an advanced mind.

Help me ! Thanks in advance!

Regards, Poovizhi
-- 
View this message in context: 
http://www.nabble.com/Couldn%27t-install-GCC-properly-in-my-cygwin%21-tf4444080.html#a12680112
Sent from the gcc - bugs mailing list archive at Nabble.com.

Reply via email to