Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi 4B problem with make #64

Closed
physcopanda opened this issue Jan 27, 2023 · 4 comments
Closed

Raspberry Pi 4B problem with make #64

physcopanda opened this issue Jan 27, 2023 · 4 comments

Comments

@physcopanda
Copy link

physcopanda commented Jan 27, 2023

Hi there - I can't seem to build the software on my Pi for some reason. It's a brand new Pi 4B arrived today. I've done a full upgrade on my pi and installed everything the instructions ask for.

The Raspberry Pi OS I started with was:
Raspberry Pi OS Lite
Release date: September 22nd 2022
System: 64-bit
Kernel version: 5.15
Debian version: 11 (bullseye)

when running make, I get this error:

pi@jamie1200pi:~/pistorm $ make
gcc -Wall -Wextra -pedantic -I. -I./raylib -I/opt/vc/include/ -march=armv8-a -mfloat-abi=hard -mfpu=neon-fp-armv8 -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -lstdc++ -c -o emulator.o emulator.c
gcc: error: unrecognized command-line option ‘-mfloat-abi=hard’
gcc: error: unrecognized command-line option ‘-mfpu=neon-fp-armv8’
make: *** [: emulator.o] Error 1

Hope you can help

@LemaruX
Copy link
Collaborator

LemaruX commented Jan 27, 2023 via email

@physcopanda
Copy link
Author

ahaa yea thats the problem, many thanks

@amiga23
Copy link

amiga23 commented Feb 1, 2023

you can remove ‘-mfloat-abi=hard’ and ‘-mfpu=neon-fp-armv8’ everywhere in the Makefile. buptest and emulator work generally, but piscsi does not work. Maybe it is some pointer size issue, did not yet investigate deeper.
EDIT: For the record, I did test with RPi3 on manjaro linux with gcc 12

@LemaruX
Copy link
Collaborator

LemaruX commented Mar 7, 2023

PiStorm requires 32bit PiOS.

@LemaruX LemaruX closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants