www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/08/16/11:10:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 16 Aug 2021 15:09:27 +0000
From: "Branko Badrljica (brankob AT s5tehnika DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pcb modules - are they actually used ?
Message-ID: <20210816150927.4057dd90@(none)brane_wrks>
In-Reply-To: <CAJZxidBF-csCQTfiUW1ZCxT5yWvXRa40QPh4E2=aGxKFPJqqbQ@mail.gmail.com>
References: <611a1807 DOT 1c69fb81 DOT d149c DOT 293bSMTPIN_ADDED_BROKEN AT mx DOT google DOT com>
<CAJZxidA+gjtR6kM4Wo4==xSsMD9u0Cz=xkY0Cms7o7fvpdG+bQ AT mail DOT gmail DOT com>
<CAJZxidBF-csCQTfiUW1ZCxT5yWvXRa40QPh4E2=aGxKFPJqqbQ AT mail DOT gmail DOT com>
Organization: S5
X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019