02-21-2015, 07:37 PM
How do I tell cmake to use i386 as target architecture? Sorry if this was already answered elsewhere.
Compiling question
|
02-21-2015, 07:37 PM
How do I tell cmake to use i386 as target architecture? Sorry if this was already answered elsewhere.
02-21-2015, 07:53 PM
It should be done automatically.
OS: Linux Mint 17.2 64 bit (occasional Antergos/Arch user)
(I am no longer a Windows user) CPU: Intel Pentium G3258 GPU: Nvidia GTX 650 Ti
Well that's the problem since when done automatically cmake uses x86_64 as target architecture which I don't want.
Haven't been compiling pcsx2 in a while, but haven't had problem with it before.
02-21-2015, 08:52 PM
I did quick fix, editing TargetArch.cmake, but now I got message "-- Compiling a i386 build on a x86_64 host" which is again something I don't want, since I want to use i386 libraries for compiling.
02-21-2015, 10:31 PM
which distro do you use?
02-21-2015, 10:36 PM
CentOS 6.6
02-21-2015, 10:41 PM
02-22-2015, 12:44 AM
If you build.sh it will be done automatically. If you use cmake directly you need to use -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
If it still not working, post cmake output.
02-22-2015, 01:13 AM
I tried -DCMAKE_TOOLCHAIN_FILE thing but problem still remains, see when i start cmake it looks for x86_64 libraries which are in /usr/lib64 folder and not i386 ones in /usr/lib...
previous builds did this correctly, I don't know at what point cmake changed this way... to illustrate what I'm talking about this is small excerpt of cmake output when started with that last googlecode build and things were correct Quote:-- Enable the building of po files by default in Release build !!! and this with latest from the github Quote:-- Compiling a i386 build on a x86_64 host. That's why asked about how do I make cmake look for i386 libraries, since I want to built 32bit binary and not 64bit one.
02-22-2015, 01:20 AM
Thank. I need to double check code (tomorrow )
|
« Next Oldest | Next Newest »
|