[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Fa
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost! |
Date: |
Fri, 13 Nov 2009 19:18:57 +1100 |
2009/11/13 Volker Grabsch <address@hidden>:
> Joost Kraaijeveld <address@hidden> schrieb:
>> On Thu, 2009-11-12 at 11:56 +0100, Stefan Peter wrote:
>> > I think I have found the reason for this error: If you have installed a
>> > native bjam on your system, the bjam that is built for building boost
>> > picks up the /etc/site-config.jam. It seems that in this case the
>> > user-config.jam fails to override the gcc to use.
>> >
>> > Renaming /etc/site-config.jam for the boost build does, at least on my
>> > system, result in a successful build.
>>
>> Yes, I confirm that this is the problem/solution. Thanks for looking
>> into the problem.
>
> This is a reasonable workaround, but is there also a "real" solution?
>
> Are we able to force the cross-built Boost to use it's own Bjam
> without disabling the native Bjam?
>
> Is there any way to improve the src/boost.mk in this regard?
I was able to replicate the problem by creating an
/etc/site-config.jam with a single line - using gcc ;
The bjam option --ignore-site-config succeeds.
diff -r 446e8d4cdcff src/boost.mk
--- a/src/boost.mk Thu Nov 12 14:33:03 2009 +0100
+++ b/src/boost.mk Sat Nov 14 05:28:45 2009 +1100
@@ -46,6 +46,7 @@
cd '$(1)/tools/jam/src' && ./build.sh
cd '$(1)' && tools/jam/src/bin.*/bjam \
-j '$(JOBS)' \
+ --ignore-site-config \
--user-config=user-config.jam \
target-os=windows \
threading=multi \
Tony
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, (continued)
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Tony Theodore, 2009/11/10
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Tony Theodore, 2009/11/10
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Joost Kraaijeveld, 2009/11/10
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Tony Theodore, 2009/11/10
- Message not available
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Joost Kraaijeveld, 2009/11/11
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Tony Theodore, 2009/11/11
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Volker Grabsch, 2009/11/11
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Stefan Peter, 2009/11/12
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Joost Kraaijeveld, 2009/11/12
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Volker Grabsch, 2009/11/12
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!,
Tony Theodore <=
- Re: [Mingw-cross-env-list] mingw-cross-env-2.9: DEbian Squeeze AMD65: Failed to build package boost!, Volker Grabsch, 2009/11/13