Err, apologies. I was too quick. The include parameter is there, the -D__USE_W32_SOCKETS isn't. Same question : why?
Danny
On Sun, 2006-11-05 at 12:10 +0100, Danny Backx wrote:
> Simon,
>
> I've just rerun a complete build using scripts/linux/build.sh .
>
> The command that compiles gdb/wince.c on my system is this (copied from
> a typescript, it's one long line) :
>
> gcc -c
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/w32api/include
> -D__USE_W32_SOCKETS -D__arm__ -DARM -U_X86_ -U_M_IX86 -U__i386__
> -U__i486__ -U__i586__ -U__i686__ -DUNICODE -DUNDER_CE -D_WIN32_WCE
> -DWINCE_STUB='"arm-wince-cegcc-stub.exe"' -I.
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/config
> -DLOCALEDIR="\"/usr/ppc/share/locale\"" -DHAVE_CONFIG_H
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/../include/opcode
>
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/../readline/..
> -I../bfd
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/../bfd
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/../include
> -I../intl
> -I/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/../intl
> -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
> -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label
> -Wunused-function
> /home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gdb/gdb/wince.c^M
>
> I see one big difference with the command from your log : the -I ..
> w32api/include and -D__USE_W32_SOCKETS aren't there in your case.
>
> If you look at scripts/linux/build-gdb.sh you'll see :
> #
> CFLAGS="-I$TOP_SRCDIR/src/w32api/include -D__USE_W32_SOCKETS"
> export CFLAGS
> #
> $TOP_SRCDIR/src/gdb/configure \
> --prefix=$PREFIX \
> --target=$TGT_ARCH || exit 1
> make || exit 1
> exit 0
>
> Can you figure out why the CFLAGS don't make it through on your system ?
>
> Danny
>
> On Sun, 2006-11-05 at 01:40 +0100, Simon Posnjak wrote:
> > I managed to build the svn version of the tool chains on Linux. I can
> > confirm (as reported earlier) that there is a problem with building
> > gdb on Ubuntu 6.10 - I attached the error.
>
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
