[uClinux-dev] Re: uclinux-elf-tools-20030314 released

David McCullough davidm at snapgear.com
Tue Mar 25 18:55:11 EST 2003


Jivin Erwin Authried lays it down ...
> Am Mon, 2003-03-24 um 23.03 schrieb David McCullough:
> 
> > 
> > 
> > The m68k-elf tools have always needed a '-lc'.  I haven't added it into
> > the specs file as a lot of people use these tools for embedded (non
> > linux) development and libc may not be appropriate.  I know you may use
> > -nostdlib and -nostartfiles,  but since it has been this way for so long
> > I haven't wanted to change it.
> > 
> Hi David,
> 
> I think it isn't a good idea to leave out -lc. The toolchain should be

I will add it,  the arm tools already do it and I was considering it
but chose to leave things the way they were because I had already spent
way too much time fixing bugs in both tool chains and didn't want to
find out after another build/test iteration that it broke something else :-)

> able to work with any well written Makefile without any uClinux or
> architecture specific stuff in it, presuming that your environment is
> set up properly (CC,CFLAGS,LDFLAGS). I have set up my ARM toolchain this
> way, and it was possible to build rather big packages without (ok,
> almost without:->) any changes, e.g. the mysql client library, rlpr, and
> several others...

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security



More information about the uClinux-dev mailing list