Jacob Jacobson wrote: > Thanks. I created symbolic links to gcc-4 & have gotten further. Now > I get error below. Do I need to install "i686-pc-mingw32" ?
> /c/home/wrk/cygwin/src/winsup/utils/mingw: couldn't find i686-pc-mingw32 > directory Nah. It got confused by whatever links you made. Instead, take a look at the attached scripts; they use the alternatives system to switch your default gcc compiler between gcc-3 and gcc-4 transparently. cheers, DaveK
#!/bin/bash # We only switch the alternatives that exist for both compilers; # gdc, gpc, g77 and gfortran never get switched. for x in gcc g++ gcj gnat ; do /usr/sbin/alternatives --set $x /usr/bin/$x-3.exe done
#!/bin/bash # We only switch the alternatives that exist for both compilers; # gdc, gpc, g77 and gfortran never get switched. for x in gcc g++ gcj gnat ; do /usr/sbin/alternatives --set $x /usr/bin/$x-4.exe done
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple