You can look for a pre-compiled tool chain like the one provided
by CodeSourcery. I am using one like that succesfully here.
I don't know on what kernel version the header are based, but it is much more recent thant 2.6.10

Or you can try to build your own using helper script.
Google for crosstool-ng !

However, may be I misunderstood your question.
What are you trying to achieve ? Do you want to build user code
or kernel code ? I guess if you want to use functions defined in fs/inotify.c, your problem is not with the toolchain, but with understanding the build system.
Steve Chen a écrit :
On Fri, 2009-05-29 at 15:00 +0530, Viral Sachde wrote:
Hi all,

*** Correcting mistake in message.

I have tool chain which contains 2.6.10 kernel. I have compiled 2.6.27
for board and executed it. I have installed kernel header in separate
folder and included it's path. Now, I wish to cross compile program,
which is using functions defined in 2.6.27 and were not present in
2.6.10***. Specifically, I am interested to use functions defined in file
"fs/inotify.c", this file is not available in 2.6.10. What all I have
to update my tool chain so that it now uses new kernel source and
header for all reference.

Regards, Viral

Monta Vista has an extensive build environment setup to build the
toolchain.  If you don't have access to the build environment, it is not
a trivial task.  If you have access to Monta Vista support, that would
probably be the easiest way to go.

Regards,

Steve

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to