This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc complains about missing -lgcc_eh for m68k-linux


>> What I'm trying to do is to take crosstool for m68k-linux, and
>> duplicate its commands to allow me to use local sources that I have in
>> a CVS tree to build a toolchain. 
>
>Ah, you should be able to do that directly using crosstool.sh.
>getandpatch.sh is the only part that cares about tarballs.

Yeah I could, but I've been using my make infrastructure's about as
long as crosstool has been around, so I'm more comfortable with it :)

>> Since I'm building toolchains as I
>> edit pieces, I'm using make to rebuild only the bits that need it
>> instead of using crosstool to rebuild the whole world.
>
>What I do when in edit-compile-test cycles is to take the key
>bits of the crosstool log and turn them into a little shell
>script, which usually looks like
>   PATH=...
>   cd ...
>   make ...

I'll have to give that a go.

>> My reason for doing this is to put together a ColdFire v4e compiler
>> and a glibc ColdFire v4e add-on that allows for *dynamic* linking
>> using the SYSV ABI without breaking the m68k-linux target for both.
>> This will *definitely* take some time, so expect some more questions :)
>
>Ah, glibc target addon, eh?   I heard the glibc maintainers wanted to go
>this route for new ports, but hadn't seen one yet.  Looking forward to seeing it.

Well there's one now for the am33.  See:
http://sources.redhat.com/ml/libc-alpha/2004-10/msg00130.html
for Roland's announcement.  They hide in the ports module of the glibc
CVS repository.  Since ColdFire is far enough different than m68k, I
have to have a seperate sysdep/coldfire anyway, so I'm thinking of making
coldfire a stand-alone add-on and --target=coldfire-linux work for
binutils, gcc, glibc.... 

>> When I get it near enough to working I'll be looking for some beta
>> testers who can help me out verifying it works for them, both on m68k
>> platforms as well as ColdFire.
>
>What, people with actual hardware? :-)

M68k hardware is still out there, and ColdFire v4e hardware exists!
LogicPD did the 547x/548x eval board for Freescale.  See
http://www.logicpd.com/eps/som-etx/ for more info.

-- 
Peter Barada
peter@the-baradas.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]