Some problems and solutions

Thomas 'Balu' Walter tw at
Fri Sep 1 00:58:35 PDT 2000

+-Gerard Beekmans-(gerard at[01.09.00 01:32]:
> > Can I download the profile from anywhere?

Looking at the profile I would like to add my first ideas.
A tag that makes it possible to ask the user something would be great
(where do you want to install the LFS?)

As Bryan noted somewhere I would suggest doing other <environments> -
perhaps add a section like
   <cflags>  -O3 -mcpu=i386 -march=i386</cflags>
   <cxxflags>-O3 -mcpu=i386 -march=i386</cxxflags>

Another one I would like to see is <remark> or <!-- --/>, but I think
that's XML-Standard.

And - wouldn't it be great to have some kind of tags to add descriptions
in a way that you can create an install-chapter using ALFS? ;) 

As Bryan said we should replace many of the <commands> with special
tags, so that a programmer can choose how to do it. Example:

<commands>rm file</command> should be
<rm>file</rm> (or <deletefile> or whatever ;)

Then every programmer can choose to use functions to do so (unlink() for
deletion), but still has a chance to do a simple rm :)

My <package> would look like this:

         ./configure --enable-static-link --prefix=/usr --disable-nls
      <command>make prefix=$LFS/usr install<command>
<!-- what about Variables inside the alfs-scripts? -->
      <mv src="$LFS/usr/bin/bash" dst="$LFS/bin/" />
      <mv src="$LFS/usr/bin/bashbug" dst="$LFS/bin/" />
      <linksymbolic target="$LFS/bin/bash" linkname="$LFS/bin/sh" />

This were the things that didn't let me sleep last night :)


More information about the alfs-discuss mailing list