From: Christopher F. <cg...@re...> - 2002-08-01 02:42:43
|
On Thu, Aug 01, 2002 at 11:16:40AM +1200, Danny Smith wrote: >Does mingw want to have facility to have gcc-2.95 drivers, compilers and >runtime libs in same tree as 3.x. > >This can be done by changing the gcc exe names of 2.95 binaries (in ><prefix>/bin dir) to gcc2 (as per cygwin experiment) and putting the >language runtime libs. headers and language compilers (cc1.exe. etc) in >/mingw/lib/gcc-lib/mingw32/<gcc-version>. > >so that 'gcc2 foo.c' will call the cc1.exe in the 2.95-.3-x directory, >include the correct gcc-2.95 system includes and link in the correct >gcc-2.95 system libs. ditto for g++2 and g772. I haven't played with >objc yet, but it should work too. > >default 'gcc foo.c' will do the 3.x thing. > >The gcc2 package would be separate but could be part of the bigger mingw >x.x package if wanted. > >This means that users won't need to have separate 2.95 and 3.x trees, >with duplicated binutils, w32api and mingw-runtime. Out of curiousity, is there actually a way to do this short of renaming the binaries (mv gcc gcc2) "by hand" when you're done? I couldn't find one but I didn't look incredibly hard. >I have rebuilt the gcc-2.95 binaries, with Wu's patches (wint_t and >is_del); and Eric's fastcall patch >and would use that in new package. What have I missed? Agh. I forgot about these patches. Wish we had a branch for 2.95, too. cgf |