Compatibility between 32 and 64-bit

Dec 21, 2014 at 6:35pm
Hi,
I am working under FreeBSD 9.2 64-bit using G++ 4.8.
I succeed compiling some codes made for 32-bit on this machine, but it's not working properly. The connection is not working properly ( as I think ).
I used "-std=c++11" as flag to use C++11 for compiling.
Also I am using "libc++" because the compiler can't find some functions in "libstdc++".

So, is there a compatibility issue between 32 and 64-bit OS? Or is something that I am doing wrong?
Dec 22, 2014 at 12:44am
Dunno about GCC, but with CLang you specify -m32.
Dec 22, 2014 at 11:20pm
It's not about that, kbw. I know that about -m32 ... it works on GCC too. I just wanted to know if there are compatibility issues and it seems it does. I built source under 32-bit OS and it works perfectly.

Anyway. Solved ^.^
Dec 23, 2014 at 1:55pm
I'm not sure what you mean by compatibility issues.

You have to ensure you have the 32bit system libraries installed, it is optional at system install time, plus 32bit builds of any ports you need.
Last edited on Dec 23, 2014 at 1:56pm
Topic archived. No new replies allowed.