headers and/or preprocessor defines for newlib nano
Asked by
Sergei Sharonov
Hello,
Is there a guide/howto on how to configure toolchain to use newlib nano? Let's say we pass "-specs=nano.spec" to linker. Now we need to make sure our headers match precompiled newlib nano binaries. I figure one way of doing it is do pass some defines to preprocessor. e.g.:
-D_REENT_SMALL and -D_REENT_
Otherwise library and application will have different notion of struct _reent guts and cause a lots of weird problems.
I am not sure if any others defines are needed. What is the "officially approved" way of configuring this?
Thank you,
Sergei
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Sergei Sharonov for more information if necessary.
To post a message you must log in.