-------------------------------------- Korean --------------------------------------
arm-none-eabi-gcc 로 컴파일 할 때 pthread를 사용할 경우... 오류가 난다....

arm-none-eabi-gcc: error: unrecognized command line option ‘-pthread’


해결방법은 arm-linux-gnueabihf-gcc 를 사용하면된다.


-------------------------------------- English --------------------------------------
I'm trying to compile a C thread program with arm-none-eabi-gcc and then i got an error message.

arm-none-eabi-gcc: error: unrecognized command line option ‘-pthread’


You can solve this error, trying to compile with arm-linux-gnueabihf-gcc instead of arm-none-eabi-gcc.

Thank you.

+ Recent posts