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

Re: gEDA-user: pcb plugin smartdisperse fails on load



On Thu, 24 Feb 2011 20:48:39 +0000
Peter Clifton <pcjc2@xxxxxxxxx> wrote:

> On Thu, 2011-02-24 at 15:45 -0500, DJ Delorie wrote:
> > > In-tree "plugins" is a +1 from me, as I hate to think of the
> > > level of breakage we could cause if we do more drastic
> > > re-factoring of PCB.
> > 
> > I was thinking, pcb probably will end up needing a command line
> > option to print the right compiler options to build plugins with...
> > especially with the option to use C or C++ now.
> 
> They call that "pkgconfig" in the Gnome-ish world, although it isn't
> Gnome specific. libgeda uses it. It is aimed at libraries, but I think
> it could be made to do what we want.
> 
> You could add it to PCB I guess - we could even teach PCB how to
> invoke the compiler and build plugins if we were feeling over-keen!
> (But perhaps that is encroaching on being too clever).

That would actually be very cool.  Third-party (non-core) plugins could
be distributed as '.c' source files which you load into pcb and it
automatically compiles them on the fly and loads the resulting '.so'.

Regards,
Colin

Attachment: signature.asc
Description: PGP signature


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