Re: [Xmame] cross compile X-mame

2007-05-02 Thread changho kim
Dear Laurent Desnogues I run compile xmame as you say... HOST_CC left as gcc. uncomment ZLIB and EXPAT But the problem that i told yesterday is appear ㅡㅡ; arm-linux-gcc xmame.obj/cpu/m68000/m68kmake.o -o xmame.obj/cpu/m68000/m68kmake Generating M68K source files...

Re: [Xmame] cross compile X-mame

2007-05-02 Thread Laurent Desnogues
On 5/2/07, changho kim [EMAIL PROTECTED] wrote: arm-linux-gcc xmame.obj/cpu/m68000/m68kmake.o -o xmame.obj/cpu/m68000/m68kmake Generating M68K source files... xmame.obj/cpu/m68000/m68kmake xmame.obj/cpu/m68000 src/cpu/m68000/m68k_in.c xmame.obj/cpu/m68000/m68kmake:

Re: [Xmame] cross compile X-mame

2007-05-02 Thread changho kim
I'm really sorry to send this mailTT As you say, i modify all... But below message appeard, this is another message src/cpu/cpu.mak:673: warning: overriding commands for target `xmame.obj/cpu/m68000/m68kmake.o' src/cpu/cpu.mak:658: warning: ignoring old commands for target

Re: [Xmame] cross compile X-mame

2007-05-02 Thread changho kim
Do i remove m68000 part? if m68000 part don't play a important role, i want to remove this difficult part...TT

Re: [Xmame] cross compile X-mame

2007-05-02 Thread Laurent Desnogues
On 5/2/07, changho kim [EMAIL PROTECTED] wrote: src/cpu/cpu.mak:673: warning: overriding commands for target `xmame.obj/cpu/m68000/m68kmake.o' src/cpu/cpu.mak:658: warning: ignoring old commands for target `xmame.obj/cpu/m68000/m68kmake.o' You made a mistake. Make sure you only have one

Re: [Xmame] cross compile X-mame

2007-05-02 Thread changho kim
Laurent!! This is success your advice really helps me... But new error appeared... This is library problem... The message is below [OSDEPEND] Compiling src/unix/video-drivers/xv.c ... arm-linux-gcc -O2 -std=gnu89 -Wall -Wno-unused -Isrc/expat -Isrc/zlib '-DINLINE=static __inline__'

Re: [Xmame] cross compile X-mame

2007-05-02 Thread Laurent Desnogues
On 5/2/07, changho kim [EMAIL PROTECTED] wrote: But Xv.h file don't exist in /usr/X11R6_ARM/include/extension directory Comment out X11_XV=1 in makefile.unix. Laurent ___ Xmame mailing list Xmame@toybox.twisted.org.uk

Re: [Xmame] cross compile X-mame

2007-05-02 Thread changho kim
Dear Laurent Thank you Very much This is success!!! But this size is very large... My embeded board capacity is 64Mbyte, but Xmame full size is 245Mbyte TT So i will try to compact xmame size.. Your help make success... I want to be like you!! Really Thank you ^^

Re: [Xmame] cross compile X-mame

2007-05-02 Thread Laurent Desnogues
On 5/2/07, changho kim [EMAIL PROTECTED] wrote: This is success!!! Good :) But this size is very large... My embeded board capacity is 64Mbyte, but Xmame full size is 245Mbyte TT So i will try to compact xmame size.. 245 MB is size with symbols. Do a size exec to know real size (program

Re: [Xmame] cross compile X-mame

2007-05-01 Thread Laurent Desnogues
On 4/29/07, changho kim [EMAIL PROTECTED] wrote: I want to cross-compile x-mame on embeded board using arm cpu. First, i made my development environment. Second, modify Makefile and do make.. but this is fail... If somebody have a cross compile experience, give me a tip You should provide

Re: [Xmame] cross compile X-mame

2007-05-01 Thread changho kim
Xmame version is xmame-0.106 Host Environment OS : redhat Linux9 compiler : arm-linux-gcc Target Environment OS : Linux Kernel 2.6.13 CPU : ARM 920T I install Tiny-x on embeded board for operating xmame What i want to modify in the Makefile : I want to change Makefile for cross-compiling First

Re: [Xmame] cross compile X-mame

2007-05-01 Thread Laurent Desnogues
changho kim a écrit : maybe zlib.h is problem. so after i get zlib, cross-compile zlib. But that is too fail.. Yes you are missing zlib in your cross-compilation environment. Try to enable zlib compilation in MAME makefile by uncommenting the following line: BUILD_ZLIB = 1 You may also have

Re: [Xmame] cross compile X-mame

2007-05-01 Thread changho kim
After get your mail, i check Makefile. Build_ZLIB is already uncommented.. I think that original Makefile targeted to i386 machine, but i will compile for ARM machine i will give mame modified Makefile.. Please check this Makefile Hm. because of mail size is very big, i don't send Makefile...

Re: [Xmame] cross compile X-mame

2007-05-01 Thread Laurent Desnogues
On 5/1/07, changho kim [EMAIL PROTECTED] wrote: After get your mail, i check Makefile. Build_ZLIB is already uncommented.. I think that original Makefile targeted to i386 machine, but i will compile for ARM machine i will give mame modified Makefile.. Please check this Makefile Your Makefile

Re: [Xmame] cross compile X-mame

2007-05-01 Thread changho kim
Thank you This is my mistake... Now, i start to compile... as you say, it seems that expat and zlib problem is solved. How difference exist between comment ZLIB, EXPAT and uncomment ZLIB, EXPAT? After compile with modified Makefile, new error appeared The Error message is below arm-linux-gcc

Re: [Xmame] cross compile X-mame

2007-05-01 Thread Laurent Desnogues
On 5/1/07, changho kim [EMAIL PROTECTED] wrote: Thank you This is my mistake... Now, i start to compile... as you say, it seems that expat and zlib problem is solved. How difference exist between comment ZLIB, EXPAT and uncomment ZLIB, EXPAT? In English comment out means that you make a

Re: [Xmame] cross compile X-mame

2007-05-01 Thread changho kim
OK, I know difference between comment and uncomment. But i want to know what they have mean... when i use #BUILD_ZLIB=1, that make error. but when i use BUILD=ZLIB, that don't make error. Why??? Very thank for your concern ^^

Re: [Xmame] cross compile X-mame

2007-05-01 Thread Laurent Desnogues
On 5/1/07, changho kim [EMAIL PROTECTED] wrote: when i use #BUILD_ZLIB=1, that make error. but when i use BUILD=ZLIB, that don't make error. Why??? With BUILD_ZLIB=1 you force the compilation of the zlib source that comes with XMAME. You have to do it, because your cross compilation