msfraish / projecteqemu

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

makefile.a64 (uselessness) #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The 64bit makefile is not right, it makes some assumptions that the normal 
makefile doesn't and is really not even needed.

Assuming most people use an up to date version of gcc, the easiest way to fix 
this is to remove makefile.a64 completely and change the normal makefile as so:

Under DFLAGS remove -Di386, mostly because it doesn't seem to even be used 
directly.

then under COPTS change -march=i686 to -march=native, this will force gcc to 
auto detect CPU type and supporting flags and build code for that arch 
automatically, thus making makefile.a64 unneeded completely.

Original issue reported on code.google.com by datate...@gmail.com on 12 Jul 2011 at 9:40

GoogleCodeExporter commented 8 years ago
With cmake settings, this should be fixed (made invalid).

Original comment by jeremiah...@gmail.com on 22 Jan 2013 at 1:39