Re: activemq-cpp with -m32 flag

2013-03-25 Thread mah
I would have tried ./configure --libdir=/usr/lib CXXFLAGS="-m32" before hand hacking the autogenerated files. Seems to work, except for the CXXFLAGS="-m32" still had to manually put those in. still saved a bit of work -- View this message in context: http://activemq.2283324.n4.nabble.com/

Re: activemq-cpp with -m32 flag

2013-03-07 Thread Timothy Bish
On 03/07/2013 12:41 PM, mah wrote: I did not get a chance to try your method, but I made another workaround; where I manually edited all the autogenerated Makefiles to get rid of any reference to lib64 with lib. Also had to edit libtool file to add in reference to /32 of some referenced files.

Re: activemq-cpp with -m32 flag

2013-03-07 Thread mah
I did not get a chance to try your method, but I made another workaround; where I manually edited all the autogenerated Makefiles to get rid of any reference to lib64 with lib. Also had to edit libtool file to add in reference to /32 of some referenced files. All this in addition to adding in -m3

Re: activemq-cpp with -m32 flag

2013-03-05 Thread Timothy Bish
On 03/05/2013 07:11 PM, mah wrote: So I know that if copy paste the /usr/lib/crti.o file into /usr/lib64/crti.o, this error goes away (this is cheating of course). Is there a way to change the library that "make" looks at from "/usr/lib64" to "/usr/lib" -- View this message in context: ht

Re: activemq-cpp with -m32 flag

2013-03-05 Thread mah
So I know that if copy paste the /usr/lib/crti.o file into /usr/lib64/crti.o, this error goes away (this is cheating of course). Is there a way to change the library that "make" looks at from "/usr/lib64" to "/usr/lib" -- View this message in context: http://activemq.2283324.n4.nabble.com/a

Re: activemq-cpp with -m32 flag

2013-03-05 Thread mah
So I put the -m32 flag in the AMQ_CXXFLAGS AMQ_CFLAGS and it seems to find the 32 bit versions of OpenSSL and I believe the APR and APR_utils as well. However, it crashes on /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o: could not read symbols: File in wrong format -- Vie

Re: activemq-cpp with -m32 flag

2013-03-04 Thread Timothy Bish
On 03/04/2013 05:56 PM, mah wrote: Hi I'm running in a 64-bit RedHat unix environment. I would like to integrate activemq with code developed to only work with 32-bit environment (this means that my code is compiled with a -m32 flag). Is there a 32-bit version of activemq available through a r