Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Converting static library file to static shared objects (.a to S.a ): (3 Items)
   
Converting static library file to static shared objects (.a to S.a )  
Hi ,


Please tell me how to convert xxx.a file to xxxS.a .

Thanks and Regards
K.Senthil
AW: Converting static library file to static shared objects (.a to S.a )  
you can't do that.
a xxxS.a is source that is compiled as position independant code (-fPIC) so that you can use it as relocatable one.
to build a xxxS.a you need to build your *.o with -fPIC and then use the archiver to build your xxxS.a

take a look at this article for more details
http://www.qnx.com/developers/articles/article_308_2.html

HTH
/hp
 

>-----Ursprüngliche Nachricht-----
>Von: Senthil K [mailto:community-noreply@qnx.com] 
>Gesendet: Donnerstag, 3. Dezember 2009 13:53
>An: general-networking
>Betreff: Converting static library file to static shared 
>objects (.a to S.a )
>
>Hi ,
>
>
>Please tell me how to convert xxx.a file to xxxS.a .
>
>Thanks and Regards
>K.Senthil
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post43083
>
>
RE: Converting static library file to static shared objects (.a to S.a )  
Hi 

I think renaming your variant folder to a.be.shared instead of a.be should help.
Give a try. 


BR,
Akash Goswami

-----Original Message-----
From: Hans-Peter Reichert [mailto:community-noreply@qnx.com] 
Sent: Thursday, December 03, 2009 6:36 PM
To: general-networking
Subject: AW: Converting static library file to static shared objects (.a to S.a )

you can't do that.
a xxxS.a is source that is compiled as position independant code (-fPIC) so that you can use it as relocatable one.
to build a xxxS.a you need to build your *.o with -fPIC and then use the archiver to build your xxxS.a

take a look at this article for more details http://www.qnx.com/developers/articles/article_308_2.html

HTH
/hp
 

>-----Ursprüngliche Nachricht-----
>Von: Senthil K [mailto:community-noreply@qnx.com]
>Gesendet: Donnerstag, 3. Dezember 2009 13:53
>An: general-networking
>Betreff: Converting static library file to static shared objects (.a to 
>S.a )
>
>Hi ,
>
>
>Please tell me how to convert xxx.a file to xxxS.a .
>
>Thanks and Regards
>K.Senthil
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post43083
>
>



_______________________________________________

General
http://community.qnx.com/sf/go/post43084