sparc elf

Niklaus niklaus@gmail.com
Mon Jun 12 18:28:00 GMT 2006


On 6/12/06, Paul Brook <paul@codesourcery.com> wrote:
> [please don't keep CCing the binutils/gcc development lists. User questions
> are not appropriate there]
>
> > Few questions
> > 1) I can build binutils for sparc-solaris, it works fine.
> > 2) i can build core-gcc for sparc-solaris
>
> Huh? These are not questions.
>
> > 3) How do i build the complete gcc for sparc-solaris. I don't have the
> > headers . I can't use linux headers or glibc as i don't have them on
> > the target machine.
>
> You should already have the headers (and the C library) on your target
> machine. If you don't you need to contact Sun.
>
> Solaris has nothing to do with either glibc or linux, so I've no idea why you
> think those will do you any good.
>
> > 4) Say if  i use newlib for target sparc-solaris, then i will have to
> > write linker scripts.
>
> Why do you want newlib? Just use the Solaris libc.
>
Is there any way to link gcc with solaris libc.  Has libc to be
downloaded (i am not sure , it should exist)
I have never done this before . Can you help me.
How to build gcc with solaris headers.
> > 5)
> > Now how do i compile a hello world program executable and run it on my
> > sparc solaris 10 machine.
>
> Download and install the packages from blastwave.org.
>
 Thats kind of tough because the target machine doesn't have  compiler
and i don't have root access.
> Paul
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list