Buildroot:哪个gcc用于交叉编译?

时间:2021-01-05 07:01:01

I am newbee to buildroot. I can see multiple gccs in buildroot. I assume all are for cross compilation. What are the difference between those ?

我是buildroot的新手。我可以在buildroot中看到多个gcc。我假设所有都是用于交叉编译。那些有什么区别?

buildroot-2012.05/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
buildroot-2012.05/output/host/usr/libexec/gcc
buildroot-2012.05/output/host/usr/arm-linux/bin/gcc
buildroot-2012.05/output/host/usr/arm-unknown-linux-uclibcgnueabi/bin/gcc

2 个解决方案

#1


1  

The one you should use is buildroot-2012.05/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc. The other ones are purely internals binaries.

你应该使用的是buildroot-2012.05 / output / host / usr / bin / arm-unknown-linux-uclibcgnueabi-gcc。其他的纯粹是内部二进制文件。

#2


0  

Use arm-linux-gcc or arm-buildroot-linux-uclibcgnueabihf-gcc. In fact arm-linux-gcc is soft linked to arm-buildroot-linux-uclibcgnueabihf-gcc.

使用arm-linux-gcc或arm-buildroot-linux-uclibcgnueabihf-gcc。实际上arm-linux-gcc与arm-buildroot-linux-uclibcgnueabihf-gcc软连接。

#1


1  

The one you should use is buildroot-2012.05/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc. The other ones are purely internals binaries.

你应该使用的是buildroot-2012.05 / output / host / usr / bin / arm-unknown-linux-uclibcgnueabi-gcc。其他的纯粹是内部二进制文件。

#2


0  

Use arm-linux-gcc or arm-buildroot-linux-uclibcgnueabihf-gcc. In fact arm-linux-gcc is soft linked to arm-buildroot-linux-uclibcgnueabihf-gcc.

使用arm-linux-gcc或arm-buildroot-linux-uclibcgnueabihf-gcc。实际上arm-linux-gcc与arm-buildroot-linux-uclibcgnueabihf-gcc软连接。