On Sat, Dec 30, 2006 at 07:34:03AM -0500, Bob Rossi wrote:
> On Fri, Dec 29, 2006 at 11:18:28PM -0600, Curt Arnold wrote:
> > 
> > On Dec 29, 2006, at 6:10 PM, Bob Rossi wrote:
> > 
> > >On Mon, Dec 25, 2006 at 11:08:09PM -0500, Bob Rossi wrote:
> > >>On Fri, Dec 15, 2006 at 09:33:12AM -0500, Bob Rossi wrote:
> > >>>Hi,
> > >>>
> > >>>Here is a patch to get log4cxx to compile with mingw, using g+ 
> > >>>+-4.1. Can
> > >>>someone please apply this for me?
> > >
> > >This is a very simple patch. Can someone please review it?
> > >
> > >I recently switched from log4cpp to log4cxx because I thought log4cpp
> > >was sort of a dead project. Anyone activily working on this project?
> > >Anyone responsible for patch review?
> > >
> > >Thanks in advance!
> > >Bob Rossi
> > >
> > 
> > I committed a slightly different change in rev 491169.  I had spent  
> > several hours today trying to get a working MinGW build going and  
> > passing the unit tests so I wasn't applying a change in the dark.  I  
> > did find a solution for LOGCXX-166, but it seems that that problem  
> > must not occur with the 4.1 gcc you are using versus the 3.4.2 I'm  
> > using.
> 
> You should use gcc 4.1. Apr, apr-util and expat build out-of-the-box
> if you use svn trunk for apr and apr-util and expat official release
> 2.0.0. gcc 4.1 supports wchar_t and makes building log4cxx easy.

I just built log4cxx cleanly from trunk with,

$ ./configure CC=gcc-4.1 CXX=g++-4.1 \
LDFLAGS="-L/pathto/expat/expat-2.0.0/lib:$LDFLAGS" \
--prefix=$PWD/../prefix \
--with-apr=/pathto/apr/apr-1.3.0-cvs/bin/apr-1-config \
--with-apr-util=/pathto/apr-util/apr-util-2006-12-14-cvs/bin/apu-1-config \
--with-thread=Microsoft        
$ make

Thanks,
Bob Rossi

Reply via email to