ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] ltib


From: tarek allaoua
Subject: Re: [Ltib] ltib
Date: Thu, 30 Apr 2009 18:43:12 +0200

Hi again,
I've installed freescale BSP first and trying to install cvs version (it looks interesting, the last time i've used it it didn't contain mpc51xx support), please take a look to the install log.

2009/4/30 tarek allaoua <address@hidden>
Thank you Stuart for the detailed explanation.

Tarek

2009/4/30 Stuart Hughes <address@hidden>

Hi Tarek,

Broadly speaking the answer is yes you can have multiple versions of LTIB on the same machine.

Here's the detailed answer.

The Freescale and Savannah copies of LTIB will never interfere with each other.  The Freescale LTIB common stuff goes into /opt/freescale and the public Savannah LTIB goes into /opt/ltib.

Now if you have Freescale LTIB and Savannah, and you run a Savannah copy, then it will not download content if it is in /opt/freescale/pkgs (it looks there first).  Also note that there will never be naming collisions in the Freescale/Savannah GPP (content), a file called xyz in the Freescale content is the same as xyz in the Savannah content (that is the GPP is shared).

So far as toolchains go, because of the way they've been built (prefixes don't overlap), one version will never overwrite another.  So you can have gcc-3.3.2 and gcc-4.3 for a given target and they can co-exist.

Now we come onto having different versions of LTIB from the same parent.  For example having 2 Freescale LTIBs of different versions and say 3 Savannah LTIBs of different versions.  As explained above, you don't need to worry about the Freescale and Savannah ones interfering with eachother.  Within a family you should also be okay.  Each instance of LTIB you have is (mostly) private to that instance.  The only shared stuff is under /opt/freescale/... or /opt/ltib/...   I have tried very hard to make sure that backward compatibility in this common area is preserved, so it should be possible to have difference versions and have them all work without problems.

NOTE: if you have a copy of ltib installed, you can copy it and build a completely different target, the different instances will not interfere.

Example:  I have LTIB install and have build the i.MX31 and want to build an mpc8349itx and want to have both available.

  * copy the existing LTIB instance
$ cp -a /home/_user_/_bsps_/imx31 /home/_user_/_bsps_/mpc8349itx
  * change to the new instance's directory
$ cd /home/_user_/_bsps_/mpc8349itx
  * clean it back to a fresh state
$ ./ltib -m distclean
  * start again, select mpc8349itx and build.
$ ./ltib

Of course you can do it many other ways.  For example, if using Savannah you'd be better to do a 'cvs checkout' into a new directory and then run ./ltib.  For a Freescale you could just re-install from the ISO image into a new directory.  The downside of the Freescale ISOs is they only have a single platform available for selection, but that may be what you want.

Regards, Stuart


tarek allaoua wrote:
Hello
Is it possible to install two versions of ltib on the same machine ? i'm asking this question because i would like to keep the ltib version provided by freescale and cvs version, but since that the crosstools and packages are installed by default at /opt/freescale and this path is not prompted during installation i dont know if it is possible.

Thank you in advance.

Tarek


------------------------------------------------------------------------

_______________________________________________
LTIB home page: http://bitshrine.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib


Attachment: bsp-cvs
Description: Binary data


reply via email to

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