Building on x86_64

Asked by jarekluberek

The build build-*.sh seem to want a i686 system. How to I build it on x86_64.
Why can I not build this on a x86_64 system.

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Terry Guo
Solved:
Last query:
Last reply:
Revision history for this message
Best Terry Guo (terry.guo) said :
#1

You are right. The Ubuntu 8.10 on an i686 pc is a verified build environment. For other system, we don't get enough effort to test all of them.

But if you want to run on a x86_64 system, you can try command "./build-toolchain.sh --ppa --skip_mingw32", the precondition is all the depended libraries should be installed firstly (the ones from system, not the ones from our source package).

Revision history for this message
Joey Ye (jinyun-ye) said :
#2

As 32 bit release works on both, we didn't think it necessary to build for
64. We are happy to see people improve it for more environment.
On Nov 13, 2013 9:21 PM, "jarekluberek" <
<email address hidden>> wrote:

> New question #239167 on GCC ARM Embedded:
> https://answers.launchpad.net/gcc-arm-embedded/+question/239167
>
> The build build-*.sh seem to want a i686 system. How to I build it on
> x86_64.
> Why can I not build this on a x86_64 system.
>
> --
> You received this question notification because you are an answer
> contact for GCC ARM Embedded.
>

Revision history for this message
jarekluberek (jarek-luberek) said :
#3

>But if you want to run on a x86_64 system, you can try command "./build-toolchain.sh --ppa --skip_mingw32", the precondition is >all the depended libraries should be installed firstly (the ones from system, not the ones from our source package).

Thanks, that worked. Everything builds. I get much further along with gdb now though it still segfaults but much deeper into the session. The i686-version crashed almost immediately.

I didn't get a libexec-directory in this build which I noticed the summon toolkit had. Do I need it? Things seem to work without it.

Revision history for this message
jarekluberek (jarek-luberek) said :
#4

Thanks Terry Guo, that solved my question.

Revision history for this message
Trevor Woerner (trevor-woerner) said :
#5

> But if you want to run on a x86_64 system, you can
> try command "./build-toolchain.sh --ppa --skip_mingw32"

In build-toolchain.sh it looks as though the "--ppa" option
implicitly adds the "--skip_mingw32" option. So (just to be
pedantic) all you need is

$ ./build-toolchain.sh --ppa

Revision history for this message
Joey Ye (jinyun-ye) said :
#6

Please be noticed that since 4.8 release, it can be built on x86_64 system, without any addition options.