S32DS3.4如何把一个.c&.h打包成.a文件(链接库文件)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS3.4如何把一个.c&.h打包成.a文件(链接库文件)

927 Views
DarrenZhang1
Contributor III

S32DS3.4如何把一个.c&.h打包成.a文件(链接库文件)

0 Kudos
Reply
4 Replies

915 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@DarrenZhang1

lib的制作的顺序和S32 Design Studio for Arm的类似,可参考下面的文章

https://mp.weixin.qq.com/s?__biz=MzI0MDk0ODcxMw==&mid=2247484111&idx=1&sn=ec6e7fc287a049378a8397c0fc...

 

0 Kudos
Reply

902 Views
DarrenZhang1
Contributor III

你好,我这边按照流程创建出链接库文件,但是导入到工程中使用编译出现报错;c:/nxp/s32ds.3.4/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe:
c:/nxp/s32ds.3.4/s32ds/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file \libLibary.a(ColorCorrect.o)
collect2.exe: error: ld returned 1 exit status

0 Kudos
Reply

896 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

879 Views
DarrenZhang1
Contributor III

可能刚才截取的信息有些杂,但是我摘取了其中的这两个错误。

error: IL_V3P00.elf uses VFP register arguments;

failed to merge target specific data of file

0 Kudos
Reply