On 12/24/05, Joerg Schilling <schilling at fokus.fraunhofer.de> wrote:
> Cyril Plisko <cyril.plisko at gmail.com> wrote:
>
> > -D__powerpc -D__powerpc__ -U_BIG_ENDIAN -c -o debug32/rootnex.o
> > ../../chrp/io/rootnex.c
> > cc1: warnings being treated as errors
> > In file included from ../../common/sys/sunddi.h:41,
> > from ../../common/sys/esunddi.h:32,
> > from ../../common/sys/sunndi.h:37,
> > from ../../chrp/io/rootnex.c:38:
> > ../../common/sys/cmn_err.h:58: warning: 'cmn_err' is an unrecognized
> > format function type
> > ../../common/sys/cmn_err.h:62: warning: 'cmn_err' is an unrecognized
>
> Compiling Solaris is currently an extremely ugly hack. It is unclear
> when internal include files are used and when the includefiles
> from /usr/include of the host system are used.
>
> Has your GCC compiled not to use /usr/include but check a cross root
> instead?
Yes.
>
> Did you create a usable <sys/varargs.h> and probally <varargs.h>?
Not yet. PowerPC ABI has some specific words on this things, AFAIR.
>
> Note that need to be careful when compiling varargs related stuff.
Most definitely.
>
> And check my last mail, it contains the right hints....
Yeah, that's more or less what I am doing...
J?rg, I actually count on you for all the stuff related to standard
compliance - I know you'll never let it slipped through your hands :)
--
Regards,
Cyril