Re: [Help] Options to cross compile gcc14

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

 



Thanks,
If your host is not arm-linux-gnueabihf, it is a crosscompiler yes.  The
definition of cross-compiler is the host and target being different from
each other.  Often the architecture is different, but only the OS
different is a cross-compiler as well, or even just a variantn of the OS
makes one.

Usually build=host, but how a compiler is built has nothing to do with
anything really :-)  Of course it does matter how you build something if
you want it to work in the end, heh.

Normally you do not want to specify --build=, the autodetect works a
lot better than what you can guess :-)  And if you want to run the
compiler on the machine you are building on you do not want to give
--host= either, the default is to use host=build!  :-)

For cross-compilers, you obviously do want --target=, and almost
certainly you want some --with-prefix= as well, but not many other
configure flags at all.

I also tried that but pthread header is not found.

Jose




[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