On Tue, Jun 05, 2007 at 06:04:23PM -0700, David Whitney wrote:
> I have not heard a reply from my previous post, therefore I decided to
> embark onto something new, there I started following the instructions in the
> CLFS-Embedded book.
> 
 You have overlooked that hardly anybody is on the lists.  I can't
speak for the irc users (tried it once, but irc doesn't suit my
"reply, think deeply, pause, edit" style), but maybe they are there
in greater numbers.  Also, you need to remember that people are in
different timezones so a list reply can easily take a day or even two.

 However, you also need to understand that clfs is targetted at the
more experienced user - often, things will be broken in particular
situations (e.g. if you try building from OSX).  The one thing you
haven't done is tell the list what host system you are using ?  If it
isn't LFS or clfs, maybe you are missing some of the -development
packages.

> Once again, I am having problems with GCC (this time its version 4.1.2).
> I've patched it per the instruction in the book (
> http://cross-lfs.org/view/clfs-embedded/x86/index.html) and everything works
> fine... up until the point where an attempt is made to compile crtstuff.c.
> I get an error indicating that there is an unterminated comment in
> auto-host.h.  Then there is another error, from tconfig.h indicating that
> the include file ansidecl.h cannot be found.  From there, more chaos.
> 
 My general impression is that either the host system is missing
something, or that perhaps something is missing in the instructions
to build x86 when the host is not x86 (all my recent x86 builds have
probably been on native systems).  But, recent postings have
suggested other people are doing x86 from x86_64 so I suspect it
should work.

 The message about an unterminated comment is probably caused by an
earlier error.  The file auto-host.h is generated during the build -
you'll need to look at it to see if you can form a view about what
is wrong.  Your earlier problem appeared to start with a message
that auto-host.h did not exist.  I've just looked back at my logs
for x86 clfs-1.0.0 and in static gcc auto-host.h is created during
configure.  Similarly, ansidecl.h came from binutils.  As with most
things in cross-compiling, you pretty much have to pick through the
pieces when it breaks.  You could start by looking at the various
configure files or Makefiles to find which of them mentions
auto-host.h, then look to see how it gets created.  When you can see
what was run, you might be able to see that a program or header is
missing.

 I can't help you about practical issues on clfs-embedded, and I've
never seen the problem you initially posted.  But, something strange
is happening in your builds.  Have you completed each of the earlier
steps, using the package versions and commands listed in the book you
are following, or did you miss something ?  Have you built LFS or
clfs systems before ?

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to