public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] HOSTCC version
@ 2008-12-10  8:12 Andy Pont
  2008-12-10  8:28 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Pont @ 2008-12-10  8:12 UTC (permalink / raw)
  To: u-boot

Hello,

What version of host gcc is needed for building the tools such as
mkimage.exe?  My embedded Linux development environment is Cygwin (1.3.22)
based and includes gcc 3.4.4 which gives compiler errors for versions of
U-Boot 1.3.3 and later.

make[1]: Entering directory
`/home/andy/bootloaders/uboot/u-boot-2008.10/tools'
gcc -g -Wall -idirafter /home/andy/bootloaders/uboot/u-boot-2008.10/include
-idi
rafter /home/andy/bootloaders/uboot/u-boot-2008.10/include2 -idirafter
/home/and
y/bootloaders/uboot/u-boot-2008.10/include -DTEXT_BASE=0xFE000000
-DUSE_HOSTCC -
O -c -o mkimage.o mkimage.c
In file included from ../include/libfdt.h:54,
                 from fdt_host.h:25,
                 from mkimage.h:36,
                 from mkimage.c:25:
/home/andy/bootloaders/uboot/u-boot-2008.10/include/libfdt_env.h:50: error:
conf
licting types for 'uintptr_t'
/usr/include/cygwin/types.h:167: error: previous declaration of 'uintptr_t'
was
here
In file included from fdt_host.h:25,
                 from mkimage.h:36,
                 from mkimage.c:25:
../include/libfdt.h: In function `fdt_set_magic':
../include/libfdt.h:162: warning: implicit declaration of function
`__cpu_to_be3
2'
In file included from mkimage.c:26:
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h: At top level:
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h:193: error:
parse error before "ulong"
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h:195: error:
parse error before "load"
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h:197: error:
parse error before '}' token
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h:211: error:
parse error before "ulong"
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h:231: error:
parse error before "os"
/home/andy/bootloaders/uboot/u-boot-2008.10/include/image.h:231: error:
conflicting types for 'os'

And so it goes on!  If I remove mkimage from the BIN_FILES line of
tools/Makefile then the rest builds OK.

Thanks in advance,

A.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-10 18:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10  8:12 [U-Boot] HOSTCC version Andy Pont
2008-12-10  8:28 ` Wolfgang Denk
2008-12-10  9:56   ` Andy Pont
2008-12-10 10:58     ` Wolfgang Denk
2008-12-10 18:41       ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox