This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Cusson, Pascal wrote:
Hi everyone, I am having a hard time compiling my Ethernet driver. For those of you who have done before, I could surely use a few good pointers.
[snip]
Um, this is your native GCC, not powerpc-eabi-gcc ! And in any case you aren't defining __ECOS on the compile line (-D__ECOS) as described in the docs. It's better to copy an existing eth driver and then problems like that are prevented before they happen :-).[pcusson@pcusson-linux src]$ make gcc -c -I/home/pcusson/simall/install/include ETH_Driver.c -L/home/pcusson/simall/install/lib -Ttarget.ld -nostdlib
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |