Hi,
  If you want to cross compile, specify --build=BUILD and --build=HOST for example:
"./configure --build=i686-linux --host=arm-linux" , where i686-linux is host and
and arm-linux is target.

You can also dircectly compile oprofile on the target, but will take lot of time to
install the package.

With regards,
Deepak T Y


-----Original Message-----
From: Charles Chan [mailto:cchan_qa@yahoo.com]
Sent: Sun 1/4/2009 11:17 AM
To: oprofile-list@lists.sf.net
Subject: Instructions for cross compile oprofile using CodeSourcery 2008q3arm-none-linux-gnueabi toolchain

Hi,

Is there any information available on how to cross compile oprofile 0.9.4 for ARM? My host is an Ubuntu 8.10 desktop and my target is an ARM-Linux based embedded system. I would like to use CodeSourcery's 2008q3 toolchain. I have read the document/manual but I only got as far as:

# ./configure --with-kernel-support

How do I specify the toolchain and compiler switches to use?

Any help would be much appreciated!

Thanks,
Charles



     

This message (including any attachment) is confidential and may be legally privileged. Access to this message by anyone other than the intended recipient(s) listed above is unauthorized. If you are not the intended recipient you are hereby notified that any disclosure, copying, or distribution of the message, or any action taken or omission of action by you in reliance upon it, is prohibited and may be unlawful. Please immediately notify the sender by reply e-mail and permanently delete all copies of the message if you have received this message in error.