configure.info: Canadian Cross Example
Go forward to Canadian Cross Concepts
Go up to Canadian Cross
Go to the top op configure
Canadian Cross Example
Here is an example of a Canadian Cross.
While running on a GNU/Linux, you can build a program which will run
on a Solaris system. You would use a GNU/Linux cross Solaris compiler
to build the program.
Of course, you could not run the resulting program on your GNU/Linux
system. You would have to copy it over to a Solaris system before you
would run it.
Of course, you could also simply build the programs on the Solaris
system in the first place. However, perhaps the Solaris system is not
available for some reason; perhaps you actually don't have one, but you
want to build the tools for somebody else to use. Or perhaps your
GNU/Linux system is much faster than your Solaris system.
A Canadian Cross build is most frequently used when building
programs to run on a non-Unix system, such as DOS or Windows. It may
be simpler to configure and build on a Unix system than to support the
configuration machinery on a non-Unix system.
Created Wed Sep 1 16:42:00 2004 on bee with info_to_html version 0.9.6.