This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Error configuring gcc's libobjc under cygwin-1.1.2
- To: <gcc at gcc dot gnu dot org>
- Subject: Error configuring gcc's libobjc under cygwin-1.1.2
- From: =?Windows-1252?Q?Christian_J=F6nsson?= <c dot christian dot joensson at telia dot com>
- Date: Sat, 15 Jul 2000 07:43:51 +0200
When trying to build gcc under cygwin-1.1.2, I get an error while
configuring in libobjc:
checking for stdio.h... yes
checking for ANSI C header files... yes
checking for thread file... awk: not found
this gives me the trouble of not having any vars like
@OBJC_THREAD_FILE@ I guess so I end up here:
/usr/local/src/objdir-gcc-20000714/gcc/xgcc -B/usr/local/src/objdir-gcc-20000714/gcc/ -B/usr/local/i686-pc-cygwin/bin/ -c -I. -I../../../gcc/libobjc -g -O2 -DIN_GCC -DIN_TARGET_LIBS -I../../../gcc/libobjc/objc -I../../../gcc/libobjc/../gcc -I../../../gcc/libobjc/../gcc/config -I../../gcc -I../../../gcc/libobjc/../include ../../../gcc/libobjc/thr.c
make[2]: *** No rule to make target `thr-.c', needed by `thr-.o'. Stop.
and this is because I don't have awk. But I have gawk...
Now, in the top level config.cache, there's already identified:
ac_cv_prog_AWK=${ac_cv_prog_AWK='gawk'}
So, either check for awk, gawk, mawk etc also when configuring libobjc
and check the config.cache.
But, since I'm no expert in this area, I don't have a patch to submit, sorry.
Cheers anyway,
/ChJ