michaelrsweet / mxml

Tiny XML library.
https://www.msweet.org/mxml
Apache License 2.0
426 stars 157 forks source link

how to cross compile MXML for STM32 MCU? #292

Closed tyrael-cui closed 2 years ago

tyrael-cui commented 2 years ago

hi ,i want to use MXML in a board based on STM32 MCU without linux. Is there a way to cross comile MXML for this ? Thanks for any help!

michaelrsweet commented 2 years ago

The configure script supports the usual GNU cross-compilation options (--host=xxx and --build=xxx). Beyond that you'd need to set the CC and AR environment variables to point to your cross-compiler and cross-archiver programs.