This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: Cross compiler usage help


Hi Micheal,
               I kind of figured it out .. i wanted to use a cross
compiler and compile the linux kernel for my OMAP 5912 ARM processor
board...

so just did
make ARCH=arm CROSS_COMPILE=compiler path oldconfig

and then

make ARCH=arm CROSS_COMPILE=compiler path

Thanks for you help.

Regards
Deepak



On 1/11/07, Michael Eager <eager@eagercon.com> wrote:
Deepak Barua wrote:
> Hi ,
>      I have used crosstool to compile a ARM tool chain for a TI board
> but i don't know how i can use it... meaning instead of sing my system
> gcc i want to use the ARM cross compiler gcc stored with it's include
> files and such in a seperate directory ....

It's not quite clear what you want to do.

If you built and installed arm-gcc at /usr/local/bin,
for example, you execute /usr/local/bin/arm-gcc foo.c.

--
Michael Eager    eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



--
Code Code Code Away


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]