Re: cross-compiling alternatives (was Re: [PATCH 0/1] Embedded Maintainer(s)...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 16, 2008 at 11:28:36PM +0100, Jamie Lokier wrote:
> Bernhard Fischer wrote:
> > On Mon, Jun 16, 2008 at 02:32:01PM +0100, Jamie Lokier wrote:
> > 
> > >No, I'm talking about improving Autotools to handle some things better
> > >than they do now.  Passing the high hurdles required to become part of
> > >Autotools - especially compatibility - is part of the goal.
> > 
> > If you look at the sh scripts generated by autotools one is tempted to
> > just ship a small, clean sh, written in C89 with autotools, use that
> > and drop the workarounds.
> 
> Exactly!
> 
> Use an early, small Autoconf script written in very portable shell (as
> now) to detect the small set of features needed for this "clean sh",
> and a host compiler.  Then build it, then continue in clean sh.
> 
> But if you're doing that, why use sh?  It could be a subset of sh with
> extensions especially for this job - or something else entirely - to
> make Autoconf scripts cleaner, smaller, faster than they are now.  Or
> even a tokenised sh, so Autoconf tests run directly on it but are
> compact.  Possibly even _more_ portable (no need to depend on quirks
> of some utilities; configure scripts more checkable for common
> errors).  And easier to configure things on environments with no shell
> (i.e. Windows).
> 
> It adds an extra requirement for a host C compiler, but that's
> probably reasonable these days.
> 
> This conversation ought to be heading over to the autotools
> lists... if anyone wants to take it up there.

All public ramblings about how autoconf might be improved don't bring 
anything if you do not implement your ideas yourself and show that your 
implementation is better than the status quo.

After all, open source development is not driven by people producing hot 
air but by people writing code...

> -- Jamie

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux