[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb library and hid build modification



> How do you do:
>    gcc -c swig_wrapper.c
>    gcc -shared pcb swig_wrapper.o -o swig_pcb.so
> without gcc cursing at you?

%.so : %.c
     gcc $(INCLUDES) -g -O2 -Wall -shared $< -o $@

Shared libraries can have cyclic dependencies with the app that loads
them.  You don't link against the app, though.

> And taken further if you want to access all the functions that the
> PCB core provides you have to link against all of the object files.

Um, no?


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user