This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Workaround!? for building the Development Tools (ARM)
- From: "Patrick Otto" <pepperpino at web dot de>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 15 Nov 2001 13:34:59 +0100
- Subject: [ECOS] Workaround!? for building the Development Tools (ARM)
Hi there
I forgot to post my workaround to get the whole things running:
Because I had problems building the Development Tools (ARM-edition).
I use w2000 + cygwin and the binutils-2.11.2, gcc-core-3.0.1, gcc-g++-3.0.1
and insight 5.0.
So i found the problem in the winnt.h file located in the folder
\cygwin\usr\include\w32api.
In row 42 you must change the existing code to following:
#ifndef void
#define VOID void
#ifndef char
#define CHAR char
#ifndef short
#define SHORT short
#ifndef long
#define LONG long
#endif
#endif
#endif
#endif
After that I could install all and now I even able to use Insight and build
the libraries, but as described in other message I have errors building the
tests.
Question: Is my workaround suitable? Or will there occur any problems with
it?
ciao..
Patrick
mail: pepperpino@web.de
ICQ:57446087