Hi Brian > Does puNES not work on non-x86 archs?
To tell the truth I do not know. Mine is a home-made project done in my spare time and, at least initially, with the aim of learning to program in C. I've never had other architectures and so I've never been able to try. > When it comes time to make a port, you will need to be running -current, > as all ports tree work is done there. It may be helpful for you to make > the transition to -current now rather than later. Thanks for the advice, I will follow it. > This is no good. amd64 and i386 have clang-6.0.0 installed by default > and used as the default compiler (it's /usr/bin/cc and /usr/bin/c++, > alternatively /usr/bin/clang and /usr/bin/clang++). You should be using > that. Adding CC=cc and CXX=c++ to your configure script invocation would > do the trick. Here I pay my inexperience with OpenBSD. > Unfortunately, puNES fails to build with clang. The relevant build log > is attached. I've committed on github the fixes with clang and I attached the new patch. So in summary: To compile it needs the following dependencies: * clang * qt5 * sdl-1.2 * xdg-utils # git clone https://github.com/punesemu/puNES # cd puNES # patch -p1 < ../punes_openbsd_v6.patch # ./autogen.sh # CFLAGS="-g -DDEBUG" CXXFLAGS="-g -DDEBUG" \ # CC=cc CXX=c++ ./configure --disable-release \ # --enable-qt5 # make the executable "punes" is in the src directory. Anthony J. Bentley wrote: > Hi Fabio, > Thanks for looking at OpenBSD! > Our audio stack is libsndio, which you can test on Linux: > http://www.sndio.org/ > Not sure about gamepads; most everything I've seen just uses SDL. Hi Anthony happy to read you here as well as on github, thanks for the information, I will make good use.
punes_openbsd_v6.patch
Description: Binary data
