Sponsored Content
Top Forums Programming Cross compiling under Windows for Linux Post 302359068 by Shompis on Monday 5th of October 2009 06:11:42 PM
Old 10-05-2009
Hi,

Resurrecting this old thread.

I am in a similiar situation, however, we already have a native compiler on linux that will build 32bit and 64bit linux cross compilers. Now we want to go a step further and be able to cross-compile on a Windows host. The native compiler is based on GCC 3.3.3 and built with GCC 3.3.3, while the cross-compilers are GCC 4.1.2 compliant. We have sysroots in place for 32bit and 64bit, and the native compiler, and link in the source codes for GCC and Binutils. My question is, if we the criteria above, is it really necessary for me to install the crosstool mentioned in the link regarding cross-compiler in cygwin? Would it be sufficient to build the native compiler with Cygwin GCC 3.3.3 and link in necessary rpms (which we extract of course) from the linux distros), and then with the native compiler build the cross-compilers?

I would like to do as little changes as possible in the code we already have. Right now we build everything with make, and the source codes and binaries from the linux distros (we only take what it necessary, so only the relevant rpms are stored) are in rpm format.. The native compiler is buillt in a similiar way, i.e. source code for binutils, gcc from the linux distro are available, in addition to a set of rpm binaries.

So I guess install cygwin, gcc 3.3.3, rpm tools, and gnu make?

Thanks in advance!
 

4 More Discussions You Might Find Interesting

1. Linux

Help Cross compiling a kernel for an HP Jornada 728

Hello, I just bought an old Jornada 728 and, as you may know, it comes with Windows CE 3.0. I do not use Windows, so i wanted to create my own linux system for the Jornada. I know there are projects like Jlime, Familiar Linux, 720 Degrees, etc. But i want something based on the distribution i... (1 Reply)
Discussion started by: semash!
1 Replies

2. UNIX for Dummies Questions & Answers

Cross complie linux make files onto a windows 7 machine using PGI Cygwin

Hello, I am very unfamiliar with linux/unix (don't even know the difference), but am trying to get some linux software to run on my Windows machine for my research. I have the makefiles for the software, and it is designed to be compiled in the PGI complier, which I also have. When i... (6 Replies)
Discussion started by: roba87
6 Replies

3. UNIX for Dummies Questions & Answers

Cross-compiling libiconv for uclinux

Hi everyone, I want to cross-compile libiconv for uclinux to create a static library. I use the following command : ./configure --enable-static --disable-shared --build=i686-pc-linux-gnu --host=nios2-unknown-linux-gnu --prefix=/home/captain/Programs/nios2-linux/uClinux-dist/staging/usr... (2 Replies)
Discussion started by: moganesh
2 Replies

4. UNIX and Linux Applications

Cross Compiling Issue of udev-151 for MIPS Little Endain Architecture

Hi All, I am trying to cross compile udev-151 for MIPS little endian architecture. I am configuring like this: ./configure --prefix=$PWD/sree --host=mips-linux-gnu configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then... (3 Replies)
Discussion started by: bsreeram
3 Replies
os_type(3alleg4)						  Allegro manual						  os_type(3alleg4)

NAME
os_type - Stores the detected type of the OS. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern int os_type; DESCRIPTION
Set by allegro_init() to one of the values: OSTYPE_UNKNOWN - unknown, or regular MSDOS OSTYPE_WIN3 - Windows 3.1 or earlier OSTYPE_WIN95 - Windows 95 OSTYPE_WIN98 - Windows 98 OSTYPE_WINME - Windows ME OSTYPE_WINNT - Windows NT OSTYPE_WIN2000 - Windows 2000 OSTYPE_WINXP - Windows XP OSTYPE_WIN2003 - Windows 2003 OSTYPE_WINVISTA - Windows Vista OSTYPE_OS2 - OS/2 OSTYPE_WARP - OS/2 Warp 3 OSTYPE_DOSEMU - Linux DOSEMU OSTYPE_OPENDOS - Caldera OpenDOS OSTYPE_LINUX - Linux OSTYPE_SUNOS - SunOS/Solaris OSTYPE_FREEBSD - FreeBSD OSTYPE_NETBSD - NetBSD OSTYPE_IRIX - IRIX OSTYPE_DARWIN - Darwin OSTYPE_QNX - QNX OSTYPE_UNIX - Unknown Unix variant OSTYPE_BEOS - BeOS OSTYPE_MACOS - MacOS OSTYPE_MACOSX - MacOS X SEE ALSO
allegro_init(3alleg4), os_version(3alleg4), os_multitasking(3alleg4) Allegro version 4.4.2 os_type(3alleg4)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy