Merged in darkfm_uy/pcem (pull request #7)
Slight fixes to make FreeBSD compilation easier
This commit is contained in:
commit
faa3d45f9e
3 changed files with 43 additions and 0 deletions
31
Readme-BSD.txt
Normal file
31
Readme-BSD.txt
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
PCem v14 BSD supplement
|
||||||
|
|
||||||
|
|
||||||
|
You will need the following libraries :
|
||||||
|
|
||||||
|
SDL2
|
||||||
|
wxWidgets 3.x
|
||||||
|
OpenAL
|
||||||
|
|
||||||
|
and their dependencies.
|
||||||
|
|
||||||
|
Open a terminal window, navigate to the PCem directory then enter
|
||||||
|
|
||||||
|
./configure --enable-release-build
|
||||||
|
gmake
|
||||||
|
|
||||||
|
then ./pcem to run.
|
||||||
|
|
||||||
|
The BSD version stores BIOS ROM images, configuration files, and other data in ~/.pcem
|
||||||
|
|
||||||
|
configure options are :
|
||||||
|
--enable-release-build : Generate release build. Recommended for regular use.
|
||||||
|
--enable-debug : Compile with debugging enabled.
|
||||||
|
--enable-networking : Build with networking support.
|
||||||
|
--enable-alsa : Build with support for MIDI output through ALSA. Requires libasound.
|
||||||
|
|
||||||
|
|
||||||
|
The menu is a pop-up menu in the BSD port. Right-click on the main window when mouse is not
|
||||||
|
captured.
|
||||||
|
|
||||||
|
CD-ROM support currently only accesses /dev/cdrom. It has not been heavily tested.
|
||||||
12
configure.ac
12
configure.ac
|
|
@ -150,6 +150,18 @@ case "$host" in
|
||||||
exit -1])
|
exit -1])
|
||||||
build_linux="yes"
|
build_linux="yes"
|
||||||
;;
|
;;
|
||||||
|
*-*-freebsd*)
|
||||||
|
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||||
|
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
|
AC_CHECK_LIB([GL], [glGetError], [], \
|
||||||
|
[echo "You need to install the OpenGL library."
|
||||||
|
exit -1])
|
||||||
|
AC_CHECK_LIB([openal], [alGetError], [], \
|
||||||
|
[echo "You need to install the OpenAL library."
|
||||||
|
exit -1])
|
||||||
|
build_other="yes"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_LIB([GL], [glGetError], [], \
|
AC_CHECK_LIB([GL], [glGetError], [], \
|
||||||
[echo "You need to install the OpenGL library."
|
[echo "You need to install the OpenGL library."
|
||||||
|
|
|
||||||
0
install-sh
Normal file → Executable file
0
install-sh
Normal file → Executable file
Loading…
Reference in a new issue