[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile
From: |
Dan Kegel |
Subject: |
Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...) |
Date: |
Mon, 01 Apr 2002 22:31:33 -0800 |
Ossama Othman wrote:
> On Mon, Apr 01, 2002 at 09:02:12PM -0800, Dan Kegel wrote:
> > Ossama Othman wrote:
> > > That should certainly be feasible unless there are some bizarre
> > > platforms out there. In any case, this shouldn't be a problem if
> > > developers use a reasonable "action-if-cross-compiling" argument for
> > > AC_TRY_RUN, such as a compile/link-time test
> >
> > I suppose. I prefer configure to just fail in that case, myself.
> > I don't want a random, and perhaps incorrect for my platform, default.
>
> Why? I'm not suggesting a default value. I'm suggesting that another
> compile/link-time test be used within the "action-if-cross-compiling"
> AC_TRY_RUN parameter. With this approach one would fallback on what
> should presumably be a valid compile/link-time test. The "action"
> could also check if an environment variable is set, too. It could
> even run a script, for example. This won't always work, in which case
> your suggestion below would be very useful.
In theory, sure. However, I've never seen anyone do anything
fancy in the 'if-cross-compiling' case but pick a default.
- Dan
- Re: ORBit 0.5.8 Cross-Compile problems..., Dan Kegel, 2002/04/01
- Re: ORBit 0.5.8 Cross-Compile problems..., Paul Eggert, 2002/04/01
- Re: ORBit 0.5.8 Cross-Compile problems..., Dan Kegel, 2002/04/01
- Re: ORBit 0.5.8 Cross-Compile problems..., Ossama Othman, 2002/04/01
- AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...), Dan Kegel, 2002/04/01
- Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...), Ossama Othman, 2002/04/01
- Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...), Dan Kegel, 2002/04/01
- Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...), Ossama Othman, 2002/04/02
- Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...),
Dan Kegel <=
- Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...), Ossama Othman, 2002/04/02
- Re: AC_TRY_RUN and cross-compiling (was: Re: ORBit 0.5.8 Cross-Compile problems...), Dan Kegel, 2002/04/02
- Re: ORBit 0.5.8 Cross-Compile problems..., Paul Eggert, 2002/04/01