testuser2 / hadesmem

Automatically exported from code.google.com/p/hadesmem
0 stars 0 forks source link

Support for GCC/MinGW #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have this theory that GCC will beat visual studio to complete C++0x support. 
GCC 4.6 will be released soon and GCC 4.7 by 2012, which is when MS will at the 
earliest ship its v.next of VS.

Original issue reported on code.google.com by macrohma...@gmail.com on 17 Oct 2010 at 4:43

GoogleCodeExporter commented 9 years ago
GCC will definitely have better C++0x support than MSVC into the foreseeable 
future. From memory, Stephan mentioned in his Boostcon presentation that MSVC 
will not be getting features like variadic templates, constexpr, etc  for some 
time.

GCC/MinGW support is currently on the list of things I'm looking into. It will 
take some time though as I will have to migrate to a new build system, rewrite 
quite a bit of code that relies on MSVC specific features, etc.

Whilst it may not be obvious/apparent, some of this conversion is already 
taking place. However it's still a very heavy WIP. I'll keep this issue open 
and try to give status updates when possible.

Thanks. 

Original comment by therapto...@gmail.com on 18 Nov 2010 at 5:26

GoogleCodeExporter commented 9 years ago
By the way, sorry for taking so long to reply to this issue. It turns out I had 
accidently broken email notifications when changing some admin settings. I have 
restored notifications and so any further replies/reports will be dealt with in 
a more timely manner in the future. ;)

Original comment by therapto...@gmail.com on 18 Nov 2010 at 5:28

GoogleCodeExporter commented 9 years ago
Check my blog, using mingw and gcc and cmake is a lot easier than you might
think. Ra1ndog.wordpress.com I have some posts about compiling gcc and using
eclipse, etc. Eclipse is way better than vs without vax, but slightly worse
than vs + vax imo.

system,

Original comment by macrohma...@gmail.com on 18 Nov 2010 at 6:57

GoogleCodeExporter commented 9 years ago
Thanks, I'll look into it.

Original comment by therapto...@gmail.com on 20 Nov 2010 at 1:25

GoogleCodeExporter commented 9 years ago
Hey, I got MinGW up and running using TDM-GCC (I wanted to use precompiled 
binaries first just to get everything up and running and get used to setting 
stuff up). Build environment is working, and I was able to compile Boost for 
both IA32 and AMD64 (which I assumed was going to be a pain in the ass but it 
was actually just as easy as it was for MSVC).

Now that I have all the basics out of the way I'm going to compile my own 
version of GCC using the scripts and info you provided on your blog (thanks 
again for that). Once I get a feel for everything and can keep my toolchain 
updated I will begin the porting process (will probably take quite some time, 
as I will just be doing some basic tests first, but at least it's a start).

Original comment by therapto...@gmail.com on 22 Nov 2010 at 2:16

GoogleCodeExporter commented 9 years ago
You can also use nuwen.net/mingw.html, the guy that maintains that distro
works on the VC++ stl at MS.

Original comment by macrohma...@gmail.com on 22 Nov 2010 at 2:19

GoogleCodeExporter commented 9 years ago
My biggest hurdle in compiling the 4.6 nightlies is going to be that I need x64 
compilers too. I tried just compiling the x86 builds using the tutorial on your 
blog, but the 'w32api-3.14.sh' script blew up in my face.

I've added you on MSN, so if you don't mind helping out a little bit when you 
have time that would be greatly appreciated. I'll keep poking around on my own 
for a little while though, it's about time I got my hands dirty with this stuff.

Original comment by therapto...@gmail.com on 22 Nov 2010 at 2:52

GoogleCodeExporter commented 9 years ago
HadesMem now compiles under GCC via MinGW. The only remaining problems are with 
3rd party libraries.

MSVC is still the 'Tier 1' compiler, however GCC has now been added as a 'Tier 
2' compiler. It will be moved to 'Tier 1' once I can smooth out the 
aforementioned 3rd party library problems (primarily with Boost).

Original comment by therapto...@gmail.com on 30 Dec 2010 at 2:36

GoogleCodeExporter commented 9 years ago
MinGW/GCC support is now stable enough that I believe this item can be marked 
as 'fixed'. Any remaining issues with MinGW/GCC support is a bug. If you find 
any problems please create a ticket for them.

Please note however that it is still only a 'Tier 2' compiler, and until 
further notice MSVC is still the only 'Tier 1' compiler. This will hopefully 
change once I have had more time to work on some GCC/MinGW specific stuff.

Original comment by therapto...@gmail.com on 22 Jan 2011 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by therapto...@gmail.com on 2 Feb 2011 at 9:21