|
| |
| | Detailed how-to: Cross-compiling for Sharp Zaurus |
 | | In this how-to article, Peter Seebach discusses the initial setup of a cross compilation environment (using the Sharp Zaurus handheld as focus) and covers the installation of tools, basic compilation, installing programs on the handheld, and such advanced issues as building programs that use configure scripts. |  | | Cross compilation occurs when a compiler running on one system produces executables for another system -- this is an important concept when the target system doesn't have a native set of compilation tools, or when the host system is faster or has greater resources. |  | | When the host system (the one the compiler is running on) and the target system (the one the resulting programs will run on) are not compatible environments, the process is called cross compilation. |
|
http://linuxdevices.com/articles/AT6830035793.html
(2803 words)
|
|
| |
| | Scratchbox - Cross-compilation and Cross-configuration Explained |
 | | Usually people understand cross-compilation as compiling a program for a CPU architecture different from the one used on the machine where the compilation is done. |  | | Configure is meant to ease configuring the software for compilation and its default assumption is that the software will be run in the same environment in which it was compiled in and run from the place where it was installed to. |  | | We have solved the problem by sandboxing the software configuration, compilation, building and testing into an environment that is exactly the same (where it matters to software being configured) as on the target device. |
|
http://www.scratchbox.org/documentation/general/tutorials/explained.html
(4787 words)
|
|
| |
| | Cross-Compiling Hint [was Re: updated smp.txt] |
 | | If your Compilation and Target mchines are networked using nfs (see the NFS Hint) then you can use nfs to mount the Target machines' filestore on the Compilation machine, then chroot it to protect your Compilation system. |  | | Terminology Cross-Compiling Technically, cross-compiling means compiling on one computer architecture to run on another. |  | | Scheduling CPU types differ in the the way that instructions are pipelined, the compiler attempts to schedule the instructions it generates in a way that is most efficient. |
|
http://archives.linuxfromscratch.org/mail-archives/hints/2003-May/001684.html
(2817 words)
|
|
| |
| | Handhelds.org - Building X for Handhelds |
 | | By making links into the cross compilation environment, you can arrange to use the kernel headers from the source pool, though you can copy the header files needed from our pool manually (note we still plan to complete the reorganization of the driver, which will remove this dependency and make the touch screen interface generic). |  | | The configuration information for the iPAQ is found in the iPAQH3600.cf file in the xc/config/cf directory for the older version of cross compilation; this is not used by the new version implemented by Egbert Eich, where the information is passed in on the "make World CROSSCOMPILEDIR=/skiff/local/bin": (e.g. |  | | While native compilation is certainly possible, since the X code is easy to cross compile and one's x86 system is generally faster than native for the iPAQ handheld. |
|
http://www.handhelds.org/minihowto/building-x.html
(802 words)
|
|
| |
| | javac - Java programming language compiler |
 | | Failing to do this might allow compilation against a Java 2 Platform API that would not be present on a 1.1 VM and fail at runtime. |  | | The compiler needs type information for every class or interface used, extended, or implemented in the source file. |  | | The compiler searches first in the bootstrap and extension classes, then in the user class path. |
|
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/javac.html
(1941 words)
|
|
| |
| | LRZ: The SR8000 Cross Compilation Environment |
 | | Unless there is a explicit facility for enabling cross compilation, build processes initiated in the cross compilation environment may well fail, either due to the impossibility of running Hitachi testing binaries on an Intel processor, or due to miscompilations due to configure scanning the Linux development environment instead of the Hitachi HI-UX one. |  | | compiled on hitcross with sources on NFS using 2 processes |  | | compiled on hitcross with sources on NFS using 4 processes |
|
http://www.lrz.de/services/compute/hlrb/hitcross
(1263 words)
|
|
| |
| | Daemon News '200312' : '"Cross-building Explained: Cross compilation on NetBSD "' |
 | | Certainly, certain pieces of software can be crossbuilt, but the more complex software attempts to figure out elements of its environment and adjust itself to match. |  | | The cross compiler is only one element, albeit a very import one, of the entire process. |  | | In NetBSD 1.6 file(1) exhibited a failure mode when it was cross compiled from a LP32 to a LP64 machine. |
|
http://ezine.daemonnews.org/200312/crosscompile.html
(1099 words)
|
|
| |
| | Supporting Cross-compilation |
 | | To support this, configure must be carefully written both to support cross-compilation and to provide for a way to specify the results that would have been determined by running a program. |  | | In the cross compilation case, either a different compiler may be used, the user can prebuild the program, or all of the necessary data can be supplied through environment variables. |  | | The second kind of values provide information about the compiler, such as options for generating optimized code or for creating object files for shared libraries. |
|
http://www-unix.mcs.anl.gov/mpi/mpich/adi3/mpich2/node313.htm
(769 words)
|
|
| |
| | Cross-compilation - Wikipedia, the free encyclopedia |
 | | For many embedded systems, cross-compilation is simply the only possible way to build programs, as the target hardware does not have the resources or capabilities. |  | | For example, consider cross-compiling a video game that will run on the Dreamcast. |  | | The target platform usually only applies to compilers as it represents what type of object code the package itself will produce (such as cross-compiling a cross-compiler); otherwise the target platform setting is irrelevant. |
|
http://en.wikipedia.org/?title=Cross-compilation
(284 words)
|
|
| |
| | configure.info-2 |
 | | A cross compilation tool is a tool which runs on one system and produces code which runs on another system. |  | | When it is necessary to distinguish this case from the cross compilation case, such a compiler is called a "native compiler". |  | | Similarly, we speak of native assemblers, etc. Although the debugger is not strictly speaking a compilation tool, it is nevertheless meaningful to speak of a cross debugger: a debugger which is used to debug code which runs on another system. |
|
http://web.mit.edu/course/6/6.828/info/configure.info-2
(7449 words)
|
|
| |
| | Typed Cross-Module Compilation - Shao (ResearchIndex) |
 | | This paper exploits the semantic property of ML-style modules to support efficient cross-module compilation. |  | | Unfortunately, many compilation techniques for the core languages do not work across the module boundaries. |  | | compiled efficiently; compilation of module programs should also be compatible with the standard typedirected compilation techniques |
|
http://citeseer.ist.psu.edu/34966.html
(797 words)
|
|
| |
| | Linux Notes - Cross-compiling Programs for Windows |
 | | First compile the library files to object files, so that dlltool can use them. |  | | I couldn't get the example in the dlltool man page to work, and I didn't fully understand what was happening, but I eventually compiled my toy example by doing the following. |  | | Then to compile a Linux binary, we type |
|
http://rooster.stanford.edu/~ben/linux/crosshowto.php
(408 words)
|
|
| |
| | Porting LinuxBIOS to the AMD SC520 Linux Journal |
 | | This file is compiled by romcc, and in a proprietary BIOS it would be a large blob of assembly code. |  | | romcc is a simple optimizing C compiler-one file, 25,043 lines of code-that uses only registers, not memory. |  | | We do not have enough space here to go into the changes for each file, but we can summarize what we do to each one. |
|
http://www.linuxjournal.com/article/8120
(5208 words)
|
|
| |
| | Chapter 27. Crosscompiling NetBSD with build.sh |
 | | Crosscompiling requires assembler, linker, compiler etc. to be available and built for the target platform. |  | | A cross compiled kernel can be done manually as described in the previous sections, or by the easier method of using |  | | The toolchain itself is part of this, but as it's hosted and compiled for a i386 system, it will get placed in its own directory indicating where to cross-build from. |
|
http://www.netbsd.org/guide/en/chap-build.html
(2988 words)
|
|
| |
| | distcc frequently asked questions |
 | | One possibility is that it might be nice to allow a cache of compiled files to be shared across several users or machines. |  | | distcc parses the compiler command line to work out what operation is being invoked, and what are the input and output files. |  | | The disadvantage of this approach is because it relies on running tasks on any node, all relevant aspects of the nodes must be the same. |
|
http://distcc.samba.org/faq.html
(6486 words)
|
|
| |
| | Handhelds.org - Building X Clients for the iPAQ |
 | | Cross compilation, while nominally faster, usually involves much more hassle than it is worth. |  | | The skiff distribution is very strange, being a cross between a Debian and a RedHat system, for historical (hysterical?) reasons. |  | | If it uses the GNU configuration tools, you probably really want to native compile, rather than cross compile, as hacking Makefiles until the cows come home gets very boring. |
|
http://www.handhelds.org/minihowto/building-x-clients.html
(638 words)
|
|
| |
| | 64 bit cross compilation for Linux - Intel® C++ Compiler - Intel® Software Network Forums |
 | | Forums Home » Intel® Software Development Products » Intel® C++ Compiler » 64 bit cross compilation for Linux |  | | We are using gcc 3.2.3 on Itanium II (which are very expensive!!!) to build, because we are not aware of "cross compilation" features of gcc. |  | | Please see my reply in 64 bit compilation on 32 bit Intel machines |
|
http://softwareforums.intel.com/ids/board/message?board.id=16&message.id=293
(571 words)
|
|
| |
| | developerWorks : Linux : New to Linux on Power Architecture |
 | | The Linux on Power Architecture Developer's corner Downloads is a large compilation of downloadable open source and commercial development tools and other software -- Linux distributions, libraries, databases, and middleware -- that will prove indispensable in your development efforts. |  | | Linux on Power Architecture Developer's corner is the place for application and system programmers, Independent Software Vendors (ISVs), and IBM Business Partners who are building or evaluating software for Linux on Power Architecture-based systems. |  | | A number of compilers are available for Linux on Power Architecture (see previous section), and several Integrated Development Environments (IDEs) are available for Linux on Power Architecture, including free, as well as commercial, products. |
|
http://www-128.ibm.com/developerworks/linux/power/newto/index.html
(4592 words)
|
|
| |
| | Installation |
 | | To cross compile Mach itself, the only additional thing you need to do is tell the Mach build environment where to find the cross compilation tools. |  | | These are available on linux, but I do not know of any cross versions of these programs. |  | | To cross compile from a different (non-Mach) OS but on the same processor architecture, you normally shouldn't have to do anything special; the "normal" procedure above is known to work on Linux anyway. |
|
http://www.cs.utah.edu/flux/mach4/html/install.html
(1143 words)
|
|
| |
| | Gentoo Linux Documentation -- Cross-compilation |
 | | This document describes how to setup a cross-compiler for PowerPC on a x86 for use in a distributed compilation system. |  | | Note that these should correspond to your target system, in particular the gcc versions should match in you are considering distributed compilation with distcc. |  | | Note that with distributed compilation, the code is cached on the client side. |
|
http://www.sable.mcgill.ca/~dbelan2/crossdev/crossdev-powerpc-i686.html
(2490 words)
|
|
| |
| | Cross-compilation vers Win32 |
 | | Now, you don't want your programs suffer the same limitation: you need them to run under many OS, without the need to restart your computer or use another one to compile. |  | | We begin with the creation (as root) of this directory, where we can untar both the packages: |  | | , contains files required by the compiler and the linker to produce Windows binaries. |
|
http://www.dumbbell.fr/howto/win32-cross-compilation.en.html
(1050 words)
|
|
| |
| | KDevelop Gains Cross-Platform Compilation Support |
 | | Seriosuly though, you would at least need some sort of (possibly emulated) Windows installation to at least test the binaries. |  | | And, how is KDevelop going to compile win32/X binaries in a UNIX environment? |  | | This is the current KDevelop of branch KDE_2_2_BRANCH heading towards to version number 2.1. |
|
http://dot.kde.org/1007435836
(1005 words)
|
|
| |
| | [Iftop-users] Supporting cross-compilation |
 | | On Sun, Jun 12, 2005 at 08:49:01PM -0700, Tim Freeman wrote: > I was using my PC running Linux to compile iftop for my Linksys > WRT54GS router running Openwrt (which is an instance of Linux), and I > discovered that the "configure" script for iftop doesn't support > cross-compilation. |  | | This makes me more willing to run iftop as the login shell > of a passwordless account so the other users of my router can triage > some network performance problems without bugging me. Good plan - both of these are now committed to CVS, and will appear in the next release. |  | | The patch also adds a NO_SYSTEM > compiler flag that, when set, disables the "!" key that starts a > subshell. |
|
http://lists.beasts.org/pipermail/iftop-users/2005-June/000194.html
(199 words)
|
|
| |
| | Cross-compilation - definition of Cross-compilation in Encyclopedia |
 | | Typically the hardware architecture differs, like for example when compiling a program destined for the MIPS architecture on a X86 computer; but cross-compilation is also applicable when only the operating system environment differs, as when compiling a FreeBSD program under GNU/Linux. |  | | For many embedded systems cross-compilation is the only possible way (some may be not powerful enough to run a compiler). |  | | Compiling a program takes place by running the compiler on the build platform. |
|
http://encyclopedia.laborlawtalk.com/Cross-compilation
(172 words)
|
|
| |
| | Cross Compilation |
 | | Cross compilation allows a programmer to develop and compile programs on their workstation for use on a different machine. |  | | This document describes how to cross compile C code for the Sharp Zaurus 5600. |  | | These instructions were tested on Red Hat Linux 9. |
|
http://www.seas.upenn.edu/~cwalstad/auburn/cross_compilation.html
(154 words)
|
|
| |
| | Autoconf: Hosts and Cross-Compilation |
 | | The former scheme to enable cross-compilation proved to cause more harm than good, in particular, it used to be triggered too easily, leaving regular end users puzzled in front of cryptic error messages. |  | | will enter cross compilation mode, so it won't run any tests that require execution. |  | | The following configure statement will configure a cross toolchain that will run on Net |
|
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_164.html
(457 words)
|
|
| |
| | [Sip] Stripped version (no debug) Cross compilation of sip with arm linux |
 | | -----Original Message----- From: sip-admin@vovida.org [mailto:sip-admin@vovida.org]On Behalf Of Rahul Joshi Sent: Thursday, June 28, 2001 11:29 AM To: sip@vovida.org Subject: [Sip] Stripped version (no debug) Cross compilation of sip with arm linux I have set the CODE_NODEBUG option in the makefiles in the build directory. |  | | Can anyone help me how should i make stripped (no debug) andnbsp;version of the user agent. I see that In other cases the -g option is NOT used e.gandnbsp;in the compilation ofandnbsp; ua or sipstack diretory with = arm-linux-g++ On using the command "file ua" it show the type as not-stripped version. |  | | I see that In other cases the -g option is NOT used e.g in the compilation of ua or sipstack diretory with arm-linux-g++ On using the command "file ua" it show the type as not-stripped version. |
|
http://www.vovida.org/pipermail/sip/2001-July/001556.html
(343 words)
|
|
| |
| | Linux Today - Jay Carlson: PPC Cross-compilation Benchmarks |
 | | But I do have a number of big "rebuild everything" compile tasks that I want to be fast. |  | | Almost all of them are hosted on Linux, which is good because Linux runs on most hardware I run into. |  | | And I'm a hacker too, so I care about shells, compilers, interpreters, emulators, network servers, and so on. |
|
http://linuxtoday.com/infrastructure/2001060301520PSHW
(788 words)
|
|
| |
| | Haiku :: View topic - Cross-Compilation of Haiku OS/apps |
 | | However, Ingo Weinhold is working on a system of some kind to write a BFS image under Linux... |  | | Of the files that can be compiled ATM, not many should be affected |  | | I know that most operating systems will remove any attributes connected to a file, so I'm wondering if there are any mission-critical files that would cause major problems if they lost their attributes. |
|
http://haiku-os.org/forums/viewtopic.php?t=342
(496 words)
|
|
| |
| | Code cruncher transforms Excel InfoWorld Review 2004-11-19 By Rick Grehan |
 | | Consider the minutes — or even hours — involved in rewriting, compiling, and testing an Excel algorithm that you hand-coded into C++, and it becomes clear that TurboExcel has the edge. |  | | TurboExcel also saves the configuration input in a separate location in the spreadsheet. |  | | Excel developers who have wanted to hot-rod their favorite algorithms, but who don't fancy themselves C++ programmers, will be happy to hear their time has come. |
|
http://www.infoworld.com/article/04/11/19/47TCsavvy_1.html
(1696 words)
|
|
|