Add GCC version detection.

Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
This commit is contained in:
Bernard Xiong
2018-05-14 21:37:11 +08:00
parent ab33cd3110
commit 6ac213d622
7 changed files with 213 additions and 33 deletions
-14
View File
@@ -103,20 +103,6 @@ if RT_USING_DFS
help
Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
if RT_USING_DFS_NET
config HAVE_SYS_SELECT_H
bool "Toolchains/libc have provided sys/select.h"
default n
help
Toolchains/libc have provided sys/select.h file, therefore, disable the sys/select.h in RT-Thread.
config HAVE_SYS_SOCKET_H
bool "Toolchains/libc have provided sys/socket.h"
default n
help
Toolchains/libc have provided sys/socket.h file, therefore, disable the sys/socket.h in RT-Thread.
endif
config RT_USING_DFS_ROMFS
bool "Enable ReadOnly file system on flash"
default n