[LLVMdev] Re: [llvm-announce] LLVM 1.3 Release!]

Robert Feldt
Sun, 15 Aug 2004 14:25:04 -0000

Chris Lattner wrote:

>              LLVM Compiler Infrastructure -- Release 1.3
>                        http://llvm.cs.uiuc.edu
>
>We are pleased to announce the release of version 1.3 of the LLVM
>Compiler Infrastructure.
>
>
>
Great news, thanks.

However, I wonder if someone supplies pre-built cfrontend binaries for
cygwin?

I followed the instructions and tried to build them myself but get

gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-p
rototypes -pedantic -Wno-long-long -fno-common -Wno-error
-DHAVE_CONFIG_H    -I
. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include  \
 -DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"3.4-llvm
\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-cygwin\"
-DSTANDARD_BINDIR_PREFIX=\"/bin/\
" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test
"X${SHLIB_LINK}" = "X"
|| test "
no" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test
"X${SHLIB_MULTILIB}" = "X"
|| echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
 -c ../../src/gcc/gcc.c -o gcc.o)
../../src/gcc/gcc.c:942: warning: string length `529' is greater than
the length
`509' ISO C89 compilers are required to support
../../src/gcc/gcc.c:960: warning: string length `608' is greater than
the length
`509' ISO C89 compilers are required to support
../../src/gcc/gcc.c:1544: warning: string length `695' is greater than
the lengt
h `509' ISO C89 compilers are required to support
../../src/gcc/gcc.c: In function `process_command':
../../src/gcc/gcc.c:3694: error: assignment of read-only location
../../src/gcc/gcc.c:3696: error: assignment of read-only location
make[1]: *** [gcc.o] Error 1
make[1]: Leaving directory `/usr/pd/llvm/cfrontend/build/gcc'
make: *** [all-gcc] Error 2

when building the cfrontend. Any ideas?

This is on a Windows XP Pro SP1 machine running a recently updated cygwin with

$ gcc --version
gcc (GCC) 3.3.3 (cygwin special)

Regards,

Robert Feldt




--
Robert Feldt         robert.feldt at htu.se
tel: +46-520-475072, mob:+46-733-580580
Ass Prof, Phd, Senior Lecturer of SW Engineering
Dept. of Informatics and Mathematics, HTU
P.O. Box 957, SE-461 29 Trollhättan, SWEDEN