Crosscompiling kernel with CDT [message #154076] |
Wed, 14 September 2005 16:11  |
Eclipse User |
|
|
|
Originally posted by: lamikr.cc.jyu.fi
Hi
Another question considering crosscompiling...
If I somehow manage to import kernel to Eclipse project I have another
question considering crosscompiling...
I am building kernel with arm-linux crosscompiler just for a hobby.
The crosscompiler has all executables like gcc, ar, ld named like
arm-linux-gcc, arm-linux-ar, etc...
Do I need to be able to configure CDT to use arm-linux-gcc commands
instead of using gcc or all all problems solved if I just somehow manage
to define the build that CDT needs to use for building:
"make O=/home/lamikr/own/h6340/kernel/build_ipaq_h6300 ARCH=arm
CROSS_COMPILE=arm-linux-"
In addition do I need to take care that the cross-gcc:s bin is in the
path before I launch Eclipse or can I somehow configure the location of
gcc that CDT must use?
Mika
|
|
|
Re: Crosscompiling kernel with CDT [message #154519 is a reply to message #154076] |
Fri, 16 September 2005 06:39  |
Eclipse User |
|
|
|
Hi,
If u r using "Managed Make" in CDT, u need to change the Makefile as
CC = arm-linux-gcc, ld = arm-linux-ld .....etc.
If u r using "Standard Make" in CDT, u need to write a Makefile with
the above said dependencies.
Moreover, while invoking arm-linux-gcc, it should be in the "Path".
I succeded with this in "Windows" using cygwin.
Regards,
Senthil Kumar S
|
|
|
Powered by
FUDForum. Page generated in 0.02830 seconds