Boost logo

Boost-Build :

Subject: [Boost-build] YNT: had to relocate pch error when cross-compiling boost.math library
From: Gözde Bahar KOÞ (gkos_at_[hidden])
Date: 2009-10-21 03:34:12


I added pch=off to the command line and it worked!

Fyi, gcc version that I use is 4.2.0.

Thank you very much!
Regards,
Gözde Koþ

________________________________________
Kimden: boost-build-bounces_at_[hidden] [boost-build-bounces_at_[hidden]], Juergen Hunold [juergen.hunold_at_[hidden]] Adýna
Tarih: 20 Ekim 2009 Salý 17:32
Kime: Boost.Build developer's and user's list
Konu: Re: [Boost-build] had to relocate pch error when cross-compiling boost.math library

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       !
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
######################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size 
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. 
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, 
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki 
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi 
gorusu olmak zorunda degildir.
######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are 
not the intended recipient please delete the message and notify 
the sender. E-mails to and from the company are monitored for 
operational reasons and in accordance with lawful business practices. 
Any views or opinions presented are solely those of the author and 
do not necessarily represent the views of the company.
######################################################################

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