boost for ppc

View: New views
7 Messages — Rating Filter:   Alert me  

boost for ppc

by yigit agabey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello friends,
I am new to boost and that jam works...I have a board with mpc5121 cpu and i want to cross compile boost for this powerpc platform. I checked out the docs, googled around; but i have nothing in hand now.
Can anybody tell me "step by step" what to do ? Shouldn't it be just easy as to tell bjam which toolchain it will use?

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost for ppc

by Vladimir Prus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 26 June 2009 yigit agabey wrote:

> Hello friends,
> I am new to boost and that jam works...I have a board with mpc5121 cpu and i
> want to cross compile boost for this powerpc platform. I checked out the
> docs, googled around; but i have nothing in hand now.
> Can anybody tell me "step by step" what to do ? Shouldn't it be just easy as
> to tell bjam which toolchain it will use?

The step by step instructions can be found at:

        http://www.boost.org/boost-build2/doc/html/bbv2/tasks/crosscompile.html

Please let me know if they work for you.

Thanks,
Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost for ppc

by yigit agabey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Volodya. I ve already tried that; but i think i am missing something:

After adding " using gcc : power : ppc_6xx-g++ ;" to user-config.jam,

command:
bjam toolset=ppc_6xx-g++

output:
ppc_6xx.jam: No such file or directory
/home/yg/downloads/boost_1_39_0/tools/build/v2/build/toolset.jam:38: in toolset.using
rule ppc_6xx.init unknown in module toolset.
/home/yg/downloads/boost_1_39_0/tools/build/v2/build-system.jam:465: in process-explicit-toolset-requests
/home/yg/downloads/boost_1_39_0/tools/build/v2/build-system.jam:545: in load
/home/yg/downloads/boost_1_39_0/tools/build/v2/kernel/modules.jam:283: in import
/home/yg/downloads/boost_1_39_0/tools/build/v2/kernel/bootstrap.jam:138: in boost-build
/home/yg/downloads/boost_1_39_0/tools/build/v2/boost-build.jam:8: in module scope

It asks for a ppc_6xx.jam file, how will i prepare it?


2009/6/26 Vladimir Prus <ghost@...>
On Friday 26 June 2009 yigit agabey wrote:

> Hello friends,
> I am new to boost and that jam works...I have a board with mpc5121 cpu and i
> want to cross compile boost for this powerpc platform. I checked out the
> docs, googled around; but i have nothing in hand now.
> Can anybody tell me "step by step" what to do ? Shouldn't it be just easy as
> to tell bjam which toolchain it will use?

The step by step instructions can be found at:

       http://www.boost.org/boost-build2/doc/html/bbv2/tasks/crosscompile.html

Please let me know if they work for you.

Thanks,
Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost for ppc

by Vladimir Prus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 26 June 2009 yigit agabey wrote:

> Thanks Volodya. I ve already tried that; but i think i am missing something:
>
> After adding " using gcc : power : ppc_6xx-g++ ;" to user-config.jam,

Here, gcc is the name of toolset, power is the version you declare, and
ppc_6xx-g++ is the binary.

>
> command:
> bjam toolset=ppc_6xx-g++

This asks Boost.Build to use toolset named ppc_6xx-g++, which does not exist.
Similar to docs, you should be using:

        bjam toolset=gcc-power

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost for ppc

by yigit agabey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok, now the jam file?

command:
bjam toolset=gcc-power

output:
error: error: no Jamfile in current directory found, and no target references specified.

2009/6/26 Vladimir Prus <ghost@...>
On Friday 26 June 2009 yigit agabey wrote:

> Thanks Volodya. I ve already tried that; but i think i am missing something:
>
> After adding " using gcc : power : ppc_6xx-g++ ;" to user-config.jam,

Here, gcc is the name of toolset, power is the version you declare, and
ppc_6xx-g++ is the binary.

>
> command:
> bjam toolset=ppc_6xx-g++

This asks Boost.Build to use toolset named ppc_6xx-g++, which does not exist.
Similar to docs, you should be using:

       bjam toolset=gcc-power

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost for ppc

by Vladimir Prus-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yigit agabey wrote:

> ok, now the jam file?
>
> command:
> bjam toolset=gcc-power
>
> output:
> error: error: no Jamfile in current directory found, and no target
> references specified.

Right, and what directory are you running bjam in? Does not seem
like it's top-level dir of Boost source tree.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: boost for ppc

by yigit agabey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hımm ok..that was really a silly mistake...

It looks ok now..
Thanks a lot.

2009/6/26 Vladimir Prus <vladimir@...>
yigit agabey wrote:

> ok, now the jam file?
>
> command:
> bjam toolset=gcc-power
>
> output:
> error: error: no Jamfile in current directory found, and no target
> references specified.

Right, and what directory are you running bjam in? Does not seem
like it's top-level dir of Boost source tree.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build