atc1441 / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
2.76k stars 463 forks source link

gcc C++ TC32 #171

Open pvvx opened 3 years ago

pvvx commented 3 years ago

Maybe someone knows where to get gcc С++ for TC32?

atc1441 commented 3 years ago

Does this help https://github.com/rosly/t32eclipse/tree/master/tc32

pvvx commented 3 years ago
tc32-elf-gcc.exe -E -x c++ test.cpp
tc32-elf-gcc.exe: language c++ not recognized
tc32-elf-gcc.exe: language c++ not recognized
tc32-elf-gcc.exe: test.cpp: linker input file unused because linking not done

tc32-elf-cpp.exe test.cpp
tc32-elf-cpp.exe: test.cpp: C++ compiler not installed on this system

It looks like Telink doesn't have C ++ on TC32. Andes Technology did not give Telink GCC c C++ for TC32(?) :) Telink was unable to build the C ++ compiler :)