In message <[EMAIL PROTECTED]> you wrote:
>
> > I'm not sure what you wanted to express with your comment?
> 
> Well, it seems you have "properly" configured toolchain - you installed
> proper kernel headers. In my case it ends with:

Well, yes, a correctly configured and working toolchain is considered
a prerequisite for U-Boot development.

> fw_env.c:39:27: error: mtd/mtd-user.h: No such file or directory
> 
> Here I have no opportunity to tell compiler where to find that header.
> I'd have to put them on some "standard" place, which could conflict with
> 2.4 headers. I do not want to pass U-Boot specific flags, just fw_setenv
> specific.

It's not fw_setenv specific. You would have to do the same  when  you
cross-compile  any  other  native  Linux  application  code. The best
approach would be to fix your toolchain.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
"The algorithm to do that is extremely nasty. You might want  to  mug
someone with it."                   - M. Devine, Computer Science 340

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to