|
(SOLVED) Incompatible with i386 output when trying to compile MAME.
#339166 - 04/21/15 07:09 PM
|
|
|
Finally got it to work!
Just did a "make clean" command and regenie cleaned some old entries (dunno what ones)! Compiling the source just now but its compiling all tree begining at 3rdparty folder.
When trying to do a clean compile on a Windows XP 32 bits system I got the present error below:
Linking genie F:/emul/neogeo/compile/buildtools/vendor/mingw32/bin/../lib/gcc/i686-w64-mingw32 /4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input file `obj/Release/src/host/os_mkdir.o' is incompatible with i386 output
Any tip?
Edited by Ashura-X (04/26/15 10:57 PM)
|
|
|
|
Re: Incompatible with i386 output when trying to compile MAME.
[Re: Ashura-X]
#339178 - 04/22/15 12:04 AM
|
|
|
> When trying to do a clean compile on a Windows XP 32 bits system I got the present > error below: > > Linking genie > F:/emul/neogeo/compile/buildtools/vendor/mingw32/bin/../lib/gcc/i686-w64-mingw32 > /4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input > file `obj/Release/src/host/os_mkdir.o' is incompatible with i386 output > > Any tip?
The error seems to suggest that you're building 64-bit object files, which won't work in a 32-bit environment. What's the commandline you're using to build?
|
- Barry Rodewald
Editor at MARP - http://replay.marpirc.net
|
|
|
Re: Incompatible with i386 output when trying to compile MAME.
[Re: mahlemiut]
#339179 - 04/22/15 12:37 AM
|
|
|
Only make and editing the makefile enabling x64 build = 0
|
|
|
|
Re: Incompatible with i386 output when trying to compile MAME.
[Re: Ashura-X]
#339191 - 04/22/15 05:13 AM
|
|
|
> Only make and editing the makefile enabling x64 build = 0
No need to edit makefile.
Just include PTR64=0 in your command line. Also make sure you have MINGW32 defined to point at your 32-bit compile tools.
|
|
|
|
Re: Incompatible with i386 output when trying to compile MAME.
[Re: Robbbert]
#339210 - 04/22/15 06:18 PM
|
|
|
MINGW32 is defined by the last mamedev tools I didnt change any line on those config files there...
I take a look at bat files here and all are like automatic when running the "buildtools.bat". The error still persists and dunno but maybe the compilation on 32 bits systems could be fuxored at any point :/
Edited by Ashura-X (04/23/15 01:04 AM)
|
|
|