log4cpp on 64-Bit Solaris?

  • Greg

    Greg - 2010-01-07

    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!


  • darkangel

    darkangel - 2010-01-07

    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.

  • Theodor Willax

    Theodor Willax - 2010-04-29

    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.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks