User talk:MartyMacGyver

Welcome
Hi, welcome to Cygwin Wiki! Thanks for your edit to the How to install GCC 4.3.0 page.

If you need help, and there are no local admins here, you may want to visit the forums on the Community Central Wiki. You can also check our Staff blog to keep up-to-date with the latest news and events around Wikia.

Happy editing, Sannse (help forum | blog)

Installing gcc on cygwin, I get error 2
Hi!

I am trying to install a newer version of gcc on my cygwin. I really need this new version, I can't use cygwin's default version because since it's quite old it hasn't __uint128_t as native type. I have been following step-by-step your guide: http://cygwin.wikia.com/wiki/How_to_install_a_newer_version_of_GCC. I did exactly what was written on it, and cygwin has been just installed from scratch on a freshly installed windows xp virtual machine, so there shouldn't have been problems with prior changes on cygwin.

Everything worked well until I had to make gcc. I extracted it, the configure step went ok (didn't get any error). Then I tried to make. It took hours, and finally I got this:

Configuring in build-i686-pc-cygwin/fixincludes

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 70: 888 Aborted (test "X'printf %s $as_echo'" = "X$as_echo") 2) /dev/null

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 79: 4072 Aborted (PATH='/bin;/bin'; FPATH=$PATH; sh -c: ) > /dev/null 2) &1

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 132: 1496 Aborted (unset CDPATH) > /dev/null 2>&1

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 337: 1968 Aborted (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 354: 2488 Aborted (eval "test \$(( 1 + 1 )) = 2" ) 2> /dev/null

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 390: 3722 Aborted (as_dir='dirname -- /' && test "X$as_dir" = X/ ) > dev/null 2>&1

/usr/local/contrib/gcc-4.6.0/fixincludes/configure: line 486: 3540 Aborted ( echo > conf$$.file ) >2 /dev/null

configure: error: working directory could not be determined

make[2]: * * * [configure-build-fixincludes] Error 1

make[2]: Leaving directory '/usr/local/contrib/build'

make[1]: * * * [stage1-bubble] Error 2

make[1]: Leaving directory '/usr/local/contrib/build'

make: * * * [all] Error 2

What happened? Do you y have an hint? It is very important for me to install gcc, so please, if you know something, write it down!

Thank you very much!!

137.204.150.130 08:20, August 24, 2011 (UTC) Matteo

I'm not sure what's causing this problem (I never ran into it)... it may be an XP-secific issue.

You might try installing the gcc4 package instead: I learned about it recently and though it's only version 4.3 (or 4.5 experimental) it may be enough for your immediate needs.

MartyMacGyver 14:57, August 24, 2011 (UTC)

Hi

I have problem to locate

ln -s $ac_rel_source $ac_dest 2>/dev/null || ln $srcdir/$ac_source $ac_dest || lines in gmp 5.05 configure file.

I ams assuming, configure file is C:\cygwin\usr\local\contrib\gmp-5.0.5\configure without file extension.

Similarly

#if defined(__MPC_WITHIN_MPC) && __GMP_LIBGMP_DLL in mcp-0.9.

I am looking for this line in C:\cygwin\usr\local\contrib\mpc-0.9\ configure, but no luck.

Could you please help me, where to find this line?

Thank You

Vladimir Skoupil