[Top][All Lists]

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

Re: [Mingw-cross-env-list] Build / Host / Target

From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Build / Host / Target
Date: Thu, 20 May 2010 21:19:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100430 SUSE/3.1b2-7.1 Thunderbird/3.1b2

On 05/20/2010 08:46 PM, Volker Grabsch wrote:
Tony Theodore<address@hidden>  schrieb:
I'm still often confused by host/target
I think the build / host / target are quite easy to understand:

     "Build" is where the program is compiled.
     "Host" is where the program will run.
     "Target" is where the program produces code for.

Thus, "target" makes only sense for compilers and similar stuff.
In Mingw-cross-env, we have the following situation:

     Normal packages:

         build = Unix
         host  = Windows

     Native packages (e.g. pkg-config):

         build  = Unix
         host   = Unix

     GCC, Binutils, NSIS:

         build  = Unix
         host   = Unix
         target = Windows

I'll take this opportunity to correct a typo in my previous list of the names used in the Qt configure script. (I made mistakes in the "endian" list.) Here is the new and improved version:

Describe the platform we are building Qt *for* (MinGW aka "win32-g++"):
  -arch  CFG_ARCH
 -xplatform XPLATFORM
 -big-endian or -little-endian switch CFG_ENDIAN

Describe the platform we are building Qt *on* (some form of Unix):
-host-arch CFG_HOST_ARCH
-platform PLATFORM
-host-little-endian or -host-big-endian switch CFG_HOST_ENDIAN


reply via email to

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