Hi David

Thanks for the info.

You have mentioned to set the CROSS_COMPILE_PREFIX to root. Does this
apply for Windows environment too ? Montavista installs Cygwin and
actual montavista lies in the directory "/opt/montavista". So should I
set  CROSS_COMPILE_PREFIX to "/" or "/opt/montavista" ?

Regards
Vidya.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, March 07, 2008 3:18 AM
To: [EMAIL PROTECTED];
[email protected]
Subject: cross-compiling DirectFB and others


Greetings,

I've bounced this to both DirectFB Dev (which people trying to get it
working on davinci should hop over to) and the davinci open source list.

With the risk of sounding foolish, I admit that I've spent more and a
few hours trying to cross compile DirectFB among other things for the
montavista toolchain.
Most answers to fix this involve setting all the LDFLAGS and such.

I guess I should have read the docs better, because there is a variable
referenced in all of the libtool .la files that makes this extremely
easy:
CROSS_COMPILE_PREFIX

If you export this as your root filesystem path, cross compiles work
just fine.
This includes the frustrating "libtool picks up the wrong libs" issue.

Again, this is probably common knowledge, but if I overlooked it then
maybe some others did too.

Regards,
David

DAVID A. KONDRAD
Software Design Engineer
On-Q/Legrand
www.onqlegrand.com

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

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

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

Reply via email to