Hi. I'm new to log4cpp, and I have not used C++ in many years, so I apologize if this is a "stupid" question. I've been asked to determine whether log4cpp (version 0.3.4b or later) can be compiled for 64-bit Solaris systems. Is this doable, and if so, then what considerations should I take when compiling? We use gcc 3.3.2 as our compiler.
Thanks in advance!
Can't say for sure - never built it with 64-bit mode. You can try - I'm mostly sure it will compile and work fine.
With gcc it should be no problem. Problems arise when you build with sun CC. A wrong flag (-pthreads) is given to the compiler which generates a Solaris AUDIT dependency to the library and therefore linked applications will not execute. The complain about a missing AUDIT library named "threads". The -p flag tells the sun CC compiler to use the given library as AUDIT library.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.