| July 27, 2004 | GPL Compliance for Software Developers | Linking against static libraries |
#include "triangle.h"
int main (int argc, char** argv) {
int n; n = atoi (argv [1]); triangle (n);
}
****************
** ** ** **
**** ****
** **
********
** **
****
**
$ ldd testtriangle
libc.so.6 => /lib/tls/libc.so.6 (0x40029000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
| Next: Dynamic linking Previous Top |
![]() |
Copyright © 2004, Free Software Foundation. Verbatim copying permitted provided this notice is preserved. |