[so] Legare biblioteci

Razvan Dobre home at doraz.ro
Wed Mar 10 10:03:11 EET 2010


Salut

 

Poti verifica cu ldd hello sa vezi cu cine iti linkediteaza.

 

From: so-bounces at cursuri.cs.pub.ro [mailto:so-bounces at cursuri.cs.pub.ro] On
Behalf Of Dragos Tarcatu
Sent: Wednesday, March 10, 2010 9:57 AM
To: Sisteme de Operare
Subject: Re: [so] Legare biblioteci

 

Salut,





Nu stiu daca merge altfel decat cu argumente explicite catre ld, la modul:


gcc hello.o -Wl,-Bstatic -lexemplu1 -Wl,-Bdynamic -lexemplu2 -o hello





Dragos

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20100310/df58ba12/attachment.htm>


More information about the so mailing list