Alexandre Martins <alexandre.martins <at> netasq.com> writes:

> ... 
> first.c:
> ...
> second.c
> ...
> main.c
> ...
>         while(42)

How do you exit that loop ?

> ...
> Compilation and execution :
> 
> gcc -shared -O0 -g second.c -o second.so
> gcc -shared -O0 -g first.c -o libfirst.so
> gcc -O0 -g toto.c -lfirst -L. -o test
> export LD_LIBRARY_PATH=$PWD
> gdb ./test
> ...

What is your toto.c (source code) ?
What about your main.c in compilation ?

jb
   





_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to