Mail Archives: geda-user/2021/08/16/11:10:53
On Mon, 16 Aug 2021 09:41:07 -0400
"Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]"
<geda-user AT delorie DOT com> wrote:
> If you do any substantial development, we'd be happy if you'd submit
> your patches.
Will have to familiarize with internals and svn first :o).
BTW, it ries compiling librnd with LTO and it takes _forever_ .
I've killed linker after an hour of linking.
LTO has significantly accelerated old PCB for me.
I used this configure script:
LIBRND_DIR=/home/000_MAIN/000_PROJECTS/DEV/LIBRND_SVN/000_LIB
COMMON_FLAGS="-march=native -O3 -flto=none -fuse-linker-plugin -pipe"
pushd scconfig
make
./configure --prefix=${LIBRND_DIR} CFLAGS="${COMMON_FLAGS}" LDFLAGS="${COMMON_FLAGS} -Wl,-O3 -Wl,--sort-common -Wl,--as-needed"
popd
It also seems to compile package within source directory.
Which doesn't get cleaned 100% with "make distclean" as subsequent
compile does't behave the same way.
Is there some trick to it or is one expected to nuke and recreate
everything after each attempt ?
For example, fist LTO attempts failed for me UNTIL the first time
I did full non-LTO compile and install. After that, LTO compiles and
installs finish fine...
>
> Here are the links I mentioned earlier:
>
> http://wiki.geda-project.org/geda:pcb_developer_introduction_2
>
> http://wiki.geda-project.org/pcb:plugins
>
>
> On Mon, Aug 16, 2021 at 7:59 AM Chad Parker <parker DOT charles AT gmail DOT com>
> wrote:
>
> > Yes. We call them plugins.
> >
> > If you search, you should be able to find a list of available ones
> > on one of DJ's sites. There's also an extensive how-to on the wiki.
> >
> >
> >
> > On Mon, Aug 16, 2021, 03:47 Branko Badrljica
> > (brankob AT s5tehnika DOT net) [via geda-user AT delorie DOT com]
> > <geda-user AT delorie DOT com> wrote:
> >
> >> I'm browsing through PCB's code, trying to modify it, so that it
> >> would, amongst other things, use GTK4 and thus work on wayland etc.
> >>
> >> I've noticed that idurirng initialization it runs hid_init, which
> >> runs hid_load_dir and that one looks in couple of maps and tries
> >> to dlopen whatever it finds there ( /usr/lib/pcb/plugins,
> >> ~/.pcb/plugins).
> >>
> >> I don't have anything similar there, nor I remeber ever seeing
> >> this.
> >>
> >> Is anyone using this and what is it used for ?
> >>
> >> Regards,
> >>
> >> Branko
> >>
> >
- Raw text -