Home | History | Annotate | Download | only in info

Lines Matching full:cross

41 * Cross Compilation Tools::	Cross Compilation Tools.
42 * Canadian Cross:: Canadian Cross.
400 be compiled by a cross compiler which may not fully work, then you
404 compiled with cross compilers, such as libiberty or libgloss.
411 The same cross
1294 File: configure.info, Node: Configuration Names, Next: Cross Compilation Tools, Prev: Files, Up: Top
1359 name when building a cross-compiler or when building using a
1360 cross-compiler.
1406 File: configure.info, Node: Cross Compilation Tools, Next: Canadian Cross, Prev: Configuration Names, Up: Top
1408 5 Cross Compilation Tools
1411 The GNU configure and build system can be used to build "cross
1412 compilation" tools. A cross compilation tool is a tool which runs on
1417 * Cross Compilation Concepts:: Cross Compilation Concepts.
1422 * Cross Tools in the Cygnus Tree:: Cross Tools in the Cygnus Tree
1425 File: configure.info, Node: Cross Compilation Concepts, Next: Host and Target, Up: Cross Compilation Tools
1427 5.1 Cross Compilation Concepts
1431 cross compilation compiler, or simply a "cross compiler". Similarly,
1432 we speak of cross assemblers, cross linkers, etc.
1436 distinguish this case from the cross compilation case, such a compiler
1441 it is nevertheless meaningful to speak of a cross debugger: a debugger
1443 that is said below about configuring cross compilation tools applies to
1447 File: configure.info, Node: Host and Target, Next: Using the Host Type, Prev: Cross Compilation Concepts, Up: Cross Compilation Tools
1452 When building cross compilation tools, there are two different systems
1464 target. Such a compiler could be called a GNU/Linux cross MIPS ELF
1465 compiler, or, equivalently, a `i386-linux-gnu' cross `mips-elf'
1468 Naturally, most programs are not cross compilation tools. For those
1474 Most cross compilation tools can also serve as native tools. For a
1481 File: configure.info, Node: Using the Host Type, Next: Specifying the Target, Prev: Host and Target, Up: Cross Compilation Tools
1488 they differ, *note Canadian Cross::).
1491 host system, and the package is not a cross compilation tool and
1516 File: configure.info, Node: Specifying the Target, Next: Using the Target Type, Prev: Using the Host Type, Up: Cross Compilation Tools
1523 to a native compiler rather than a cross compiler.
1525 If you want to build a cross compilation tool, you must specify the
1535 File: configure.info, Node: Using the Target Type, Next: Cross Tools in the Cygnus Tree, Prev: Specifying the Target, Up: Cross Compilation Tools
1540 When writing `configure.in' for a cross compilation tool, you will need
1565 a native configuration. If they are different, you can assume a cross
1577 to configure a cross compilation tool.
1596 By convention, cross tools are installed with a prefix of the
1613 File: configure.info, Node: Cross Tools in the Cygnus Tree, Prev: Using the Target Type, Up: Cross Compilation Tools
1615 5.6 Cross Tools in the Cygnus Tree
1629 permits building an entire set of cross tools at once.
1639 File: configure.info, Node: Host and Target Libraries, Next: Target Library Configure Scripts, Up: Cross Tools in the Cygnus Tree
1683 The same process is used for both a native configuration and a cross
1691 There is one difference between a native configuration and a cross
1693 normally configured and built as siblings of the host tools. In a cross
1717 File: configure.info, Node: Target Library Configure Scripts, Next: Make Targets in Cygnus Tree, Prev: Host and Target Libraries, Up: Cross Tools in the Cygnus Tree
1757 configured with the `--with-cross-host' option. The value of this
1760 the overall build is a native build, the `--with-cross-host' option
1768 `--with-cross-host' option may be used to distinguish these cases.
1770 This same test of `--with-cross-host' may be used to see whether it
1772 `--with-cross-host' option is not used, then the library is being built
1776 File: configure.info, Node: Make Targets in Cygnus Tree, Next: Target libiberty, Prev: Target Library Configure Scripts, Up: Cross Tools in the Cygnus Tree
1807 File: configure.info, Node: Target libiberty, Prev: Make Targets in Cygnus Tree, Up: Cross Tools in the Cygnus Tree
1839 File: configure.info, Node: Canadian Cross, Next: Cygnus Configure, Prev: Cross Compilation Tools, Up: Top
1841 6 Canadian Cross
1847 programs using a cross compiler.
1849 This is referred to as a "Canadian Cross".
1853 * Canadian Cross Example:: Canadian Cross Example.
1854 * Canadian Cross Concepts:: Canadian Cross Concepts.
1855 * Build Cross Host Tools:: Build Cross Host Tools.
1857 * CCross not in Cygnus Tree:: Canadian Cross not in Cygnus Tree.
1858 * CCross in Cygnus Tree:: Canadian Cross in Cygnus Tree.
1859 * Supporting Canadian Cross:: Supporting Canadian Cross.
1862 File: configure.info, Node: Canadian Cross Example, Next: Canadian Cross Concepts, Up: Canadian Cross
1864 6.1 Canadian Cross Example
1867 Here is an example of a Canadian Cross.
1870 on a Solaris system. You would use a GNU/Linux cross Solaris compiler
1883 A Canadian Cross build is most frequently used when building
1889 File: configure.info, Node: Canadian Cross Concepts, Next: Build Cross Host Tools, Prev: Canadian Cross Example, Up: Canadian Cross
1891 6.2 Canadian Cross Concepts
1894 When building a Canadian Cross, there are at least two different systems
1907 It is, of course, possible to build a cross compiler using a Canadian
1908 Cross (i.e., build a cross compiler using a cross compiler). In this
1909 case, the system for which the resulting cross compiler generates code
1913 An example of building a cross compiler using a Canadian Cross would
1914 be building a Windows cross MIPS ELF compiler on a GNU/Linux system. In
1918 The name Canadian Cross comes from the case when the build, host, and
1923 File: configure.info, Node: Build Cross Host Tools, Next: Build and Host Options, Prev: Canadian Cross Concepts, Up: Canadian Cross
1925 6.3 Build Cross Host Tools
1928 In order to configure a program for a Canadian Cross build, you must
1929 first build and install the set of cross tools you will use to build the
1932 These tools will be build cross host tools. That is, they will run
1938 need a build cross host compiler.
1940 In general, you must have a complete cross environment in order to do
1941 the build. This normally means a cross compiler, cross assembler, and
1945 File: configure.info, Node: Build and Host Options, Next: CCross not in Cygnus Tree, Prev: Build Cross Host Tools, Up: Canadian Cross
1966 normally build using a cross compiler), it is reasonable to use the
1972 determine the build system, and presume a Canadian Cross if the result
1983 File: configure.info, Node: CCross not in Cygnus Tree, Next: CCross in Cygnus Tree, Prev: Build and Host Options, Up: Canadian Cross
1985 6.5 Canadian Cross not in Cygnus Tree.
1989 cross tools which you want to use to build the program. This is done by
1993 and `RANLIB' to the cross tools which you want to use to build.
1995 For some programs, you must set additional cross tools as well, such
1998 You would set these environment variables to the build cross tools
2002 system, and your GNU/Linux cross Solaris compiler were named
2007 File: configure.info, Node: CCross in Cygnus Tree, Next: Supporting Canadian Cross, Prev: CCross not in Cygnus Tree, Up: Canadian Cross
2009 6.6 Canadian Cross in Cygnus Tree
2012 This section describes configuring and building a Canadian Cross when
2018 * Cross Cygnus CCross:: Building a Cross Program.
2021 File: configure.info, Node: Standard Cygnus CCross, Next: Cross Cygnus CCross, Up: CCross in Cygnus Tree
2026 When configuring a Canadian Cross in the Cygnus tree, all the
2032 Adding a prefix of HOST will give the usual name for the build cross
2033 host tools. To see this, consider that when these cross tools were
2037 calling the host. Recall that the default name for installed cross
2049 File: configure.info, Node: Cross Cygnus CCross, Prev: Standard Cygnus CCross, Up: CCross in Cygnus Tree
2051 6.6.2 Building a Cross Program
2054 There are additional considerations if you want to build a cross
2056 Canadian Cross.
2058 When you build a cross
2061 work when building with a Canadian Cross. This is because the newly
2065 Therefore, when building a cross compiler with the Cygnus tree, you
2066 must first install a set of build cross target tools. These tools will
2069 Note that this is not a requirement of a Canadian Cross in general.
2070 For example, it would be possible to build just the host cross target
2073 build cross target tools is imposed by the Cygnus tree, which expects
2077 which means that it must use a build cross target toolchain.
2079 For example, suppose you want to build a Windows cross MIPS ELF
2081 both a GNU/Linux cross Windows compiler and a GNU/Linux cross MIPS ELF
2085 cross MIPS ELF (configure name `mips-elf') compiler, you might execute
2115 File: configure.info, Node: Supporting Canadian Cross, Prev: CCross in Cygnus Tree, Up: Canadian Cross
2117 6.7 Supporting Canadian Cross
2121 using a Canadian Cross, you must take some care when writing your
2124 fail in a Canadian Cross.
2128 * CCross in Configure:: Supporting Canadian Cross in Configure Scripts.
2129 * CCross in Make:: Supporting Canadian Cross in Makefiles.
2132 File: configure.info, Node: CCross in Configure, Next: CCross in Make, Up: Supporting Canadian Cross
2134 6.7.1 Supporting Canadian Cross in Configure Scripts
2138 whether this is a Canadian Cross configure by examining the shell
2139 variable `cross_compiling'. In a Canadian Cross, which means that the
2140 compiler is a cross compiler, `cross_compiling' will be `yes'. In a
2156 compiler, which is actually a build cross host compiler. If the
2166 Most autoconf macros will work correctly for a Canadian Cross. The
2168 test program. This will fail in a Canadian Cross, because the program
2173 configure script what to do in a Canadian Cross. If that argument is
2175 warning: AC_TRY_RUN called without default to allow cross compiling
2177 with a Canadian Cross.
2181 case you can use the cross compiling argument to `AC_TRY_RUN' to tell
2185 with a Canadian Cross: a partial list is `AC_FUNC_GETPGRP',
2188 generally not very useful with a Canadian Cross; it permits an optional
2193 File: configure.info, Node: CCross in Make, Prev: CCross in Configure, Up: Supporting Canadian Cross
2195 6.7.2 Supporting Canadian Cross in Makefiles.
2198 The main Canadian Cross issue in a `Makefile' arises when you want to
2226 File: configure.info, Node: Cygnus Configure, Next: Multilibs, Prev: Canadian Cross, Up: Top
2633 * building with a cross compiler: Canadian Cross. (line 6)
2634 * canadian cross: Canadian Cross. (line 6)
2635 * canadian cross in configure: CCross in Configure. (line 6)
2636 * canadian cross in cygnus tree: CCross in Cygnus Tree.
2638 * canadian cross in makefile: CCross in Make. (line 6)
2639 * canadian cross, configuring: Build and Host Options.
2666 * configuring a canadian cross: Build and Host Options.
2668 * cross compiler: Cross Compilation Concepts.
2670 * cross compiler, building with: Canadian Cross. (line 6)
2671 * cross tools: Cross Compilation Tools.
2741 Node: Cross Compilation Tools53217
2742 Node: Cross Compilation Concepts53908
2747 Node: Cross Tools in the Cygnus Tree61946
2752 Node: Canadian Cross72579
2753 Node: Canadian Cross Example73420
2754 Node: Canadian Cross Concepts74539
2755 Node: Build Cross Host Tools76051
2760 Node: Cross Cygnus CCross81552
2761 Node: Supporting Canadian Cross84352