[Libreoffice] few queastions about building sal

Stephan Bergmann stephan.bergmann.secondary at googlemail.com
Mon Aug 29 00:48:29 PDT 2011


On Aug 28, 2011, at 11:57 PM, Matúš Kukan wrote:
> I was working on gbuildizing sal and few problems showed up:
> 
> 1, in sal/osl/unx/system.h:75 there is #if GLIBC >= 2
>    but I could not find how is GLIBC defined. In Env.Host.sh I have
> GLIBC="2REDHAT60" but that is something else probably.
>    (wrong branch in #if .. #else .. is executed for me)

solenv/inc/unxlng.mk: CDEFS+=-DGLIBC=2

> 2. Then also somewhere has to be defined architecture for
> rtl/source/macro.hxx, but I could not find where it is for build
>    and may be we need add this to gbuild/platform/*

solenv/inc/settings.mk: CDEFS=-D$(OS)

> 3. There were functions which are visible in library but are not in
> exported headers and not used in LibreOffice outside sal
>    and are listed in qa/helper/gcov/deprecated.txt (there are also
> other functions listed)

Do you have an example of such a function?

-Stephan


More information about the LibreOffice mailing list