Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Tue, Aug 30, 2011 at 12:51 AM, Francois Tigeot <ftigeot@wolfpond.org> wrote:
On Mon, Aug 29, 2011 at 12:17:33AM -0600, Tor Lillqvist wrote:
I'd like to consolidate the different OUTPATH values to a single one or two
at most (unx and wnt). Thoughts ?

That will break cross-compilation as currently implemented. It isn't entirely unthinkable that 
somebody might at some point want to cross-compile from some (well, *the*) mainstream Linux 
platform, x86_64, to a rare Linux platform.

I have no idea how cross-compilation is currently implemented, but can't that
be done with the same build directory name for all platforms ? I would think
the path which matters most in the end is the installation one...

no, in cross compile you may have to build object/executable that run
on the build machine on top of objects/executable for the target
machine (thinks about stuff we build and use during the build like
idlc or the like)


If we have just one OUTPATH for all Unixes, the above won't work.

Can't we at least get rid of the '350' subdirectory ? Apart from $OUTPATH it
seems to always be empty.

Due to the way the build system works, I have to put many of the lib/
subdirectories in LD_LIBRARY_PATH. Otherwise, LibreOffice can simply not be
packaged in pkgsrc:

LD_LIBRARY_PATH=${BUILDLINK_DIR}/lib:${WRKSRC}/desktop/unxdfly.pro/lib:${WRKSRC}/solver/350/unxdfly.pro/lib:${WRKSRC}/desktop/unxnbsd.pro/lib:${WRKSRC}/solver/350/unxnbsd.pro/lib:${X11BASE}/lib

For now, I only do this for DragonFly and NetBSD but this is not ideal and I will
certainly blow up some limit if I add all the Linux variants...

I'm confused, why do you need to concatenate all of these ?

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.