Skip to contentSkip to conversation

Cross Compiler running under Win32

DISCUSSION Steven Scholz 4 participants 6 messages Nov 26, 2003 – Dec 1, 2003

lore
Share & tools
lore
#0 lore raw

Hi there,

does someone know of a cross compiler (producing code for let's say MPC8xx) that is running natively under win32 (Windows2000/XP) without stuff like CYGWIN?

I'am just wondering.
Apparently MVISTA released their new "DevRocket" which is supposed to run under WindowsXP. So I assume they have cross compilers for "30 processors from 8 architectures" running under Windows...

Thanks.

--
Steven Scholz

imc Measurement & Control               imc Meßsysteme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland
fon: +49 30 467090-0                    Tel: 030 / 467090-0
fax: +49 30 4631576                     fax: 030 / 4631576

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Green Hills Software has its own compiler which we can host from Windows, Linux, Solaris and HPUX. At the moment we still make use of the GNU linker though, so to use our stuff you still need binutils working on your host. Apparently the compiler group is considering supporting Linux targets with our linker, I have no idea what the status of that is though.

Any particular reason why you don't want to use Cygwin?

nathan

PS. I don't know if this list allows plugging non-GNU software, if it doesn't please ignore this bit. Our compiler produces significantly smaller and faster code that pretty much anyone else. An internal test showed code size differences when compiling the Linux kernel at 20+% smaller than GNU gcc 3.x and well over 30% against 2.95. We didn't do much benchmarking, but the speed difference was apparently big enough that it was visable during kernel boot. I believe the kernel cross compile was entirely with our tools.

Quoted 9 lines · Steven Scholz

does someone know of a cross compiler (producing code for let's say MPC8xx) that is running natively under win32 (Windows2000/XP) without stuff like CYGWIN?

I'am just wondering. Apparently MVISTA released their new "DevRocket" which is supposed to run under WindowsXP. So I assume they have cross compilers for "30 processors from 8 architectures" running under Windows...

--
Nathan Field ([email protected]) In my pocket.

But the trouble with analogies is that analogies are like goldfish:
sometimes they have nothing to do with the topic at hand.
-- Crispin (from a posting to the Bugtraq mailing list)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Steven Scholz
Quoted 8 lines · Steven Scholz

does someone know of a cross compiler (producing code for let's say MPC8xx) that is running natively under win32 (Windows2000/XP) without stuff like CYGWIN?

I'am just wondering.
Apparently MVISTA released their new "DevRocket" which is supposed to run under
WindowsXP. So I assume they have cross compilers for "30 processors from 8 architectures" running under Windows...

They could well be using cygwin for the compilers; they charge enough that the licensing fee for cygwin is peanuts, I bet.

But what's wrong with using Cygwin?

Answering my own question, it's a bit of a challenge to use cygwin in an installed package because there are fairly frequent incompatibilities introduced in the cgywin dll, so if the user installs a newer or older version than you expect, your installed package won't work. It's rather maddening. And it seems there's no way to 'embed' cygwin in such a way that it uses a private copy of the cygwin dll.
- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 14 lines · Dan Kegel
Quoted 11 lines · Steven Scholz

does someone know of a cross compiler (producing code for let's say MPC8xx) that
is running natively under win32 (Windows2000/XP) without stuff like CYGWIN?

I'am just wondering.
Apparently MVISTA released their new "DevRocket" which is supposed to run under
WindowsXP. So I assume they have cross compilers for "30 processors from 8
architectures" running under Windows...

Quoted 4 lines

They could well be using cygwin for the compilers; they charge enough that the licensing fee for cygwin is peanuts, I bet.

But what's wrong with using Cygwin?

I think Cygwin is much too much overhead for just compiling a small application. I was told that I could take just the GCC package from Cygwin without installing all of it.

"licensing fee for cygwin" ???
So it's not free?
Could we just take the GCC package and the DLL and distribute it together with our software and install it on our costumers Windows PCs?
We have to be able to generate and (cross-)compile code on our costumers PCs that is than transfered to our devices and executed.

--
Steven Scholz

imc Measurement & Control               imc Meßsysteme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland
fon: +49 30 467090-0                    Tel: 030 / 467090-0
fax: +49 30 4631576                     fax: 030 / 4631576

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 7 lines · Steven Scholz

I think Cygwin is much too much overhead for just compiling a small application.
I was told that I could take just the GCC package from Cygwin without installing all of it.

"licensing fee for cygwin" ???
So it's not free?

It is free, if you obey the GPL, and distribute source code. Otherwise, you can get a commercial license.

Quoted 4 lines

Could we just take the GCC package and the DLL and distribute it together with our software and install it on our costumers Windows PCs? We have to be able to generate and (cross-)compile code on our costumers PCs that is than transfered to our devices and executed.

Yes. However, this is complicated by the fact that if the user already has cygwin installed, its cygwin DLL may conflict
with yours. It's not a trivial problem to address.
If you're willing to keep your package up to date with the latest Cygwin all the time, it's probably managable; in case of conflict, the user can update both Cygwin and your tools and get things working again.

We actually did some of that at Ixia, and I have the scars to prove it :-)
- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#5 lore raw
In reply to Steven Scholz
Quoted 9 lines · Steven Scholz

does someone know of a cross compiler (producing code for let's say MPC8xx) that is running natively under win32 (Windows2000/XP) without stuff like CYGWIN?

I'am just wondering. Apparently MVISTA released their new "DevRocket" which is supposed to run under WindowsXP. So I assume they have cross compilers for "30 processors from 8 architectures" running under Windows...

FWIW, this is the mvista marketing spiel:

http://www.mvista.com/news/2003/devrocket.html

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/