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" .

猜你喜欢

转载自www.cnblogs.com/praiseslow/p/12142881.html