Annars tänkte jag kompilera sourcen för pcsx2 till hardy x86_64. Undrar lite om någon har koll hur jag ska kompilera - vad för växel jag ska använda och hur syntaxen blir. Jag har förstått att det är något i stil med sh build.sh install som menas (och att man ska ändra i build.sh) men inte exakt hur jag ska göra för att få det till ett en dedikerad x86_64-binär.
Det står även något i INSTALL om
som jag fattar som att jag skulle kunna använda i--disable-recbuild {Disables all architecture dependent recompilation code}
Kod: Markera allt
export PCSX2OPTIONS="--enable-devbuild --enable-sse2 --prefix `pwd`"
Har jag tänkt rätt isf?
Det är främst de raderna i fet stil jag inte riktigt vet hur jag ska tillämpa.
Global defines
--------------
Pcsx2 uses global defines to detect the OS, architecture, and different compilation options. They are:
_MSC_VER - used to detect Visual Studio's cl compiler
_WIN32 - used to detect windows compilation
__LINUX__ - used to detect linux compilation (a lot of times it is assumed that linux is running when _WIN32 is missing)
__x86_64__ - defined for x86-64 architectures only.
PCSX2_DEVBUILD - used to enable runtime debugging and developer specific features of pcsx2 (disabled on releases)
PCSX2_VIRTUAL_MEM - switches the way pcsx2 handles memory. VM enabled builds are valid for both windows and linux and they speed up games. However, there are less stable than TLB builds.
PCSX2_NORECBUILD - ignore all recompiler code so that Pcsx2 can be built for different architectures. Note that there are a couple of places that use asm code even in interpreter (coroutines in IPU).
_DEBUG - build with extra debug information
NDEBUG - build without absolutely no debug information
ZEROGS_SSE2 - controls sse2 usage in zerogs