gEDA-dev: [pcb] patch: export some compile-time options (for
external HIDs)
DJ Delorie
dj at delorie.com
Tue Oct 10 00:11:02 EDT 2006
> My external HID has data (the actual scripts), which is stored in
> pcb-gpmi/, near the .so, in the plugins dir.
They wouldn't be binaries, so they'd go in $prefix, not $exec_prefix.
Then they'd be shared across cpu/os combinations.
> However there are more then one plugins dir and PCB does a search
> which I have to reproduce in my HID.
Well, you need to replicate the places that are searched (cwd, home,
install) but not the exact directories. You'd want to store scripts
in a cpu-independent directory ($prefix), not the cpu-specific one the
.so goes in ($exec_prefix).
More information about the geda-dev
mailing list