Lunar Mushrooms
Lunar Mushrooms

Reputation: 8968

Buildroot : Which gcc for cross compilation?

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-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

Upvotes: 1

Views: 3513

Answers (2)

Madara Uchiha
Madara Uchiha

Reputation: 21

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

Upvotes: 0

Thomas Petazzoni
Thomas Petazzoni

Reputation: 5966

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.

Upvotes: 3

Related Questions