logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: Socket appender improvements
Date Wed, 02 Jul 2014 18:07:16 GMT
Guten Tag Lucas Vickers,
am Mittwoch, 2. Juli 2014 um 19:04 schrieben Sie:

>   1 - Despite the command line options it will not build a static library.  I've tried 
>       -Denable-shared=no -Denable-static=yes
>       -Denable-static=yes
>   both times it just makes a dylib  

It looks to me enabled-* is not supported, but documented only in the
help of the build file itself, not even on the project page. The
project page mentiones "lib.type" and if I use that with static, I
only get a static lib.

> -Dlib.type      Library type to create, choice of shared (default), static.

I will update the help.

Besides that, the tests seem to fail for me on Windows, don't know
what that means for the lib.


> 2 - dylib is fine except I can not change the dynamic library
> install name.  For xcode I've found it best to set the dynamic
> library install name to
> "@executable_path/../Frameworks/log4cxx_db.dylib", but the ant built
> dylib is "liblog4cxx.dylib" and I seem to find no option to change
> this in the build.xml file, nor can I find this general option for ant

So what's your goal, changing the file name to "log4cxx_db.dylib" only
or get the mentioned path altogether? I don't think this is possible
currently, compiling and linking uses cpptasksm which is an abandoned
project right now and some things are even hard coded there and simply
can't be influenced by the ant build.

> 3 - I see no way to create universal binaries for OS X, or even
> just specify a x86 vs x64 bit architecture.

I think that's cpptasks not supporting such things, too.

Mit freundlichen Grüßen,

Thorsten Schöning

Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

View raw message