Compiling Shared Libs

Compiling Shared Libs

Post by Michael C. Vergall » Wed, 26 Feb 1997 04:00:00



Hi,

Where can find the info on how to modify the compile options so libraries are
compiled shared instead of being compiled as static libs ?

Thnks

Michael C. Vergallen

--
Michael C. Vergallen A.k.A. Mad Mike,
Sportstraat 28                  http://www.double-barrel.be/mvergall/
B 9000 Gent                     ftp://ftp.double-barrel.be/pub/linux/
Belgium                         tel : 32-9-2227764 Fax : 32-9-2224976

 
 
 

Compiling Shared Libs

Post by B.A.McCau.. » Mon, 03 Mar 1997 04:00:00



Quote:

>Where can find the info on how to modify the compile options so libraries are
>compiled shared instead of being compiled as static libs ?

Many many places, including the Linux GCC-HOWTO.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


 
 
 

Compiling Shared Libs

Post by Michael C. Vergall » Wed, 05 Mar 1997 04:00:00




>>Where can find the info on how to modify the compile options so libraries are
>>compiled shared instead of being compiled as static libs ?

>Many many places, including the Linux GCC-HOWTO.

>--

> .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

>.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
> # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


Thnks, to all who have sent me the info I needed to compile Mesa with only shared libs
it's available from my ftp site + it has the glut stuff included.

Michael.    

--
Michael C. Vergallen A.k.A. Mad Mike,
Sportstraat 28                  http://www.double-barrel.be/mvergall/
B 9000 Gent                     ftp://ftp.double-barrel.be/
Belgium                         tel : 32-9-2227764 Fax : 32-9-2224976

 
 
 

1. HOw to compile SHARED libs?

Could someone tell me how to compile library sources into a SHARED library?
I looked in the GNU CC manual and saw a -shared option, but the manual said
it only worked on a few examples. The main problem I am having is with
the XPM library. It built as a .a file just fine, but I can't get it to
build shared, which is how fvwm expects it. If anyone has advice, please
send it to


For whatever reason, we don't currently get comp.os.linux.help at my office.

Thanks,
Joey Gibson

2. create_proc_entry....

3. 1 * vxjcLnWdi-Compiling shared lib with native Sun compiler (cc, aka, CC)

4. isapnp/modem help needed bad

5. 1 * BgyKFFrNo-Compiling shared lib with native Sun compiler (cc, aka, CC)

6. Proxim PCMCIA wireless card problem

7. Compiling shared libs in aix

8. Migrating to new hw with mksysb tape. No luck.

9. 2 * tCTtngjxY-Compiling shared lib with native Sun compiler (cc, aka, CC)

10. Compiling shared lib with native Sun compiler (cc, aka, CC)

11. newdie: compiling shared libs

12. 1 * xuzIBiqvq-Compiling shared lib with native Sun compiler (cc, aka, CC)

13. 1 * NmepTvXvo-Compiling shared lib with native Sun compiler (cc, aka, CC)