This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: missing headerfile windows.h
- To: Odd Lindahl <odd dot lindahl at reterm dot se>
- Subject: Re: missing headerfile windows.h
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 28 Mar 2001 12:06:08 -0500
- Cc: "'gdb at sourceware dot cygnus dot com'" <gdb at sourceware dot cygnus dot com>
- References: <10DFD823BCD8D311ACCD00805FE950B6343EFD@mail.reterm.se>
Odd Lindahl wrote:
>
> Hi,
>
> I'm trying to compile gdb 5.0 and or insight 5.0 in a cygnus 1.18
> environment
> with newlib 1.9.0 and binutils 2.10.1 and gcc 2.95.2 as a cross compiler
> with target=arm-elf.
>
> I've successfully compiled binutils,newlib,gcc and when I do:
>
> $mkdir -p /tmp/build/gdb
> $cd /tmp/build/gdb
> $/src/gdb/gdb-5.0/configure --target=arm-elf \
> >--prefix=/tools \
> >--exec-prefix=/tools/H-i686-pc-cygwin \
> >-v 2>&1 | tee configure.out
Try:
CC="gcc -mwin32" CXX="g++ -mwin32" /.../confgure .....
Andrew