cross-compiling

How do I get Eclipse to find and use a gcc based toolchain in a non-standard location

Hi, I am trying to get Eclipse to work with a GCC based ARM cross compiler. How can I configure eclipse to add the new tool chain to its list of tool chains? The tool chain is a Raisonance distributed GCC tool chain: C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe ...

Cross-compile/Recompile an ActiveX for mobile devices

Hi, In our project, we have a lot of ActiveX controls written in VB6. On big (x86) computers it works very well. These controls are hosted on website. And mobile users also wants to use it. So is there any possible solution to recompile/cross-compile an .ocx and make .cab file to works under ARM architecture? Or maybe I can emulate x86 a...

My scratchbox 2 installation is using an ARM gcc build to compile for the ARM target. How do I fix this?

I'm using scratchbox 2, the maemo development cross-compilation environment. When compiling code for the ARM target, I think scratchbox 2 is using the native ARM gcc compiler, which runs very slow on my x86 machine. I think it should be using an ARM cross-compiler, compiled for x86, that runs much faster. Sorry for the lack of details ...

Eclipse cross-compile... how can I do that?

Hi, I am developing on a Windows machine using Eclipse in C code. All the files are physically located on a Linux server. I am using Eclipse only for editing and code browsing. When I want to compile, I open a terminal and telnet to the Linux server from which I call a file that sets up few variables and eventually invoke a "make" comm...

Can QT Creator on linux create .exe files

Hello, I ve installed QT Creator in OpenSUSE Linux distro, Can i know if it is possible to create ".exe" of QT program which is perfectly executing in Linux. If so kindly mention the procedure to create .exe in Linux. Thank U ...

Cross compile in Linux or Windows?

To create a .exe in Linux using Qt SDK, should I cross compile my application in Linux or cross compile my application in Windows? I am totally confused. :( Please help. ...

what is cross compiler and cross platform ?

I am bit confused with the terms of cross platform and cross compiler. Let me be first clear about the cross platform. When people talk about cross platform it means the architecture of the CPU, i.e, X86 and X64 ? or the OS i.e windows 32 bit or Windows 64 (server or desktop)? UNIX doesn't have different flavours like 64 bit or 32 bit. W...

How to cross-compile 64bit DLL with VS 2005 on 32bit computer?

Using Visual Studio 2005, I wrote a simple DLL in C that uses the Windows API to send UDP datagrams and that is hooked into a third-party program. On a 64 bit machine, it does not work at all, as the third-party code was compiled for 64 bit in this case. So I need to ship two versions of the same DLL - one for 32 bit, one for 64 bit. Ho...

How can I cross compile my Linux application to get a Windows executable in Linux?

I need to cross compile my QT application in Linux. I compiled my application from the QT SDK in Linux and it is working properly. How do I create an .exe for the same application in Linux. I have installed Mingw in Linux and qmake, but I dont know how to proceed with cross compiling. How do I link my QT with a cross compiler like MinGW ...

Lua compiled scripts on Mac OS X - Intel vs PPC

Been using Lua 5.0 in a Mac OS X universal binary app for some years. Lua scripts are compiled using luac and the compiled scripts are bundled with the app. They have worked properly in Tiger and Leopard, Intel or PPC. To avoid library problems at the time, I simply added the Lua src tree to my Xcode project and compiled as is, with no ...

i386mingw32-g++ not created

I have installed MinGW cross compiler in Linux , but i'm not able to create i386mingw32msvc-g++ because of which i'm not able to cross compile my cpp application.what has to be done to create it. in /usr/local/cross-tools/bin i've all these executables i386-mingw32-addr2line, i386-mingw32-ar, i386-mingw32-as, i386-mingw32-gcc, i386-mingw...

Adding directory path to i386mingw-g++

Hi, How to add directory path to i386mingw-g++ where i working under Linux? When i try to cross compile a .cpp program through i386mingw-g++ it does not take the path of the include directories. I have also seen in the help, as it instructs to do with -B option but it shows as such "bash: syntax error near unexpected token `newline'" K...

Performance impact of Java class files generated with "-target 1.5" running on a 1.6 VM?

After migrating my whole setup from Java 1.5 to 1.6 (J2EE, Tomcat) a couple of months ago, I just realized that Maven is still configured to generate class files targeted for 1.5 via Sun's javac parameter "-target 1.5". Can I expect any performance boosts when changing "-target 1.5" to "-target 1.6"? ...

embedding absolute path for shared libraries

Using a vendor provided cross-compiling toolchain (apparently an OpenEmbedded derivative), I'm unable to embed the absolute path to third-party (open source, compiled in house)libraries. With the following gcc command line: arm-linux-gcc test_connect_send.o gprs_connect.o \ /package/host/myvendor.com/API-R-2.0.0/Release/Libraries/li...

Cross-compiling with OpenSSL for Windows

I'm trying to compile the oauth-utils http://mir.dnsalias.com/oss/oauth/start for Windows from Ubuntu. I have compiled it on Windows before (a few months back), but wanted to try cross-compiling. I got openssl build using mingw32 ok, and put libssl.a and libcrypto.a in the right place. The linker is now finding the libraries (yay!) bu...

Scons in Scratchbox: Can't find g++

Hello, I've been using sbox with a Make-based codebase with no problems. Now I'm using a scons-based codebase, and am getting some odd problems. It seems that within scratchbox, scons can't find g++. For example, it attempts to execute things like: o hello hello.c When it should be doing: g++ -o hello hello.c So presumably its g++ s...

Building ARM GNU Cross compiler ...

A similiar (less descriptive) post is here. I'm trying to roll my own tool chain using recent releases on Ubuntu and was hoping there was enough of a Linux community here that I could get specific advice on certain problems as they come up. With everyone's help I'd like to see this turn into a useful reference eventually. First off ...

How can I compile object code for the wrong system and cross compiling question?

Reference this question about compiling. I don't understand how my program for Mac can use the right -arch, compile with those -arch flags, the -arch flags be for the system I am on (a ppc64 g5), and still produce the wrong object code. Also, if I used a cross compiler and was on Linux, produced 10.5 code for mac, how would this be any...

Why does the library compiled on two slightly different machines behaves slightly different?

Here's the setup: My coworker has a Fedora x64_86 machine with a gcc 4.3.3 cross compiler (from buildroot). I have an Ubuntu 9.04 x64_86 machine with the same cross compiler. My coworker built an a library + test app that works on a test machine, I compiled the same library and testapp and it crashes on the same test machine. As far...

Using libs/dlls compiled in Linux/MinGW in Visual Studio

Update: I get this warning when compiling: multiple '.text' sections found with different attributes Hi, I've compiled some libraries (.a and .dll) in Linux using the MinGW Cross Compiler. I can successfully link against them (.a) in Visual Studio 2008. However, when it runs (using .dll), it terminates with the address pointer pointing...