Using a 32bit library on a 64bit computer
Hello,
I having a little difficultly. I have a C library that I need to use for a summer uni project. It has some functions that are required for the program. Anyway, the library is 32bit but I have 64bit Suse installed on my system and I'm have problems getting the library to link in. I works on another system that is 32bit perfectly but this is not as fast and the program is going to be fairly intensive. g++ just skips the library, "skipping incompatible". The must be something I can put in the makefile to put it into 32bit compatable mode? They can only give me a 64bit version of the library for sun computers, I guess that will not work under Suse linux. I tried google, assumed this would provide all the answers:) but it didn't but that might be down to my query. Thanks, Phil |
Hello,
I knew this would happen, I found the answer one second after posting. All I needed was -m32 in the makefile, dead simple. My excuse is that I have been using Java to long and its ages since I had to write me own makefile:) Thanks, Phil |
All times are GMT -5. The time now is 07:50 PM. |