config-patches
[Top][All Lists]
Advanced

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

Re: DO NOT use file format of /bin/sh for x32 detection!


From: Thorsten Glaser
Subject: Re: DO NOT use file format of /bin/sh for x32 detection!
Date: Sun, 4 Mar 2018 19:04:26 +0100 (CET)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

On Sun, 4 Mar 2018, Earnie wrote:

> supplied.  As you say "it's a userland-only architecture" then it is up
> to userland to specify and not rely on the conveniences.  Allowing the

… eh, no. Also, I don’t think you understand the problem.

> precedent here will open up a maintenance nightmare.

More architectures like this are coming. This is easy.

> When specifying --build config.guess doesn't execute.  

Yes, I know.

> However config.sub does to try to normalize the triplet. And
> config.sub can be used to supply what you're looking to do.

No, it can’t.

In fact, I have, after sleeping over it, come to the
conclusion that, asides from distro-specific tools like
dpkg, the compiler targetting the system on which the
program is built is the ONLY tool exactly knowing what
the build system is, so I believe, now more strongly
than before, that CC_FOR_BUILD is correct here.

> > For --host= checking the compiler is an absolute must,
> > though. --target= must be manually passed, so that’s
> > indeed not needing consideration.
> 
> The --host is used to specify the unique build system set to use for a
> cross build environment.  In other words the executable being built will
> be hosted on the specified --host.  If the compiler doesn't exist to
> create those binaries then you need to create the build system.  The
> --target is used to build the build systems that create binaries for
> specified --host systems.

I think we have a communication problem here. You seem
to not understand what I write and insist on giving me
a rundown of the build/host/target flags.


Let me tl;dr for you:

• --target= is orthogonal to the x32 detection problem,
  because, if it differs from the other tuples, it must
  be given by hand anyway

• --host= must check the (possibly cross) compiler

• --build= after much consideration also must check
  the (not-cross) compiler


bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

**Besuchen Sie uns auf der EuroCIS!**
27. Februar bis 01. März 2018, Messe Düsseldorf / **Halle 10,** ** Stand
F15**
Leading Trade Fair for Retail Technology
[www.tarent.de/eurocis](http://www.tarent.de/eurocis)

Wir empfehlen unsere Vorträge

?Preisbeobachtung, Händlermonitoring, Plagiaterkennung: Ihre
Wettbewerbsvorteile?
am 27. Februar, 14:00 Uhr im EuroCIS Forum / Halle 10, Stand F04

?Internet of Things ? Der Handel im Wandel?
am 01. März, 11:30 Uhr im Omnichannel Forum / Halle 10, Stand A70

*************************************************

**Visit us at EuroCIS!** 27th February to 1st March, 2018, Messe
Düsseldorf
/ **Hall 10,** ** Booth F15**
Leading Trade Fair for Retail Technology
[www.tarent.de/eurocis](http://www.tarent.de/eurocis)

We recommend our presentations

?Your view on prices, retailers and plagiarism: Competitive advantages
with
monitoring apps?
on 27th February, 2 pm at EuroCIS Forum / Hall 10, Booth F04

?Internet of Things ? Retailing in a Changing World?
on 1st March, 11:30 am at Omnichannel Forum / Hall 10, Booth A70

*************************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]