Cześć,
Dokładnie tak próbowałem zrobić ale chyba czegoś brakuje, albo coś źle robię, bo 'make' po configure kończy się u mnie tak:
pi@raspberrypi ~/atari800-3.1.0/src $ make
gcc -c -o afile.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls afile.c
gcc -c -o antic.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls antic.c
gcc -c -o atari.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls atari.c
gcc -c -o binload.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls binload.c
gcc -c -o cartridge.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls cartridge.c
gcc -c -o cassette.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls cassette.c
gcc -c -o compfile.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls compfile.c
gcc -c -o cfg.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls cfg.c
gcc -c -o cpu.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls cpu.c
gcc -c -o crc32.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls crc32.c
gcc -c -o devices.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls devices.c
gcc -c -o emuos.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls emuos.c
gcc -c -o esc.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls esc.c
gcc -c -o gtia.o -DHAVE_CONFIG_H -I. -O2 -Wall -ansi -pedantic -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls gtia.c
gtia.c: In function ‘GTIA_GetByte’:
gtia.c:532:16: error: ‘INPUT_CONSOL_OPTION’ undeclared (first use in this function)
gtia.c:532:16: note: each undeclared identifier is reported only once for each function it appears in
gtia.c:535:16: error: ‘INPUT_CONSOL_START’ undeclared (first use in this function)
Makefile:82: polecenia dla obiektu 'gtia.o' nie powiodły się
make: *** [gtia.o] Błąd 1
chyba nie tylko ja mam problem... http://sourceforge.net/p/atari800/mailm … /30753436/
i dodam że nie chcę budować wersji SDL tylko taką renderującą przez Open GL ES. Wersja 3.0.0 działa prawie doskonale (z wyjątkiem tego co pokazałem wyżej), szybko i bardzo bardzo dobrze radzi sobie z synchronizacją, trybami interlace, płynne scrollingi, etc.
a z tego co widać wyżej również wersja SDL się nie chce kompilować, a ./configure --target=rpi nie działa u mnie również.
To chyba zostaje mi tylko próba z cross-compile ;/ Chociaż patrząc w źródła kod dla OpenGL jest podobny i pewnie efekt będzie ten sam. Spróbuję napisać do autora wersji OpenGL/RPI.