Mike,

On Wed, Oct 18, 2006 at 04:13:23PM +0100, MW wrote:
> Having been a Linux developer for some years, and recently looking for
> a way to build a root filesystem with packages and user applications,
> I came across PTXdist which looked very promising, and downloaded
> version 0.9.2 .

Please use 0.10.4, which is the latest version. The 0.9 series is quite
old, and 0.10 has a completely reverted project view. Whereas in 0.9 a
project was an integral part of PTXdist, 0.10 now sees PTXdist as a
tool, so you can basically do something like going to your project dir:

        cd /some/project/dir

and use PTXdist as a normal tool, like

[EMAIL PROTECTED]:/some/project/dir$ ptxdist menuconfig
[EMAIL PROTECTED]:/some/project/dir$ ptxdist go

> However I did not find anything in the way of
> installation instructions, either in the INSTALL file
> or anywhere else.
> I just unpacked the main and patches files into a
> subdirectory of ~/ eventually.

That's a good start. For 0.10, just extract ptxdist-0.10.4.tgz and
ptxdist-patches-0.10.4.tgz into the same directory, then run

        ./configure && make && sudo make install

from the resulting dir. 

> I only want to use one toolchain, but running "make
> <toolchain-project-name>" does not appear to build anything.

Which architecture are you working on?

> "make toolchains" seems to run around for a long time and even asks
> for kernel version, but I only want the arm-uclibc version so why
> build everything else too ?

Sorry, there's no working uClibc support at the moment. Note that,
starting with probably 0.10.5, we will move from crosstool (which
doesn't support uClibc) to our own toolchain build mechanism; it works
so far for the latest glibc toolchains and uClibc could probably be
easily added. 

> I also saw somewhere in the messages that an application called kconf
> was not present. (Currently running on Centos 4.4)

I don't know Centos; usually PTXdist builds it's own kconf, and 0.10.4
should get it right all the way.

> This build system looks as if it could very powerful, but lacks that
> initial 'leg-up' needed to get you going - for example a step-by-step
> creation of a project from initial unpacking of the ptxdist.tar.gz
> files.

I know and we are trying hard to make it better. At the moment I'll
point you to the PTXdist mailing list, which is a good source of
information: 

        http://www.pengutronix.de/mailinglists/index_en.html

It has an archive, people are friendly there and there is also the IRC
channel #ptxdist on freenode.net.

> If this was on a Wiki I would have no problem in adding detail to
> description, in order to help others, but it's just difficult to
> discover the required first steps.

I know and we care about making the situation better, it's mostly a
matter of time. So in the meantime, just ask if something is unclear to
you. 

> So - first step, how to set and then build the required toolchain ? On
> one menuconfig page I set arch ARM but a later default config file
> field said 'm68k.dat' - that's not quite right !

As PTXdist doesn't support uClibc at the moment I would suggest that you
get a toolchain from somewhere else; PTXdist works perfectly well with
external toolchains. 

> Best regards / Besten Dank (as they used to say in Zu:rich!?)

Yea, that's the same here in Germany :-)

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


-- 
ptxdist mailing list
[email protected]

Reply via email to