Re: -arch: not found

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

 



On 05/01/17 23:21, Nick Leli wrote:
> I was under the impression that gcc can be built for any architecture,
> as long as you specify what you want to build it for.  Is there
> something additional I need to do in order to get a working compiler
> for a different architecture?  Any insight is greatly appreciated.

You'll need the target headers and libraries.  Copy the root
filesystem of your target machine to directory XX (outside the GCC
tree) and configure --with-sysroot=XX.  Don't use --without-headers.

Andrew.



[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