Menu

log4cpp on 64-Bit Solaris?

Help
Greg
2010-01-07
2017-01-22
  • 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!

    Greg

     
  • 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.

     
    • Arvind

      Arvind - 2017-01-16

      I have tried to build log4cpp-2.7.0-rc1 on SunOS 5.10 Generic but unable to get a 64 bit library built despite using flags like -m64, xarch=generic64, -G and -Kpic. Can you please help me build 64 bit libraries of log4cpp for Solaris.

      Thankyou

       

Log in to post a comment.

MongoDB Logo MongoDB