gcc 3.4 toolchain question

Bradley Remedios bremedios at gmail.com
Sat Oct 14 09:49:57 CEST 2006


On 10/14/06, Amadeus <amadeus at iksw-muees.de> wrote:
> As far as I know (I have read some howto with google), dynamic linking
> is working with uCLinux + glibc and "non-working" with uCLInux and
> uClibc. "non-working" because you have to add static IDs to the dynamic
> libraries, and this will in turn lead to code bloat.

There is a really old article here
http://linuxdevices.com/articles/AT3186625227.html that talks about
two companies that apparently did this back in July of 2002.

> So I have decided against having shared libs. The "applets" in PIXIL are
> so small that it doesn't matter to link them all together in the
> executable. All we must do is to add a prefix to the non-static
> functions, and do some sort of applet registration.

I would have to agree with this.

> Do you have evidence that shared libs are working fine in uCLinux +
> uClibc + FLT binaries?

Yes, back in 2002 on a Coldfire according to an article in
LinuxDevices but I don't believe that it would be worth it, or at
least not right now.  I think that the concentration should be on
getting something up and running first.

I started to make some changes to just go and see if DSO's would even
work with DSLinux, but ran into a weird problem with linking ncurses.

I'll continue with what I am doing to see what works, maybe the code
that the companies wrote back in 2002, made it into the system
although I really doubt it.  This shouldn't take me too long I hope.
-- 
Bradley Remedios
bremedios at gmail.com



More information about the dslinux-devel mailing list