cross-compiling

Cross-Compiling gcc

I am following the instructions here for cross-compiling GCC. I am on a mac. When I run this command from the gcc source folder: ./configure --target=i586-elf --prefix=/usr/local/cross --disable-nls --without-headers --enable-languages=c,ada,c++,fortran,java,objc,obj-c++,treelang I get this error: configure: error: GMP 4.1 and MPFR 2.2.1...

Error when building arm-elf-gcc

I'm trying to build a arm-elf-gcc cross compiler. So firts I installed binutils 2.18 with the following configure options: ./configure --target=arm-elf --enable-interwork --enable-multilib This seems to work fine. next I installed gmp, mpfr and libmpc so now to the gcc itself. //edit - removed previous error and updated with the ...

Cross-compiling Flex/Flash to Javascript

Are there any options for compiling Flex/Flash projects into Javascript/JQuery? I seem to remember this feature possibly being part of Adobe's latest dev tools? ...

Perl to static executable on linux

I want to create a static executable that will run on a windows machine from a linux machine (ubutu 10.04). Is there anyway of doing so?? thanks, ...

Trouble cross compiling OpenCV for ARM9 Montavista Linux

I'm trying to cross-compile the OpenCV library for using it on an embedded system running Montavista Linux(the system has an ARM926 processor). I've managed to configure and generate the makefiles; the sources are built OK, including the 3rd party libraries. The trouble comes at link time. For some reason libtool picks some libraries fro...

Cross Compiling ARM7 code from visual studio

Hi, Is it possible to compile for ARM7 from visual studio (2008/2010) express or professional? If so, can I be directed as to how to do so? I've read from other posts about the Yagarto toolchain. How does it all fit into the picture? I'm very green in this field (c# programmer) so any guidance will be very much appreciated. The last ID...

Compiling for windows on linux

Is it possible to compile a Win32 program on a Linux computer without the use of an emulator or Wine or anything? ...

Failure when trying to cross-compile Erlang R13B04 for ARM

I am trying to cross-compile Erlang and running into a weird bug. The commands used are make clean ./otp_build configure --host=arm-none-linux-gnueabi --build=i686-pc-linux-gnu --prefix=/opt/erlang erl_xcomp_sysroot=~/sbctools/arm-2007q3 --disable-hipe --disable-threads --disable-smp --disable-megaco-flex-scanner-lineno --disable-m...

Porting Linux kernel 2.6 to new MIPS board

I wanna port Linux kernel 2.6.x to new MIPS board. Unfortunatelly, I can't find good actual documentation with step by step explaination. Hope, you'll help me. Paper books are OK too. Thank you in advance! ...

Can GDB be used on a cross-compiled win32 application on the target platform

That's a mouthful of a question but basically I want to know if I can use GDB on an application compiled to i686-pc-mingw on a linux cross-compiler. I want to debug the resulting program on the target windows box with source code references etc. Is it possible and if so what to I need to take into account (ie, same version of mingw file...

Compiling libcurl x86 on Linux x64

I've cross-compiled the bulk of my 32-bit code on my x64 Ubuntu install, but I can't work out how to do the same trick with libcurl. I've tried many permutations of --host and/or --build i486, x86, etc. but none have helped. I've also tried editing the makefiles to include gcc's -m32 flag manually, but it never shows up when I run them....

Cross Platform C?

I am running Linux Ubuntu 10.04 and I have a Windows 7 machine and a MacBook running Mac OS X 10.6.4. How can I write a simple C program (as in NOT QT!) like: #include <stdio.h> int main(int argc, char **argv) { printf("Hello Linux and Mac and Windows!") return 0; } to run on all my machines without having to compile this pro...

compiling synamic arm code

I'm building some common gnu/linux console utilities for my Android phone but so far I have only been able to build them statically, with quite a size penalty. Can someone walk me through the steps for synamic compiles using shared libraries? Here's the script(s) I'm using for configuration: ./configure --host=arm-none-linux-gnueabi \...

commercial IDE for crossdevelopment arm chips

Hi fellas, for now i use eclipse on windows and codesourcery compiler to crosscompile c applications for my AT91SAM9RL-EK board. I am thinking of getting a commercial IDE for crossdevelopment for c / c# / .net on arm. Has anyone experience with commercial products for arm development? ...

How to Build a 32-bit Python Module Distribution w/ Setup.py on x86_64 Host

I need to compile a 32-bit distribution of PyEphem. It does not seem like this should be difficult, however, I'm running into some compiler issues. $ CFLAGS=-m32 python setup.py bdist -p i386 running bdist running bdist_dumb running build running build_py running build_ext building 'ephem._libastro' extension gcc -pthread -fno-strict-al...

Cross-compiler Toolchain and OpenEmbedded +BeagleBoard

Hi! I recently start building the filesystem for Beagle Board through OpenEmbedded, but now I also want to change its kernel using the shown here: http://elinux.org/BeagleBoard#Linux_kernel. To do that I need the staging and the cross-compiler toolchain directories, but I can't find them. The top level directories that a...

toolchain arm glibc 2.12.1 error

I try to create cross toolchian for arm but have this error: In file included from dl-lookup.c:28:0: ../glibc-ports-2.11/sysdeps/arm/dl-machine.h:29:0: warning: "VALID_ELF_ABIVERSION" redefined In file included from dynamic-link.h:88:0, from dl-load.c:34: ../glibc-ports-2.11/sysdeps/arm/dl-machine.h:29:0: warning: "VALI...

Cross compiling Direct3D on Linux with mingw

How to configure mingw32 to cross-compile Direct3D Apps for Windows? Is there any possibility? I have actually succeeded compiling code from this tutorial: http://www.directxtutorial.com/Tutorial9/B-Direct3DBasics/dx9B4.aspx - using Code::Blocks on Kubuntu with i586-mingw32msvc-g++. I needed to add #define UNICODE and remove the #pragma ...

cross-compiled THTTPD server with PHP runs fine, but no PHP

Hello, We need some PHP on an ARM board. I've successfully cross-compiled both PHP 5 and THTTPD and they both seem to run fine on the ARM board, only the .php pages are shown unprocessed (if you do "View Source" in the web browser, you can see the PHP code). It has to be a silly configuration detail, I really feel that I am snatching d...

Cross-compiler library communication

I need to develop a C++ front-end GUI using MSVC that needs to communicate with the bank-end library that is compiled with C++ Builder. How can we define our interfaces so that we don't run into CRT library problems? For example, I believe we will be unable to safely pass STL containers back and forth. Is that true? I know I can pass ...