raspberrypi / tools

1.89k stars 865 forks source link

libc6-dev about path to sys/cdefs.h #94

Closed MDZ2 closed 5 years ago

MDZ2 commented 5 years ago

libc6-dev path to cdefs.h is /usr/include/arm-linux-gnueabihf/ but when change sysroot to my rpi's root,gcc still find sys/cdefs.h at (sysroot)/usr/include so,how can i use libc6-dev when use my rpi's root as sysroot.

MDZ2 commented 5 years ago

it seems like only way to build a new toolchain with crosstool-NG