public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* building egcs on Win32 platforms
@ 1998-10-29 14:49 Brendan Simon
  1998-10-30 13:42 ` Mumit Khan
  1998-11-01 15:00 ` Jan-Jaap van der Heijden
  0 siblings, 2 replies; 3+ messages in thread
From: Brendan Simon @ 1998-10-29 14:49 UTC (permalink / raw)
  To: CygWin32, Cross-GCC, egcs

I want to build a powerpc cross compiler to hosted on a Win95/98 box.
RTEMS documentation mention getting cygwin32 beta19.  I'm pretty sure
this will work but I would like to build with MinGW32.  This is because
the resulting crosscompiler will be native Win32 program and will be
faster (unless cygwin has changed in the last 6 months to a year).

Is it possible to use the cygwin user-tools (bash, etc) but have the
MinGW32 compiler tools in the path instead of the Cygwin32 compiler
tools ?

How is the naitive MinGW32 built from the sources ?  Using itself or
Cygwin32 ?

Thanks,
Brendan Simon.


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

* Re: building egcs on Win32 platforms
  1998-10-29 14:49 building egcs on Win32 platforms Brendan Simon
@ 1998-10-30 13:42 ` Mumit Khan
  1998-11-01 15:00 ` Jan-Jaap van der Heijden
  1 sibling, 0 replies; 3+ messages in thread
From: Mumit Khan @ 1998-10-30 13:42 UTC (permalink / raw)
  To: Brendan Simon; +Cc: CygWin32, Cross-GCC, egcs

On Sat, 31 Oct 1998, Brendan Simon wrote:

> I want to build a powerpc cross compiler to hosted on a Win95/98 box.
> RTEMS documentation mention getting cygwin32 beta19.  I'm pretty sure
> this will work but I would like to build with MinGW32.  This is because
> the resulting crosscompiler will be native Win32 program and will be
> faster (unless cygwin has changed in the last 6 months to a year).

Mingw is definitely faster than Cygwin, but the gap is narrowing with
upcoming b20 (out any day now). There are quite a advantages of using
Cygwin GCC over Mingw that IMO book outweigh the speed cost.

> Is it possible to use the cygwin user-tools (bash, etc) but have the
> MinGW32 compiler tools in the path instead of the Cygwin32 compiler
> tools ?

Yes. Just set your path to Mingw compiler directory *before* Cygwin, set
your GCC_EXEC_PREFIX and off you go.

> How is the naitive MinGW32 built from the sources ?  Using itself or
> Cygwin32 ?

I build it on a Linux box, but you should be able to build it on Cygwin
system as well. The usual configure parameters.

I suggest you get the Cygwin b20 source tree when it comes out and build
using that. It's already laid out for you and all you need to do is to
configure and build.

Mumit



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

* Re: building egcs on Win32 platforms
  1998-10-29 14:49 building egcs on Win32 platforms Brendan Simon
  1998-10-30 13:42 ` Mumit Khan
@ 1998-11-01 15:00 ` Jan-Jaap van der Heijden
  1 sibling, 0 replies; 3+ messages in thread
From: Jan-Jaap van der Heijden @ 1998-11-01 15:00 UTC (permalink / raw)
  To: Brendan Simon; +Cc: CygWin32, Cross-GCC, egcs

On Sat, 31 Oct 1998, Brendan Simon wrote:

> 
> Is it possible to use the cygwin user-tools (bash, etc) but have the
> MinGW32 compiler tools in the path instead of the Cygwin32 compiler
> tools ?

Theoretically, you would be using a cygwin32->mingw32 crossgcc for that.
But since mingw32 and cygwin32 share the same object format, in this
case you could take a native cygwin32 compiler, assembler and linker, and
fit it with a mingw32 gcc spec file, include files and libraries.

> 
> How is the naitive MinGW32 built from the sources ?  Using itself or
> Cygwin32 ?
> 

I have used a variety of unix based something-to-mingw32 crosscompilers to
build native mingw32 compilers, basically because these unix boxes are so
much faster than cygwin32. I believe Mumit Khan uses the same method.
You can read all about this so called canadian cross in the crossgcc FAQ.

But, I guess you could use cygwin32 or even a djgpp based crossgcc to
build a native mingw32 gcc.

Happy compiling,
JanJaap

-------------------------------------------------------------------------
J.J.vanderHeijden@student.utwente.nl :                            At home
http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32 : Mingw32 GNU site
http://www.bbv-software.com :             Solutions for Integrated Optics


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

end of thread, other threads:[~1998-11-01 15:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-29 14:49 building egcs on Win32 platforms Brendan Simon
1998-10-30 13:42 ` Mumit Khan
1998-11-01 15:00 ` Jan-Jaap van der Heijden

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 read-only IMAP folder(s) and NNTP newsgroup(s).