MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1

Ashura-X
MAME Compiler!
Reged: 01/22/04
Posts: 408
Send PM


(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)



mahlemiut
MAME Fan
Reged: 06/20/07
Posts: 60
Loc: New Zealand
Send PM


Re: Incompatible with i386 output when trying to compile MAME. new [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



Ashura-X
MAME Compiler!
Reged: 01/22/04
Posts: 408
Send PM


Re: Incompatible with i386 output when trying to compile MAME. new [Re: mahlemiut]
#339179 - 04/22/15 12:37 AM


Only make and editing the makefile enabling x64 build = 0



Robbbert
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: Incompatible with i386 output when trying to compile MAME. new [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.



Ashura-X
MAME Compiler!
Reged: 01/22/04
Posts: 408
Send PM


Re: Incompatible with i386 output when trying to compile MAME. new [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)


Pages: 1

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 20 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2595