Platform: Ubuntu22.04 for wsl2
I am trying to check some Macros defined in _newlib_version.h, but I found that they are not filled with actual value. The following is the code snippet from the file /opt/riscv-newlib/riscv64-unknown-elf/include/_newlib_version.h.
/* _newlib_version.h. Generated from _newlib_version.hin by configure. */
/* Version macros for internal and downstream use. */
#ifndef _NEWLIB_VERSION_H__
#define _NEWLIB_VERSION_H__ 1
/* The newlib version in string format. */
#define _NEWLIB_VERSION "@NEWLIB_VERSION@"
/* The newlib major version number. */
#define __NEWLIB__ @NEWLIB_MAJOR_VERSION@
/* The newlib minor version number. */
#define __NEWLIB_MINOR__ @NEWLIB_MINOR_VERSION@
/* The newlib patch level. */
#define __NEWLIB_PATCHLEVEL__ @NEWLIB_PATCHLEVEL_VERSION@
#endif /* !_NEWLIB_VERSION_H__ */
I git clone the branch master, and I follow Installation (Newlib/Linux multilib) to install the toolchain. According to the comment _newlib_version.h. Generated from _newlib_version.hin by configure., I think that @xxx@ should be replaced when I make. Do I neglect anything?
Thanks.