Re: utility programs used during build

2004-01-17 Thread Warren Turkal
Ralf Corsepius wrote: On Fri, 2004-01-16 at 21:00, Tom Tromey wrote: Ralf == Ralf Corsepius [EMAIL PROTECTED] writes: But that isn't what Warren is talking about. He's talking about a situation where you want to build your package for a different host, but first build some helper

Re: utility programs used during build

2004-01-16 Thread Tom Tromey
Ralf == Ralf Corsepius [EMAIL PROTECTED] writes: If you want a clean way, you'd have to split buildtools and host-packages into separate (sub) packages and write a costomized toplevel configure-script to parse and set the configure options for build- and host- compile packages. Ralf

Re: utility programs used during build

2004-01-15 Thread Warren Turkal
Alexandre Duret-Lutz wrote: Tom == Tom Tromey [EMAIL PROTECTED] writes: [...] Tom Well, really it might be nice to clean up target library Tom support, but I wouldn't recommend it unless you have a Tom real need; it is pretty messy. A simple way to support BUILD- and TARGET-

Re: utility programs used during build

2004-01-15 Thread Ralf Corsepius
On Thu, 2004-01-15 at 12:41, Warren Turkal wrote: Alexandre Duret-Lutz wrote: Tom == Tom Tromey [EMAIL PROTECTED] writes: [...] Tom Well, really it might be nice to clean up target library Tom support, but I wouldn't recommend it unless you have a Tom real need; it is pretty

Re: utility programs used during build

2004-01-15 Thread Warren Turkal
Ralf Corsepius wrote: On Thu, 2004-01-15 at 12:41, Warren Turkal wrote: This assumes that something sets those variables still (autoconf). Just add something similar to this CC_FOR_BUILD=${CC_FOR_BUILD-${CC}) or AS_IF([$build != $host], [CC_FOR_BUILD=${CC_FOR_BUILD-cc],

Re: utility programs used during build

2004-01-15 Thread Alexandre Duret-Lutz
Warren == Warren Turkal [EMAIL PROTECTED] writes: Warren Alexandre Duret-Lutz wrote: [...] noinst_PROGRAMS = tool1 tool2 tool1_SOURCES = tool1a.c tool1b.cc tool1_CC = $(CC_FOR_BUILD) tool1_CXX = $(CXX_FOR_BUILD) tool1_LD = $(CXXLD_FOR_BUILD) tool2_SOURCES = tool2.c Just a

Re: utility programs used during build

2004-01-14 Thread Gary V . Vaughan
On Tuesday, January 13, 2004, at 06:05 pm, Warren Turkal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 13 January 2004 05:54 am, Gary V. Vaughan wrote: Warren Turkal wrote: | Is there any analysis on what it would take to create utility programs | that are only used during

Re: utility programs used during build

2004-01-14 Thread Warren Turkal
Gary V.Vaughan wrote: It depends on the compiler you use.  If you have configured with a crosscompiler, it will do that yes.  Maybe you can override it?  You would have to copy the compile and link rules from the generated Makefile into your Makefile.am, and then change the compiler to

Re: utility programs used during build

2004-01-13 Thread Gary V. Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Warren Turkal wrote: | Is there any analysis on what it would take to create utility programs that | are only used during build in a crosscompiled environment in automake? | | I and working on the libX11 for Freedesktop.org and it builds a file and |

Re: utility programs used during build

2004-01-13 Thread Tom Tromey
Warren == Warren Turkal [EMAIL PROTECTED] 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

utility programs used during build

2004-01-10 Thread Warren Turkal
Is there any analysis on what it would take to create utility programs that are only used during build in a crosscompiled environment in automake? I and working on the libX11 for Freedesktop.org and it builds a file and uses it during installation, but does not install it. I am under the