On 03.11.2010 15:10, Lee Maschmeyer wrote: > From: Andy Koppe > Sent: Tuesday, November 02, 2010 16:56 >> >> libgcc_s ships with gcc4 only, so it looks like ocaml depends on gcc4 >> now, probably since its recent update. >> >> You may not need the OCaml bindings being built there though. I see >> you can disable them with the --disable-caml-bindings configure >> option. > > Hmm. Is that really the best approach unless absolutely necessary? "That > doesn't work so do something else" has always struck me as a less than ideal > approach to debugging. :-) Is it possible that caml could be repaired so it > doesn't depend on GCC4? >
You could try to mix gcc-3 and gcc-4. When in your build script "set-gcc-default-3.sh" is replaced by "set-gcc-default-4.sh; export CC=gcc-3" gcc-4 is used by the ocaml scripts (which ignore CC) and gcc-3 for building everything else. I haven't checked if the generated files actually work, but at least make succeeds without errors. -Dirk -- 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