trouble compiling gdb
Posted: Tue May 10, 2005 11:54 am
Hi
I wan't to compile an i386-pc-elf targeted gdb to go with my cross compiler and to eventually use for remote debugging of my kernel.
Trouble is that I can't get the darn thing to compile (I'm using Cygwin BTW). First I tried the sources that come with cygwin, but it said it couldn't find tcl or tk headers (odd for a commandline program ??? ). I'm now trying to compile the gdb-6.3 sources downloaded from the gnu.org ftp. The trouble with this is that I get this error:
elif [ -f ada-lex.c ]; then \
echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
else \
echo "ada-lex.c missing and flex not available."; \
false; \
fi
flex: can't open /usr/src/gdb-6.3/gdb/ada-lex.l
make[1]: *** [ada-lex.c] Error 1
make[1]: Leaving directory `/usr/cross/i386-elf-gdb/gdb'
make: *** [all-gdb] Error 2
I don't get this as the file is there, but it can't open it, just this one file.
any idea's what I'm doing wrong.
srg
I wan't to compile an i386-pc-elf targeted gdb to go with my cross compiler and to eventually use for remote debugging of my kernel.
Trouble is that I can't get the darn thing to compile (I'm using Cygwin BTW). First I tried the sources that come with cygwin, but it said it couldn't find tcl or tk headers (odd for a commandline program ??? ). I'm now trying to compile the gdb-6.3 sources downloaded from the gnu.org ftp. The trouble with this is that I get this error:
elif [ -f ada-lex.c ]; then \
echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
else \
echo "ada-lex.c missing and flex not available."; \
false; \
fi
flex: can't open /usr/src/gdb-6.3/gdb/ada-lex.l
make[1]: *** [ada-lex.c] Error 1
make[1]: Leaving directory `/usr/cross/i386-elf-gdb/gdb'
make: *** [all-gdb] Error 2
I don't get this as the file is there, but it can't open it, just this one file.
any idea's what I'm doing wrong.
srg