Il giorno mer 28 nov 2018 alle ore 14:24 Michele Bucca
<michele.bu...@gmail.com> ha scritto:
>
> Il giorno mer 28 nov 2018 alle ore 13:22 Christer Solskogen
> <christer.solsko...@gmail.com> ha scritto:
> >
> > On 27.11.2018 20:02, Michele Bucca wrote:
> > >
> > >
> > > Il 27 nov 2018 12:09 AM, "Paul Rogers" <paulgrog...@fastmail.fm
> > > <mailto:paulgrog...@fastmail.fm>> ha scritto:
> > >
> > >      > I'm sorry to bother you with a question like this but I have no 
> > > other
> > >      > place to ask, nobody has answered to this.
> > >     ___8<...
> > >      > SHOULD be compatible.  I'm so tired and in frustration.
> > >
> > >     Michele, I don't have a solution your compilation issue, but I do
> > >     have a meta-solution.  Break away from beating your head against the
> > >     wall here--it's an impediment to the solution.  Do something nice
> > >     for a while, until you can come back to this with a fresher
> > >     perspective.  It's rarely a waste of time.  "Sleep on it" if possible.
> > >
> > >
> > > I've already solved my problem
> > >
> >
> > Would you care to explain how?
> >
>
> I've said it before but I'll write it again so you won't have to look for it:
>
> My cross-compiler lacked of a complete limits.h header. To generate
> it, inside GCC's source directory, I had to run
>
> cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
> `dirname $($LFS_TGT-gcc -print-libgcc-fiĆ²e-name)`/include-fixed/limits.h
>
> where $LFS_TGT is the TARGET of your cross-compiler, eg: arm-linux-gnueabi
>
> These instructions are also reported on the LFS book [1]
>
> [1] http://linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass2.html
> >

Whoops! There's a typo in the command, here's the correct one:

cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h

Cheers
- Michele Bucca
> > --
> > http://lists.linuxfromscratch.org/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > Unsubscribe: See the above information page
> >
> > Do not top post on this list.
> >
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
> >
> > http://en.wikipedia.org/wiki/Posting_style
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to