Re: Using dinamic librarys

1999-10-18 Thread David Z. Maze
Micha Feigin <[EMAIL PROTECTED]> writes: MF> How do I compile a program to use dinamic libraries (.so)? By default any library you link against (with the -l switch to cc/ld) is dynamically linked. So, if you need to use libm.so, the standard math library, you'd just use a command something like

Using dinamic librarys

1999-10-18 Thread Micha Feigin
How do I compile a program to use dinamic libraries (.so)? Thanx [EMAIL PROTECTED]

Re: Compiling and using c librarys (.a and .so)

1999-10-17 Thread Greg Wooledge
Micha Feigin ([EMAIL PROTECTED]) wrote: > How do I compile and use both static and dinamic libraries under linux? Static: gcc -c foo.c gcc -c bar.c ar rv libfoo.a foo.o bar.o Dynamic: gcc -c -fpic foo.c gcc -c -fpic bar.c gcc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.1.0 foo.o b

Compiling and using c librarys (.a and .so)

1999-10-17 Thread Micha Feigin
How do I compile and use both static and dinamic libraries under linux? Any good tutorial on the subject? Thanx [EMAIL PROTECTED]

Re: Librarys

1998-02-12 Thread David Z. Maze
Pete Poff <[EMAIL PROTECTED]> writes: PP> Can someone tell me what file I need off of ftp.debian.org that PP> contains all the .h files like, types.h, and time.h? libc[56]-dev PP> Can someone also tell me what command to use to see how much PP> space I have left? df -- __

Re: Librarys

1998-02-12 Thread Alex Yukhimets
> Can someone tell me what file I need off of ftp.debian.org that > contains all the .h files like, types.h, and time.h? I need the ones that > work with the gcc compiler. I've downloaded gcc*.deb, gdb*c, and > make*deb. Can someone also tell me what command to use to see how much > space I

Librarys

1998-02-12 Thread Pete Poff
Can someone tell me what file I need off of ftp.debian.org that contains all the .h files like, types.h, and time.h? I need the ones that work with the gcc compiler. I've downloaded gcc*.deb, gdb*c, and make*deb. Can someone also tell me what command to use to see how much space I have left?