Re: [t2] some questions about t2

2007-06-14 Thread René Rebe
Hi Elia,

welcome to the list.

On Saturday 09 June 2007 15:33:04 z4ziggy wrote:

 I too am a new user of t2, coming from buildroot. I like the vast
 package collection and i am mainly interested in a uclibc (embedded)
 system. however, i have some problems/questions:
 
 1. why does it take so long for the configuration to move from one
 window to the other? as another user had pointed that out - about 15
 seconds!

I just answered this in the other mail, to quote:


Yes, this is because the Config is restarted again on each config
change. This is an implementatino bug and probably the authors
did not know better at that time (read 5 years ago). Though on
that time the Config was not that slow because there where 2000
less packages and a handful of options less as well.

The slowness is why we already started accelerating the worst
code-pathes with Lua code.

We already have on our Roadmap to rewrite the remaining parts,
including a more inteligent implementation not restarting the
whole Config process again after every Config change:

  http://www.t2-project.org/releases/
  http://www.t2-project.org/developer/soc.html


 2. i didnt like the package collection of the embedded target (perl,
 automake, etc, are not needed on my target system) so i've copied the
 embedded directory to another name, changed the title, and removed all
 packages i didnt want. this didnt work, and the Build-Target
 complained about all kinda errors (if needed ill do it again and post
 the exact errors). What is the easiest/quickest way to create a simple
 embedded system with only uclibc and busybox? and what is the way to
 configure what options i want on my busybox (on buildroot i could
 simple alter the config file under 'package' directory, but i dont see
 this on t2).

Copying like this is usually fine. Maybe you just missed a little detail.
Just do it again and post the detailed error, so we can help.

For an introductoin about targets in T2 you can read the handbook at:

  http://www.t2-project.org/handbook/html/t2.target.html

 3. related to my 2nd issue - what is the best way to alter the
 configuration files and configure options of the packages which are
 being built? i didnt see any information about this on the t2
 tutorial.

The target section of the handbook lists this:

  http://www.t2-project.org/handbook/html/t2.target.modifications.html

 4. me too got an error on the gmp package (im using the t2-svn
 versions) - although ive read on the ML that this was fixed - am i
 missing something?

Using the 6.0 branch should have worked.

Maybe you used the trunk or the fresh 7.0 branch. Unfortuantly
we had a regression in the C++ cross compiler STL header patch.

This was fixed about a week ago. Can you retry and post if you still
get this error?

 many thanks for this great product. i hope to be able to produce a
 useful distribution out of it once it works :)

Thanks you are welcome! Yours,

-- 
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  Geschäftsführer: Susanne Klaus, René Rebe
  Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
  USt-IdNr.: DE251602478
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name

--- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2


[t2] some questions about t2

2007-06-09 Thread z4ziggy


Hey all,

I too am a new user of t2, coming from buildroot. I like the vast
package collection and i am mainly interested in a uclibc (embedded)
system. however, i have some problems/questions:


1. why does it take so long for the configuration to move from one
window to the other? as another user had pointed that out - about 15
seconds!

2. i didnt like the package collection of the embedded target (perl,
automake, etc, are not needed on my target system) so i've copied the
embedded directory to another name, changed the title, and removed all
packages i didnt want. this didnt work, and the Build-Target
complained about all kinda errors (if needed ill do it again and post
the exact errors). What is the easiest/quickest way to create a simple
embedded system with only uclibc and busybox? and what is the way to
configure what options i want on my busybox (on buildroot i could
simple alter the config file under 'package' directory, but i dont see
this on t2).

3. related to my 2nd issue - what is the best way to alter the
configuration files and configure options of the packages which are
being built? i didnt see any information about this on the t2
tutorial.

4. me too got an error on the gmp package (im using the t2-svn
versions) - although ive read on the ML that this was fixed - am i
missing something?


many thanks for this great product. i hope to be able to produce a
useful distribution out of it once it works :)

Blessings,
Elia Yehuda.



--- 
If you wish to unsubscribe from this mailing, send mail to

[EMAIL PROTECTED] with a subject of: unsubscribe t2


[t2] Some questions about T2

2007-06-08 Thread Rob McBob


I downloaded T2 v6.0.2, and I have some questions.

I see that the package definitions are in the package directory, and was
wondering if there is a way to update package definitions without downloading
the entire toolkit?

There are a number of architectures listed as supported.  I am wondering how
you do this.  Since not all combinations of binutils-gcc-glibc work for
every architecture, how do you define a working configuration for each arch?

Does T2 provide any tools for capturing run-time configuration?  For example,
when I boot my machine into T2, and I change /etc/resolv.conf (or any of the
files in /etc) is there some way to capture that?  Can that information be
folded back into package definitions?

I see you've also made a comparison to Gentoo, and I am familiar with Gentoo.
When you say that T2 does automated package build compared to the Gentoo
ebuilds, what does that mean?  Can I just specify a name somewhere and T2 will
figure out how to download and build that package just based on the name?

And how does T2 configuration compare to portage USE flags?  Suppose I want to
turn on IPV6 for my system, with Gentoo I would simply add 'ipv6' to my USE
flags and rebuild the system.  Does T2 provide this sort of high-level
configurability that cascades down to the package level?

Likewise, I tried building a basic embedded system, but it seems to want to
build perl and X, and I want neither.  Again, Gentoo USE flags would make it
easy to turn this off, but I don't see how to do that with T2.

What are the sophisticated wrappers in T2 that are better than the hardcoded
CFLAGS in Gentoo?  In Gentoo the make.conf file allows you to set system-wide
CFLGAS which can be over-ridden on the command line for any package.  And
package ebuilds also allow you to set specific flags for a given package to
override system or user choices (if they're known to be bad, for example).

As far as libc choices go, Gentoo profiles define various libc alternatives,
which claim to support system builds, although I have not used portage to build
a uclibc system.

On one final note, in trying to build with T2 for a basic embedded system, the
build fails on building base/gmp with the following error, perhaps there is
some way to recover from this (sorry, the config system is new to me):
Due to previous errors, no 1-gmp.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Processing static lib corrections ...
Verifing the .la files ...
Searching for orphaned files ...
Found 7 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums and cksums ...
Creating md5sum and cksum files ... done.
Creating package description ...
Making post-install adaptions.
- $root/var/adm/logs/1-gmp.out - 1-gmp.err
== 06/07/07 16:30:48 =[1]= Aborted building package gmp.

Thanks,
Rob



--- 
If you wish to unsubscribe from this mailing, send mail to

[EMAIL PROTECTED] with a subject of: unsubscribe t2