The gcc that is usually made with crosstool already has relative include
paths statically coded in, so you don't need to bother specifying
anything different.
Isn't it great though when you're using eclipse for a cross-coding
environment? It's really easy, don't you think? ... Does your eclipse
come up with autocompletions based on prototypes even for cross compilation?
~/Chris
mrjbradski wrote:
> I have been trying to use Eclispe/Ubuntu as a cross development
> platform for the arm. Im no pro in the linux world. Anyway, I created a
> new profile in eclipse named arm-debug, and pointed to the following
> inlcude directory: ..../crostool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-
> linux/include, library path of ..../crostool/arm-linux/gcc-3.3.4-glibc-
> 2.3.2/arm-linux/lib. I also used the bin's located in
> the ..../crostool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/bin
> directory.
>
> Next, I created a basic hello world app, using the include of
> <stdio.h>. Press build, then got 28 errors parsing the stdio.h file.
>
> For the heck of it, I deleted the include statememt, build, and I got a
> executable that really worked on my arm platform!
>
> SO... what is wrong with the stdio.h file... or should I put it, what
> is wrong with what I did?
>
> Thanks
>
> Rich
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|