From: Andy Pont <andy@embeddedsw.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] HOSTCC version
Date: Wed, 10 Dec 2008 08:12:11 -0000 [thread overview]
Message-ID: <000901c95a9f$01581720$04084560$@co.uk> (raw)
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.
next reply other threads:[~2008-12-10 8:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 8:12 Andy Pont [this message]
2008-12-10 8:28 ` [U-Boot] HOSTCC version Wolfgang Denk
2008-12-10 9:56 ` Andy Pont
2008-12-10 10:58 ` Wolfgang Denk
2008-12-10 18:41 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000901c95a9f$01581720$04084560$@co.uk' \
--to=andy@embeddedsw.co.uk \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox