Hi,
I was able to compile without problems AdvanceMAME 1.5 on Raspberry Pi 1 with the following procedure:
1. (as root)
apt-get install libsdl1.2-dev gcc-4.7 autoconf git
2. (change to 4.7 Compiler)
export CC=gcc-4.7
export GCC=g++-4.7
3. (clone source)
git clone https://github.com/amadvance/advancemame.git
4. (in advmame folder)
./autogen.sh
./configure
make
make install
But 'cause of this bug I'm actually unable to compile AdvanceMAME on my new Raspberry Pi 3. I already tried to use GCC 6 (from Rasbpian "stretch"), it seems OK but later in compilation I get a similar error.
Any help? :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I was able to compile without problems AdvanceMAME 1.5 on Raspberry Pi 1 with the following procedure:
But 'cause of this bug I'm actually unable to compile AdvanceMAME on my new Raspberry Pi 3. I already tried to use GCC 6 (from Rasbpian "stretch"), it seems OK but later in compilation I get a similar error.
Any help? :(
Hi Yami,
Please try with:
Let me know if it works.
Ciao,
Andrea
Hi Andrea and thank you for your suggestion.
ATM I compiled Advancemame 1.5 on RPi3 editing the Makefile to reflect GCC6.
I'll check your alternative method with "standard" GCC.
Hi Yami,
Building for GCC 6 is surely better. You'll get more optimizations.
Note that instead of changing manually the Makefile, you can configure the compilers at the configure step, like with:
Ciao,
Andrea