1 |
On Sat, 2002-04-06 at 06:11, Malte Obbel Forsberg wrote: |
2 |
> You're probably right, but even though I might not need it - I want it! :-P |
3 |
> If it's not possible to get the CHOST settings outside the ebuild, then that's not good. |
4 |
> I think this should be changed, by the very good developers of Gentoo.. |
5 |
> |
6 |
|
7 |
Afaik, ${CHOST} is used to specify the --build or --host arguments of |
8 |
./configure, and one or two other non autoconf generated build system |
9 |
use it. |
10 |
|
11 |
|
12 |
> Malte |
13 |
> |
14 |
> On Sat, 6 Apr 2002 12:43:22 +0200 |
15 |
> "Defresne Sylvain" <sylvain.defresne@××××.fr> wrote: |
16 |
> |
17 |
> > * Malte Obbel Forsberg (door@×××××××××××.nu) wrote: |
18 |
> > > I'm quite certain it doesn't matter greatly for the Zangband ebuild. Although, it'd be nice to know how to do this, if I would have wanted to make more ebuilds. ;-) |
19 |
> > > What I need to do, is getting the proper CHOST into the makefile, which seems impossible to me.. This patch won't do it for me: |
20 |
> > > |
21 |
> > > - $(CC) $(CFLAGS) -o zangband $(OBJS) $(LDFLAGS) $(LIBS) |
22 |
> > > + $(CC) ${CHOST} $(CFLAGS) -o zangband $(OBJS) $(LDFLAGS) $(LIBS) |
23 |
> > > |
24 |
> > > Even though one would be inclined to believe the contrary ... |
25 |
> > > Should the $CHOST be stated in a different way? |
26 |
> > |
27 |
> > I'm not sure, but I think that the ${CHOST} is only used by configure |
28 |
> > script autogenerated by autoconf. It is not used by gcc. So, if the |
29 |
> > program don't use configure (and that's the case for Zangband if I remember |
30 |
> > correctly), you don't need this setting. |
31 |
> > |
32 |
> > Again, I'm not sure. I can be wrong ! |
33 |
> > |
34 |
> > Bye |
35 |
> > -- |
36 |
> > Keiichi |
37 |
> > |
38 |
> |
39 |
> |
40 |
> -- |
41 |
> Malte Obbel Forsberg |
42 |
> door@×××××××××××.nu |
43 |
> JabberId: doordoc@××××××.at |
44 |
> UIN: 12035285 |
45 |
> _______________________________________________ |
46 |
> gentoo-dev mailing list |
47 |
> gentoo-dev@g.o |
48 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
49 |
-- |
50 |
|
51 |
Martin Schlemmer |
52 |
Gentoo Linux Developer, Desktop Team Developer |
53 |
Cape Town, South Africa |