https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97798
--- Comment #9 from jozefl at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #8) > My attempt to build msp430 fails with: > > In file included from > /home/jwakely/gcc/msp430-elf/msp430-elf/include/stdint.h:13, > from > /home/jwakely/src/gcc/build-16bit/gcc/include/stdint.h:9, > from > /home/jwakely/src/gcc/build-16bit/msp430-elf/large/libstdc++-v3/include/bits/ > align.h:36, > from > /home/jwakely/src/gcc/build-16bit/msp430-elf/large/libstdc++-v3/include/ > memory:72, > from > /home/jwakely/src/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:82: > /home/jwakely/gcc/msp430-elf/msp430-elf/include/sys/_intsup.h:68:2: error: > #error "Unable to determine type definition of intptr_t" > 68 | #error "Unable to determine type definition of intptr_t" > | ^~~~~ > > > Is that related? Newlib is required for MSP430. Symlink the newlib/ and libgloss/ subdirs into the GCC tree root.