[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: utility programs used during build
From: |
Tom Tromey |
Subject: |
Re: utility programs used during build |
Date: |
13 Jan 2004 11:14:21 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Warren" == Warren Turkal <address@hidden> writes:
Warren> Is there any analysis on what it would take to create utility
Warren> programs that are only used during build in a crosscompiled
Warren> environment in automake?
Warren> I and working on the libX11 for Freedesktop.org and it builds
Warren> a file and uses it during installation, but does not install
Warren> it. I am under the impression that automake does not support
Warren> this right now. What would be needed to add support for this
Warren> feature.
I think your plan as posted on the patch list is a good start.
I always liked the gcc-style names like `CC_FOR_BUILD',
`CFLAGS_FOR_BUILD'; they always seemed the easiest to understand.
(Other folks have suggested BUILD_CC, BUILD_CFLAGS, etc. Which,
really, aren't that much harder.)
Having a `build_' prefix for primaries makes sense to me.
For autoconf it would be nice if you could tell it "now I want to do
checks on the host compiler" and have it change the definition of CC
(and other flags), have a new build-specific config.h, etc. The
required changes might be extensive.
I agree with Alexandre that we don't have to support target, just host
and build. Well, really it might be nice to clean up target library
support, but I wouldn't recommend it unless you have a real need; it
is pretty messy.
Tom
- utility programs used during build, Warren Turkal, 2004/01/10
- Re: utility programs used during build, Gary V. Vaughan, 2004/01/13
- Re: utility programs used during build,
Tom Tromey <=
- Re: utility programs used during build, Alexandre Duret-Lutz, 2004/01/14
- Re: utility programs used during build, Warren Turkal, 2004/01/15
- Re: utility programs used during build, Ralf Corsepius, 2004/01/15
- Re: utility programs used during build, Warren Turkal, 2004/01/15
- Re: utility programs used during build, Ralf Corsepius, 2004/01/15
- Re: utility programs used during build, Tom Tromey, 2004/01/16
- Re: utility programs used during build, Ralf Corsepius, 2004/01/16
- Re: utility programs used during build, Warren Turkal, 2004/01/17
- Re: utility programs used during build, Alexandre Duret-Lutz, 2004/01/15