[Libreoffice] Platform-specific OUTPATH variables

Francois Tigeot ftigeot at wolfpond.org
Mon Aug 29 23:50:23 PDT 2011


On Tue, Aug 30, 2011 at 12:15:50AM -0600, Tor Lillqvist wrote:
> > 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 ? 
> 
> Not unless the way it is done currently is changed. New ideas, and patches to implement them welcome. But don't just break it.

Don't worry, I don't have time to work on it currently anyway.

In theory, we only need two things:
  - tools and binaries to complete the build (run on the host)
  - a place to put the final binaries and files needed to run on the target

> For instance, when cross-compiling to PowerPC Linux from x86_64 Linux (hypothetical example, but as such potentially useful), idlc would be in solver/350/unxlngx6.pro/bin, and the PowerPC binaries being produced in solver/350/unxlngppc.pro/bin.

If I understand correctly, two build subdirectories are only what is needed
here. The problem is they use the exact names of the currently used host and
target platforms. We could simply name them build_tools and target_files for
example and this would eliminate the problem.

> > Can't we at least get rid of the '350' subdirectory ? 
> Yes please.

I'll give it a try then.

-- 
Francois Tigeot


More information about the LibreOffice mailing list