Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [12-2006 Date Index] [Date Next] || [Thread Prev] [12-2006 Thread Index] [Thread Next]

[openbeos] Re: compiling errors

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 09 Dec 2006 15:22:39 +0100
On 2006-12-06 at 17:58:57 [+0100], Bernd Korz <bernd.korz@xxxxxxxxxxx> wrote:
> 
> i tried to compile Haiku with GCC4.

Host platform compiler (which version exactly?), cross compiler (judging from 
the path, I'd say it is the gcc4), or both?

> I made it all as you write in your
> ReadMe file. I ended up with an error:
> 
> /bison.simple:614: warning: comparison between signed and unsigned
> /bison.simple:626: warning: comparison between signed and unsigned
> gcc   -O2  -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes     -DHAVE_CONFIG_H
> -DGENERATOR_FILE  -o build/gengtype \
>  build/gengtype.o build/gengtype-lex.o build/gengtype-yacc.o \
>  build/errors.o ../build-i586-pc-beos/libiberty/libiberty.a
> build/gengtype
> /Source/sourcecodes/haiku/haiku/buildtools/trunk/gcc/gcc/input.h:52: parse
> error, expecting `GTY_TOKEN'
> make[1]: *** [s-gtype] Error 1
> make[1]: Leaving directory
> `/Source/sourcecodes/haiku/haiku/haiku/trunk/generated/cross-tools-build/gcc
> /gcc'
> make: *** [all-gcc] Error 2
> ERROR: Building gcc failed.

I've no really helpful idea. In doubt it helps to analyze what the compiler 
actually complains about, best understood when looking at the pre-processed 
source.

CU, Ingo

PS: Just in case you're trying under Zeta. Cross-compilation is currently 
only supported under Linux and partially under FreeBSD.





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.