[En-Nut-Discussion] Getting started using W2k
Harald Kipp
harald.kipp at egnite.de
Tue Oct 19 15:49:17 CEST 2004
Hi Greg,
aahh, Slickedit...good ol'days of OS/2 :-)
No idea, what had been moved around in which way. But the
include files are not subject to the PATH, but a compiler
option.
By default, Makedefs specifies
INCPRE = -I
INCDIR = $(top_srcdir)/include
and Makerules makes use of this at
%o : %c
$(CC) -c $(CPFLAGS) $(INCFIRST) -I$(INCDIR) $(INCLAST) $< -o $@
Hope this helps.
Harald
At 13:51 19.10.2004 +0200, you wrote:
>Hi,
>
>
>
>I ve just received my Ethernut 2.1 rev B and now I need to set up the
>development environment. I use GCC (latest version of WinAVR) and
>SlickEdit for the IDE for which I have developed some apps for the Mega128
>on my own dev board (so my compiler, paths, etc is all OK). I m simply
>trying to recompile one of the sample applications but I have found I m
>doing some fiddling moving files around so the compiler doesn t complain.
>My compiler now can t see any of the following (+ many more):
>
>
>
>rs232d.c:80:24: dev/nicrtl.h: No such file or directory
>
>rs232d.c:82:25: dev/uartavr.h: No such file or directory
>
>rs232d.c:84:22: sys/heap.h: No such file or directory
>
>&&&&&&.
>
>
>
>I ve tried changing my path to these directories (dev, sys, etc) but it
>doesn t help. It seems so simple but I can t fix it without totally
>restructuring the directory tree. I ve run the config tool and rebuilt the
>system files. It seems like such a simple problem (that I can t solve)!
>Can anyone help?
>
>
>
>Thanks
>
>Greg
More information about the En-Nut-Discussion
mailing list