On 16/01/2011 06:29, Takashi Ono wrote:
> Hi Maho,
>
> In message "Re: [porting-dev] More on "tools" module; on FreeBSD",
> Maho NAKATA wrote...
>
> >where
> ../../solver/300/unxfbsdi.pro/workdir/Headers/Library/libcomphelpergcc3.so
> comes
> from?
>
> The names of the libraries are defined in Reopsitory.mk and
> RepositoryFixes.mk in source
> root. I think you need some fix entries for FreeBSD in RepositoryFixes.mk.
yes, exactly.
the problem is that unfortunately there is significant creativity when it
comes to library names in OOo.
gbuild needs to construct the file names of the library somehow.
this is done by generic rules that e.g. append the 2/3-letter platform
suffix and such.
in many cases this is sufficient, but there are quite a few exceptions.
like comphelper, which is called libcomphelp4gcc3.so or something like
that on linux, and something else on windows, for reasons nobody knows.
these exceptions are handled on a per-platform basis in RepositoryFixes.mk.
if your platform is "just like linux", then you may be able to just re-use
the linux stuff in that file.
the goal is of course that once all modules are migrated to gbuild we can
rename the exceptions so they follow the rules instead, and get rid of the
RepositoryFixes.mk.
--
Prof. Farnsworth: Good Lord! That's over 5000 atmospheres of pressure!
Fry: How many atmospheres can the ship withstand?
Prof. Farnsworth: Well, it was built for space travel,
so anywhere between zero and one.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]