[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] building my C/C++ application for FREESCALE m532xevb

From: Stuart Hughes
Subject: Re: [Ltib] building my C/C++ application for FREESCALE m532xevb
Date: Thu, 01 Feb 2007 11:05:44 +0000

Hi Giovanni,

FYI: there is some help here:


You do not have to use an RPM, but it is recommended as it takes care of
wiring in the compiler and setting up rootfs/usr/{include,lib}.  It also
helps when you want to update the package as it takes care of managing
which files are in a package.

However, if you prefer not to, you can use the cross compiler that your
BSP is using.  The way to get the details is to look in:
config/platform/m532xevb/.config (or defconfig if you've not built it)
and find (for example):


You can then use this information outside LTIB to build your package.
If you need to access the interface of another package you'll need to
remember to add -I<path_to_your_ltib>/rootfs/usr/include and
-L<path_to_your_ltib>/rootfs/usr/lib . You may also need

2. For the MMUless processors (only), LTIB is very limited in the
packages that will actually build and work (the ones in the defconfig).
Until there is a dist/uClinux/... in LTIB you may be better to use as this has better userspace
package support.  If you need to you can use the kernel pieces from LTIB
and the toolchain and just use it to build your userspace. 

NOTE to all: for processors with MMUs this does not apply, and LTIB is a
good choice (~150 packages build with either glibc or uClibc).

Regards, Stuart

On Thu, 2007-02-01 at 11:13 +0100, address@hidden
> Hi,
> 1. I am starting using ltib-m532xevb-20061117 with M5329 board and I have not 
> yet understood how I can use ltib to
> compile-buid an application from my sources: do I have to build an RPM, if I 
> want to use ltib?
> Does someone has a hint about how to use the tools-chain, system libs, inclde 
> fiels etc. from outside of ltib?
> 2. Many of the packages selectable in the ltib interactive menu produce build 
> errors (libjpeg, for example) How can I
> know which packages have been succesfully tested?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]