From: Ozkan S. <se...@gm...> - 2010-06-30 21:14:01
|
On Wed, Jun 30, 2010 at 10:32 PM, Paarvai Naai <ope...@gm...> wrote: > Hi all, > > I am trying to build a mingw-w64 cross-compiler using the instructions > outlined on the web. > > Originally I was successful in building a multilib cross-compiler > using GCC 4.5.0, but now I want to backtrack to GCC 4.4.4. This is > because I found an optimization bug in GCC 4.5.0 that results in wrong > code generation, making me now weary of using it. Alas, it appears > that GCC 4.5.0 isn't as stable as one might think... > > I see from a mailing group thread > > http://www.mail-archive.com/min...@li.../msg00467.html > > that there is a way to patch the older GCC 4.4.4 so that it supports > multilib. However, I could not find the patch itself on the thread, > even though the poster alludes to such a patch working for him. Is > there some way I can get a patch for GCC 4.4.x for this purpose? > > I also see that there are the "Personal Builds" under "Toolchain > sources" on the site. Does this source distribution support multilib It supports what -w64- features are already in 4.5. > reliably? Perhaps I use a patch from here to provide multilib support > on the stock GCC 4.4.4 distribution? Yes you can. The patches used there have comments about what they are, so it should be easy to pick whatever you need. Some ~~may~~ depend on one another but I am sure you can figure that out, > > I also see that there are a ton of patches in > mingw-w64-src_20100427_sezero.tar.gz. Which are important for the > proper function of GCC 4.4.x for mingw-w64 and which are icing? > Ideally, I'd like to only apply what is critical for generating proper > mingw-w64 target code, with multilib and unicode support. > > Again, I wouldn't be bothering with this if I had confidence in GCC > 4.5.0, and at this point I can't wait for GCC 4.5.1 for my project. > > Thanks in advance! > Paarvai -- Ozkan |