[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: 3rd problem: Bug cross-compiling bash (with buildroot): mkbuiltins u
From: |
kus Kusche Klaus |
Subject: |
RE: 3rd problem: Bug cross-compiling bash (with buildroot): mkbuiltins uses config.h |
Date: |
Wed, 13 Apr 2005 08:50:59 +0200 |
> > The same problem occurs when compiling psize.c:
> >
> > It is compiled for the host with the defines in "config.h",
> > which are valid for the target environment only.
> >
> > Moreover, running "psize.c" on the host is irrelevant anyway:
> > The size of a pipe on the host is not the same as the size of
> > a pipe on the target...
>
> Luckily, this provides only a last-ditch default. Just about every
> system should have the posix defines that provide the correct value.
>
> Chet
Well, if it is a last-ditch default only, than it is even worse that
its compilation causes the whole bash build to fail:
psize.c does not compile at all with the wrong config.h included
on my system, and make stops.
Besides, make also ran psize on my system, although the target system
defines PIPE_BUF in its headers. What are you checking / looking for
for the pipe size?
--
Klaus Kusche (Software Development - Control Systems)
KEBA AG Gewerbepark Urfahr, A-4041 Linz, Austria (Europe)
Tel: +43 / 732 / 7090-3120 Fax: +43 / 732 / 7090-6301
E-Mail: kus@keba.com WWW: www.keba.com
- RE: 3rd problem: Bug cross-compiling bash (with buildroot): mkbuiltins uses config.h,
kus Kusche Klaus <=