Re: Advice on compiling GCJ for ARM
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
On 22/09/10 16:05, Josh Marinacci wrote: >> 4.5 branch: more or less 4.5.1. >> >>> & glibc are you using? >> >> Hmmm, dunno. Whatever is in Fedora 12: glibc-2.11.2-1. > > Ah, so you are compiling against a premade glibc for your target > OS. That was the part I was missing. That's always the easiest way to do it. Build gcc against a system that works, and you have a complete cross-gcc. You can use that cross-gcc to make your target OS; that way you have a fully working cross-gcc from the start. Andrew.