From: Josef Holzmayr <holzmayr@rsi-elektrotechnik.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Error while setting up toolchain
Date: Mon, 06 Aug 2012 12:38:41 +0200 [thread overview]
Message-ID: <501F9EB1.4070700@rsi-elektrotechnik.de> (raw)
In-Reply-To: <1343839934.56923.YahooMailNeo@web194904.mail.sg3.yahoo.com>
Not really sure if it helps, but some thoughts for now:
Am 01.08.2012 18:52, schrieb Dhruv Chawda:
> I followed the following steps:
>
> # cd ~/local
> # sudo mkdir -p /opt/OSELAS.Toolchain-2011.11.1
> # sudo chown `whoami` /opt/OSELAS.Toolchain-2011.11.1
Why are you doing that by hand?
> # tar zxvf /opt/OSELAS.Toolchain-2011.11.1.tar.bz2
> # cd OSELAS.Toolchain-2011.11.1
> # ptxdist select ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
> # ptxdist go
>
>
> Version:
>
> OSELAS.Toolchain-2011.11.1 and ptxdist-2012.07.0
You should better use the correct version for building the toolchain.
Basically that combination should give you a nice big fat warning, which
you probably just "clicked away" by using ptxdist migrate, which in turn
might have broken things.
Check the first few lines of the file
ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
to see which ptxdist version fits the toolchain.
Then grab that version and compile it. No need to install it, just place
a link there and then use it:
(in your un-tar'ed toolchain directory)
ln -s /path/to/where/you/compiled/ptxdist-201x.yy.zz/bin/ptxdist p
./p select
ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
./p go
... and i'd remove the hand-created target directory in /opt first and
let ptxdist do it the way it needs it.
Greetz
_____________________________________________________________
Josef Holzmayr
Dipl-Ing. (FH)
Entwicklung Embedded Devices / Software
Tel.: +49 8444 9204-48>
Fax: +49 8444 9204-50
holzmayr@rsi-elektrotechnik.de
R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2012-08-06 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 16:52 Dhruv Chawda
2012-08-06 10:38 ` Josef Holzmayr [this message]
2012-08-06 16:17 ` ZhangLei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=501F9EB1.4070700@rsi-elektrotechnik.de \
--to=holzmayr@rsi-elektrotechnik.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox