Using .S file in compiling - BAMBU

36 views
Skip to first unread message

hesam

unread,
Feb 23, 2022, 11:56:30 AM2/23/22
to PandA project discussions and questions
Hello,
I want to know how can I use .S (assembly) files, like (https://github.com/kaniini/libucontext/tree/master/arch/x86_64) in source code with c or c++. for example I want to use getcontext method in my code while the method implementation is existed in .S file and for using that I need to add .S file in my GCC command line. I convert .S file to .a and try to use that by -l command in babmu but it sends parsing error.
So, if it's possible inform me about the right solution. 
Reply all
Reply to author
Forward
0 new messages