Re: Build Gcc 14.2 for arm-none-eabi: Gcc git or source from ARM developer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Tue, Aug 20, 2024 at 09:37:21PM +0200, Georg Gast wrote:
> i tried to compile the gcc git repository 14.2 for arm-none-eabi. I
> successfully comiled it for x86_64-linux-gnu. So i tried the --
> build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=arm-none-eabi
> and various combinations with multilib i looked up in the internet. All
> failed.

You don't usually need to specify the build system (the autodetect can
handle that much better), and not the host system either (it defaults to
the build system, just as you want).  So just the --target= is what you
want.

arm-eabi is not the most usual target, of course.  Is it really the one
you wanted?

But it should work fine.  It is very similar to the arm-linux-gnueabi
config, for example, and that one is built a lot (that is a primary
target).

> As i saw in the release criteria for the next gcc 15.0 this platform
> (arm-none-eabi) is not first nor secondary tier, i ask myself: Can this
> only be compiled from the gcc source code from arm?

Everything can always only be compiled from its source code.  What is it
you really wanted to say?  "From ARM"?  I have no idea what source code
they distribute, but the GCC source code (as you can get from
gcc.gnu.org) should work fine.

So, it should build fine, and as far as I can tell, it does.  What is the
problem you encounter?


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux