03 November 2017, 22:32 | #1 |
Posts: n/a
|
fs-uae cross compilation
Hi.
I'm trying to cross compile fs-uae for the batocera distribution. i need to configure with --disable-codegen but in this case, it doesn't compile cause gen/* files are missing. Is still disable-codegen still supported ? if yes, how to get the files if not generated by the commands ? If i comment all gen/* in the makefile.am, i end to blit.h : no such file or directory ;-( any help is welcome. thanks. |
04 November 2017, 21:28 | #2 |
Out to Grass
Join Date: Jul 2010
Location: UK
Posts: 125
|
Hi Susan34
Are you using the version for the Pc, Odroids, or Raspberry ? If Raspberry .. have you tried this version ? https://batocera-linux.xorhub.com/fo...-batocera-5-10 more info is always welcome |
06 November 2017, 22:48 | #3 |
Posts: n/a
|
for the moment i'm using fs-uae with the version for x86_64.
i've generated the gen files from a standard compilation. I'm having something working, but i've still work to make it automatic. i'm the main maintener of batocera. i use all the versions while i build and test them. i'm integrating fs-uae inside the distrubition. |
07 November 2017, 16:41 | #4 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
If you disable codegen, you need to generate or copy the missing source files beforehand. For example, you can compile a version for your host computer first (so that the missing source files are generate) and then re-configure for cross-compilation (with --without-codegen) and compile.
Ideally, the code generators would be compiled using the local host toolchain and not the cross-toolchain but I haven't bothered to try to do that with autoconf/automake. |
07 November 2017, 21:34 | #5 |
Posts: n/a
|
thanks a lot for your answer.
can you confirm that the generated code is dependant of the architecture. ie, i've to generate 7 codegen, one for each of the supported architecture (rpi1, rpi2, rpi3, x86 32 bits, x86 64 bits, odroid c2, odroid xu4). -- however, perhaps rpi1 or rpi2 is not powerfull enough to support fsuae, i've not yet checked. Are the codegen for each architecture already available somewhere ? |
07 November 2017, 21:36 | #6 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
The generated source code should be *independent* of architecture. So you can create the missing source files on x86 and compile on arm.
|
08 November 2017, 21:07 | #7 |
Posts: n/a
|
thanks a lot for your answers.
on rpi, i've to disable the jit, it looks like you said the same : https://github.com/FrodeSolheim/fs-uae/issues/138 i hope it's ok for performance. by the way, it looks like that X is required. on rpi, i'm using the framebuffer only ;-( but my new question is more general : what are the good environment to emulate amiga at the current moment ? x86, x86_64. you're telling that on rpi3, it's slow (because of GL drivers) ; do you mean that on rpi, the user experience is not good enough ? in other word, that fsuae is recommanded only on x86* ? would you recommand a rpi port on rpi ? |
09 November 2017, 22:39 | #8 |
Posts: n/a
|
if needed by somebody
i've manage to integrate it for batocera. the compilation: https://github.com/nadenislamarre/ba...c7570830830e7b the launcher: https://github.com/nadenislamarre/re...a84aee90adb54f there is just one thing i've not yet understood. why the fire (1) button is not mapped on the joystick but on the mouse. for some games like lemmigs, it's effectively nice, for some games like mortal kombat you need to plug a mouse. |
12 November 2017, 22:17 | #9 |
Posts: n/a
|
i've posted test image here for people interested :
https://batocera-linux.xorhub.com/forum/d/855-5-11-beta thanks again for the wonderful work you've done on fsuae. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GLX-related compilation problem with FS-UAE on Gentoo / GCC 4.8 | yoshi314 | support.FS-UAE | 9 | 17 December 2013 19:49 |
Compilation options for best e-uae performance with Xgl | Madcrow | support.OtherUAE | 0 | 30 June 2008 16:02 |
Cross-platform gui? | ceztko | request.UAE Wishlist | 15 | 03 January 2008 18:50 |
cross dos | Dave_wb | support.Hardware | 15 | 27 March 2005 18:04 |
cross dos help | fastflange | request.Apps | 2 | 19 June 2002 17:56 |
|
|