cross-compiling

Porting From Windows To Linux

I have a project written in Lazarus on Windows, but I want to cross-compile it for Linux on my Windows computer. How can I do this? ...

GtkGLExt - (cross) building troubles

Hello, I want to (cross) build from source the "GtkGLExt" library (the OpenGL extension to GTK+). I am in Linux and I want to build the "Windows" version of that library (for cross-compiling I use "MinGW"). So I downloaded the source code from "http://downloads.sourceforge.net/gtkglext/gtkglext-1.2.0.tar.gz", extracted it and then run: ...

Linking error: Undefined Symbols, lots of them (cpp cross compiling)

Hello, I get to the very last linking command (the actual executable is being linked) but i get a BUNCH of undefined symbols (and they're in cpp and look so scary to me, a simple c programmer) --its probably something simple but i cant get what im supposed to put as linker (its using gcc here...? is that appropriate? g++ told me too ma...

C++ application - should I use static or dynamic linking for the libraries?

I am going to start a new C++ project that will rely on a series of libraries, including part of the Boost libraries, the log4cxx or the google logging library - and as the project evolves other ones as well (which I can not yet anticipate). It will have to run on both 32 and 64 bit systems, most probably in a quite diverse Linux enviro...

Xscale compilers for Linux? (also Xscale compile flags question)

I am currently using a GCC 3.3.3 based cross compiler to compile for a Xscale PXA270 development board. However, I was wondering if there are other Xscale compilers out there that run on Linux (or Windows for that matter)? The cross compiler setup I am using has horrendous performance on the target device, with certain programs that do...

Will the next release of Delphi be supporting cross-compilation for Mac and Linux?

According to a recent blog post by Allen Bauer: As we’re working on Fulcrum, the next RAD Studio release with a focus on cross-compilation for Mac and Linux, [..] I figured someone would mention it in the comments, but I thought Mac/Linux support was a few releases further off. Maybe it's just me, but this is huge news. Does...

How do I use cygwin to cross compile to linux, when I have an application that needs libX11.so, libGL.so, and libGLU.so?

Will I have to use the crosstool that cygwin provides to make the libX11.so, libGL.so, and libGLU.so libraries using their respective source code? Or do you know where I can find them compiled already for crosstool (I'm new to this cross compilation)? Just for clarification: I'm on a windows 7 machine trying to get my application also t...

Canadian Cross binutils To ARM

I'm using JLime on my HP Jornada 720 that uses a ARM processor. I've already have a cross-compiled gcc for x86(arm-linux-gcc). The idea of what I want to do is very difficult to understand, then take a look at this chart: arm-linux-gcc(at my Ubuntu laptop) -> binutils to run on a ARM processor(targeted to compile mips-elf while on my...

Advice on building a cross-compiler for Xscale ARM?

I am playing around with a PXA270 Xscale development board (similar to the Gumstix), and was provided a cross compiler, but it is GCC 3.3.3. I would like to learn how to build my own cross compiler, so I can customize the setup, but have had trouble getting crosstools and crosstools-ng to successfully build a toolchain. My main needs a...

How to remote debug with a cross-debugger under Code::Blocks ?

I've set up my target toolchain (ARM), I can compile my projects, and launch them on the remote hardware (an OMAP3 based board). I have set up project properties for remote debugging for my target. But when I launch the debug process, it seems to launch "system's default gdb" instead of the one configured in Settings\Compiler and Debug...

Troubles with cross compiling boost

I'm trying to setup Boost 1.42 in our system. I need Boost to compile for the regular x86 architecture with gcc and I need cross compilation for an ARM processor of Texas Instruments. The toolchain for the ARM processor is based on gcc. The tools like gcc, ar, ranlib are all prefixed with arm_v5t_le-. The documentation about cross comp...

lcov in cross-compile environment

Hello, I have some problems in using gcov/ lcov in a cross-compiler setting. What I have: I took the example main()-Program from the gcov documentation page and successfully compiled, linked and run it. I also was able to run lcov against it to produce the analysis in html pages. All this was in a native i.e. (NON cross-)compiling env...

Setting up a cross-compilation environment for a specific target platform

I'd like to set up a cross-compilation environment on a Ubuntu 9.10 box. From the documents I've read so far (these ones, for example) this involves compiling the toolchain of the target platforms. My question is: how do you determine the required version of each of the packages in the toolchain for a specific target platform? Is there ...

Is it possible to set up a gcc cross compiler on Linux to compile 64 bit targets on a 32 bit architecture?

Hi, I know you can compile to a 32 bit target on 64 bit Linux by using the -m32 flag, but is it also possible to compile to 64 bit on a 32 bit machine by using the -m64 flag? Or alternatively, do you need to set up a cross gcc tool chain that supports 64 bit targets and is this possible on a 32 bit machine? Regards, Johan ...

ARM development and emulation

I have an ARM device (network storage) with debian installed. I can pull out drive and dump fs image (using dd). The OS there is debian, I use ubuntu. What do I need to install (software) to be able to cross-compile? I can mount image and modify its content. How can I emulate that device to test cross-compiled executables? UPDATE: I d...

Problem with cross compiling icu

Hi all I am trying to cross compile the icu library for the iPhone. I downloaded a configure script wrapper from http://sites.google.com/site/michaelsafyan/coding/articles/iphone When I execute it, I get the following error message: checking wchar.h usability... no checking wchar.h presence... yes configure: WARNING: wchar.h: present b...

Game cross-compiling and packaging

Hi, Some friends and I wanted to develop a game. Any language will do. I've been programming in C for years, but never wrote a game before. One of us knows SDL a little bit. It would also be a nice excuse to learn Python+pygame. We wish our game to be 'standalone'. By standalone, I mean most users (at least Linux, Mac and Windows) will...

cross compilers

I've seen the about cross compilers reply at http://stackoverflow.com/questions/579695/how-do-i-cross-compile-c-code-on-windows-for-a-binary-to-also-be-run-on-unix-sol and i would like to know how can i compile for sparc on x86 machine? where can i find a good cross compiler? I also need for HP OS . if you link me to a good step by ste...

Using libs/DLLs built in a different version of Visual C++

If a 3rd-party developer gives us .libs and/or .dlls generated with VC++ 2005, can they be used in VC++ 2008? What about if he compiles with 2008 Pro, and we run 2008 Standard/Express? I know C++ is not as portable as it used to be, what with VC++ runtimes and so on, but I'd like to think at least we can use pre-existing libraries/dlls ...

Unable to find reference to std library math function inside library

Hello, I've got several programs that use shared libraries. Those shared libraries in turn use various standard C libraries. ie Program A and Program B both use Shared Library S. Shared Library S uses std C math. I want to be able to statically link Shared Library S against the standard library, and then statically link Programs A ...