Error compiling solaris cross compiler.

Phillip Thurmond
Fri Nov 9 04:00:00 GMT 2001

On Tuesday 13 November 2001 09:03 am, David Korn wrote:
my configure options are
./configure --prefix=/usr/local --target=sparc-sun-solaris

I have downloaded the solaris binary for gcc, but my machines are far to slow 
to do much compiling.  I really need a cross-compiler set up on my linux box 
to compile solaris binaries.

> >-----Original Message-----
> From: Phillip Thurmond []
> >Sent: 13 November 2001 14:33
> >
> > so I added the line
> >#define PATH_MAX 1024
> >into gmon-sol2.c.  This will let me get further into the
> >compile, but then I
> >get errors about struct exception being defined more than
> >once.  Does anyone
> >know what modifications need to be made to 2.95.3 to allow it to be
> >cross-compiled for solaris, or can anyone tell me if I'm doing
> >something
> >wrong?  Thanks
> >
> >					--Phillip Thurmond
>   Solaris is one of the well-used and maintained targets for gcc, so
> it ought to be fairly bugfree.  To know if you're doing anything wrong
> we'd probably have to see your configure options.
>   Alternatively you could probably just get a precompiled version from
>       DaveK

Do You Yahoo!?
Get your free address at

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list