chapter 5.9 cocoon toolchain tests fail

Kevin Day thekevinday at
Mon Dec 17 15:47:28 PST 2007

On Dec 15, 2007 12:57 PM, For Junk Mail <junk_mail at> wrote:
> On Fri, 2007-12-14 at 03:25 +0100, George Tsalikis wrote:
> > I am reffering to the 3 tests in the end of the chapter.
> > 2/3 of them fail and deleting the specs file corrected the issue.
> >
> > Could the remnant specs spoil the whole system if not deleted?
> I'm in trouble around the same spot, but I pass the tests, and get as
> far as bash before it shows.
> I'm trying uclibc-2.6
> The toolchain fails to compile on hlfs-20051220 (I blame
> gcc-3.4.4/glibc-2,3,6 as simply too old), and some instructions silently
> misbehave in Fedora, like this one
> #define STANDARD_INCLUDE_DIR 0" >> gcc/config/linux.h ( which adds no
> lines !)

If you want to force new lines you can do the following:
echo -e "#undef STANDARD_INCLUDE_DIR\n
#define STANDARD_INCLUDE_DIR 0\n" >> gcc/config/linux.h

the "-e" will tell echo to interpret special character combinations
such as '\n', which means newline.

Kevin Day

More information about the hlfs-dev mailing list