Discussion:
glade configure.ac patch
Tristan Van Berkom
2011-10-11 17:53:50 UTC
Permalink
Forwarding this on list ...
---------- Forwarded message ----------
Date: Tue, Oct 11, 2011 at 4:18 AM
Subject: glade configure.ac patch
Hi Tristan,
I am mailing you directly, because I couldn't find the right mailing
list for glade and you just released a 3.8.1 stable release.
Attached is a patch for configure to use AC_CANONICAL_HOST. (in master
_SYSTEM is already changed to _TARGET, but it also should be _HOST)
For a rationale, please see
http://www.flameeyes.eu/autotools-mythbuster/autoconf/canonical.html
 Can you clarify for me what this will change ?

 Currently from reading this I think it should probably be _TARGET, not _HOST.

  "The system against which the software being built will run on. This
 actor only exists, or rather has a meaning, when the software being
 built may interact specifically with a system that differs from the
 one it's being executed on (our host). This is the case for compilers,
 debuggers, profilers and analyzers and other tools in general."

 Cheers,
       -Tristan
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Tristan Van Berkom
2011-10-11 17:59:25 UTC
Permalink
 Forwarding this on list ...
---------- Forwarded message ----------
Date: Tue, Oct 11, 2011 at 4:18 AM
Subject: glade configure.ac patch
Hi Tristan,
I am mailing you directly, because I couldn't find the right mailing
list for glade and you just released a 3.8.1 stable release.
Attached is a patch for configure to use AC_CANONICAL_HOST. (in master
_SYSTEM is already changed to _TARGET, but it also should be _HOST)
For a rationale, please see
http://www.flameeyes.eu/autotools-mythbuster/autoconf/canonical.html
  Can you clarify for me what this will change ?
  Currently from reading this I think it should probably be _TARGET, not _HOST.
To be fair, _HOST looks like it's right for "just about anything"..
I'm more curious
about what is the justification for this change, why do you for
instance want this change ?

Would changing _TARGET to _HOST mean that you can no longer
cross-compile Glade ?
   "The system against which the software being built will run on. This
  actor only exists, or rather has a meaning, when the software being
  built may interact specifically with a system that differs from the
  one it's being executed on (our host). This is the case for compilers,
  debuggers, profilers and analyzers and other tools in general."
  Cheers,
        -Tristan
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Dieter Verfaillie
2011-10-11 18:50:52 UTC
Permalink
Post by Tristan Van Berkom
Would changing _TARGET to _HOST mean that you can no longer
cross-compile Glade ?
Changing _TARGET to _HOST would most probably mean being able to
correctly cross compile.

"""To clarify a bit further: target is specific to *compiling* compilers
and related tools that produce system-specific output. For example:
On a GNU/Linux system ($build) I build a compiler that itself will run
on FreeBSD ($host) but create code that can be executed on MinGW
($target)."""

Credit goes to Keith Marshall and Ralf Wildenhues for this
explanation (from the mingw-***@sourceforge.net mailing list).
I've inserted the *compiling* in the first sentence for extra
clearness.

Software not falling in the category of "compilers and related tools"
simply have no business using ($target) and/or it's associated macro's.

mvg,
Dieter
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel
Dieter Verfaillie
2011-10-11 19:05:36 UTC
Permalink
Post by Dieter Verfaillie
Post by Tristan Van Berkom
Would changing _TARGET to _HOST mean that you can no longer
cross-compile Glade ?
Changing _TARGET to _HOST would most probably mean being able to
correctly cross compile.
Here's another great explanation, also by Keith Marshall, starting
with the text "Ok, I think some clarification of the meanings of
`build', `host' and `target' would be helpful":

http://permalink.gmane.org/gmane.comp.gnu.mingw.devel/1834

mvg,
Dieter
_______________________________________________
Glade-devel maillist - Glade-***@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-devel

Loading...