linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Cross Compiler running under Win32
@ 2003-11-26 13:55 Steven Scholz
  2003-11-26 18:52 ` Nathan Field
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Steven Scholz @ 2003-11-26 13:55 UTC (permalink / raw)
  To: Linuxppc-Embedded


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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cross Compiler running under Win32
  2003-11-26 13:55 Cross Compiler running under Win32 Steven Scholz
@ 2003-11-26 18:52 ` Nathan Field
  2003-11-27  3:19 ` Dan Kegel
  2003-12-01 18:26 ` Mark A. Greer
  2 siblings, 0 replies; 6+ messages in thread
From: Nathan Field @ 2003-11-26 18:52 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Linuxppc-Embedded


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.

On Wed, 26 Nov 2003, Steven Scholz wrote:
>
> 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 (ndf@ghs.com)			            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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cross Compiler running under Win32
  2003-11-26 13:55 Cross Compiler running under Win32 Steven Scholz
  2003-11-26 18:52 ` Nathan Field
@ 2003-11-27  3:19 ` Dan Kegel
  2003-11-27 10:18   ` Steven Scholz
  2003-12-01 18:26 ` Mark A. Greer
  2 siblings, 1 reply; 6+ messages in thread
From: Dan Kegel @ 2003-11-27  3:19 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Linuxppc-Embedded


Steven Scholz wrote:
> 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cross Compiler running under Win32
  2003-11-27  3:19 ` Dan Kegel
@ 2003-11-27 10:18   ` Steven Scholz
  2003-11-27 17:16     ` Dan Kegel
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Scholz @ 2003-11-27 10:18 UTC (permalink / raw)
  To: Dan Kegel; +Cc: Linuxppc-Embedded, Nathan Field


Dan Kegel wrote:

> Steven Scholz wrote:
>
>> 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?

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cross Compiler running under Win32
  2003-11-27 10:18   ` Steven Scholz
@ 2003-11-27 17:16     ` Dan Kegel
  0 siblings, 0 replies; 6+ messages in thread
From: Dan Kegel @ 2003-11-27 17:16 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Linuxppc-Embedded, Nathan Field


Steven Scholz wrote:
> 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.

> 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cross Compiler running under Win32
  2003-11-26 13:55 Cross Compiler running under Win32 Steven Scholz
  2003-11-26 18:52 ` Nathan Field
  2003-11-27  3:19 ` Dan Kegel
@ 2003-12-01 18:26 ` Mark A. Greer
  2 siblings, 0 replies; 6+ messages in thread
From: Mark A. Greer @ 2003-12-01 18:26 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Linuxppc-Embedded


Steven Scholz wrote:
>
> 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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-01 18:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-26 13:55 Cross Compiler running under Win32 Steven Scholz
2003-11-26 18:52 ` Nathan Field
2003-11-27  3:19 ` Dan Kegel
2003-11-27 10:18   ` Steven Scholz
2003-11-27 17:16     ` Dan Kegel
2003-12-01 18:26 ` Mark A. Greer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).