Hi, I try to compile the gdb-4.18 in another directory and also for cross-compiling, and have a problem. Here is how I did it: >From a i386-unknow-freebsd machine, I 1. Create another directory: mkdir gdb-freebsd cd gdb-freebsd 2. Compile: ../gdb-4.18/configure --prefix=/home/bach/GDB/gdb-freebsd --srcdir=/home/bach/GDB/gdb-4.18 --target=i386-unknown-netbsd --host=i386-unhnow-freebsd Error message: gcc -DHAVE_CONFIG_H -I. -I/home/bach/GDB/gdb-4.18/opcodes -I. -D_GNU_SOURCE -I. -I/home/bach/GDB/gdb-4.18/opcodes -I../bfd -I/home/bach/GDB/gdb-4.18/opcodes/../include -I/home/bach/GDB/gdb-4.18/opcodes/../bfd -I/home/bach/GDB/gdb-4.18/opcodes/../intl -I../intl -g -O2 -c /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c In file included from /home/bach/GDB/gdb-4.18/opcodes/sysdep.h:28, from /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c:18: config.h:1: parse error at null character In file included from /usr/include/sys/types.h:49, from /usr/include/stdio.h:44, from /home/bach/GDB/gdb-4.18/opcodes/../include/dis-asm.h:12, from /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c:19: /usr/include/machine/types.h:43: warning: data definition has no type or storage class /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c: In function `perror_memory': /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c:50: `LC_MESSAGES' undeclared (first use this function) /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c:50: (Each undeclared identifier is reported only once /home/bach/GDB/gdb-4.18/opcodes/dis-buf.c:50: for each function it appears in.) *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. splice /home/bach/GDB/gdb-freebsd Thank you very much in advance for any inputs. Sincerely, Quang. _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb