S32DS for power中gcc编译器的部分选项

updates libraries (-L) paths in compiler and linker options

3.14 Options for Directory Search
These options specify directories to search for header files, for libraries and for parts of the
compiler:
-Idir
Add the directory dir to the head of the list of directories to be searched for
header files.

-Ldir
Add directory dir to the list of directories to be searched for ‘-l’.


Script files (-T) This option passes the -T argument to the C/C++ linker file. This option is
supported by most systems using the GNU linker. On some targets, such
as bare-board targets without an operating system, the -T option may be
required when linking to avoid references to undefined symbols
For A53 SoC, this parameter is set to: "${ProjDirPath}/
Project_Settings/Linker_Files/S32V_CA53_ram.ld" .

Please note that GCC adds prefix "lib" and the extension ".a" to the library name entered into the above dialog by default.

 

posted @ 2020-01-03 00:01  panrui  阅读(813)  评论(0编辑  收藏  举报