|
Boost-Build : |
Subject: Re: [Boost-build] had to relocate pch error when cross-compiling boost.math library
From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2009-10-20 10:32:59
Hi,
On Tuesday 20 October 2009, Gözde Bahar KO? wrote:
> I want to cross-compile boost libraries for a montavista linux target
> on a windows XP host computer running cygwin.
Which gcc version ?
> I configured the user-config.jam file for my compiler, then I ran the
> following command to compile boost. All libraries except math
> library were compiled successfully.
>
> bjam toolset=gcc-em64t target-os=linux install
This sounds good.
> For boost.math library, the following error occurs:
>: fatal error: had to relocate PCH compilation terminated.
looks like a compiler bug. Works on Linux/Windows with gcc-4.4.
> Is there a missing path declaration?
> Or do i need to disable pch? If so how can i disable it?
Just add "pch=off" to your command line.
Or try to add <pch>off the the compiler options.
This works for gcc-3.3.5 which has no pch-support...
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold_at_[hidden] ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk