Hi All,

I'm new to this and searched Google and the mailing lists
a bit before posting this. I'm not subscribed to this list,
so I'd appreciate it if whoever answered CCed me directly.

I tried building gcc trunk on Darwin / Intel:

imac20:/datal/gcc_build mohanembar$ uname -a
Darwin imac20.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 
2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

(OS X 10.4.8)

...with this build compiler:

imac20:/datal/gcc_build mohanembar$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

...which is what came with Xcode 2.4.1 (I believe).

I configure like this:

/datal/gcc/gcc/configure --build=i686-apple-darwin8 --target=i686-apple-darwin8 
\
--disable-static --enable-shared --disable-multilib --disable-checking 
--disable-gconf-peer \
--disable-plugin --prefix=/datal/gcc/i686-apple-darwin \
--enable-languages=c,java,objc --with-gmp=/opt/local --with-mpfr=/opt/local

...where gmp and mpfr were obtained and installed via DarwinPorts.

I haven't built any special version of odcctools since I assumed that
they would be up-to-date enough with this Xcode.

When I do a make, I get:

gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o 
build/gengtype \
    build/gengtype.o build/gengtype-lex.o build/gengtype-yacc.o build/errors.o 
../build-i686-apple-darwin8/libiberty/libiberty.a
build/gengtype
/datal/gcc/gcc/gcc/config/i386/darwin.h:244: unterminated comment or string; 
unexpected EOF
make[3]: *** [s-gtype] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

Any clues? Thanks in advance.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/



Reply via email to