This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Crocc GCC building for H8300H


I was in a similar situation as Jurgis (working in a "Windows only" environment)
but came up with a reasonable compromise. Disk drives are so cheap nowadays that
I was able (with supervisory approval of course ;) to install a second hard
drive in my NT workstation - 3Gbytes. I installed RedHat Linux on this second
disk. I created a boot floppy and when I want to use NT, I just leave the floppy
out. When I want to use Linux, I boot off the floppy. Linux couldn't mount the
NT partitions so I set up a 500 Mbyte DOS partition on the Linux disk, formatted
it under NT, and mount it as type vfat under Linux. This gives me an area for
sharing files.

It was really worth it to do this, because even with my new 500 MHz screamer,
Cygwin is painfully slow. Everything works cleanly (and very fast!) under Linux.
The price of RH Linux and the 3G disk drive are insignificant compared to the
long term time savings. Plus, it's fun and not tedious! :-)

--Steve


Scott Howard wrote:

There are some applications for which Windows is a good choice. However
compiler construction is not one of them.

You should really press your management to make an exception in this
case. It's possible to do this under Windows, but takes a lot of time;
both in getting the configuration right and in doing the actual build.

However if there is absolutely no way you can get access to a linux
machine, it is possible to build compilers on Windows by using the
Cygwin package. Cygwin is a Unix-to-Windows translation layer which
emulates many Unix system calls on Windows, allowing most of the Gnu
software to compile and run on Windows without the major modifications
that would otherwise be required. It's available from the cygnus web
site.

Once you have cygwin installed, then you can unpack the compiler sources
and do a normal cross build. (Canadian cross not needed here, just
specify '--target=' and the name of the H8 target configuration you want
to use.) The resulting tools will also require the cygwin package to be
installed in order to run.

It won't be fun, but at least it will be tedious... :-)

Scott


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]