public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: gcc on window NT
       [not found] <978635723.5931.ezmlm@gcc.gnu.org>
@ 2001-01-04 11:59 ` Michael Eager
  2001-01-04 12:07 ` elf or ecoff Michael Eager
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Eager @ 2001-01-04 11:59 UTC (permalink / raw)
  To: egcs; +Cc: gcc-help, gilonm

> Subject: gcc on window NT
> Date: Thu, 04 Jan 2001 17:39:08 +0200
> From: Gilon Miller <gilonm@friendly.co.il>
> To: gcc-help@gcc.gnu.org
> 
> Hi,
> 
> I am currently compiling with gcc on a linux platform for the Hitachi
> processor H8S/2350.
> I have an urgent need to be able to compile on a Windows NT platform for
> this same processor.
> Does anyone know of a version of gcc 2.95.2 that can run under NT.
> I know that it is possible to build the compiler for an x86 and that
> involves using something
> called Cygwin. If this is what is necessary can any one tell me what the
> steps are that I need
> to take to perform such a build.

You can build gcc for the H8 under Cygwin.

1)  Install Cygwin on your NT system.  (See www.cygwin.com)

2)  Get and read the CrossGCC FAQ.  (See gcc.gnu.org)

3)  Get the one-tree.sh and build-cross.sh scripts mentioned in the 
    crossgcc FAQ.  (These scripts only work with specific versions 
    of gcc/binutils/newlib.)

4)  Download the sources for binutils, gcc, and newlib.  You can download
    from gnu.org or from a mirror site.  Get the versions required by
    the one-tree script.

5)  Follow the directions on running the script and doing the build.

The resulting tools should run under NT as long as you have the
cygwin1.dll installed either in the compiler directory or in your 
WinNT\system32 directory.  

-- 

Michael Eager
Senior Tools Developer	  Phone: (408) 328-8426
MontaVista Software, Inc.   Fax: (408) 328-9204
1237 E. Arques Avenue	    Web: www.hardhatlinux.com
Sunnyvale, CA 94085	  Email: eager@mvista.com

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

* Re: elf or ecoff
       [not found] <978635723.5931.ezmlm@gcc.gnu.org>
  2001-01-04 11:59 ` gcc on window NT Michael Eager
@ 2001-01-04 12:07 ` Michael Eager
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Eager @ 2001-01-04 12:07 UTC (permalink / raw)
  To: dbellert; +Cc: gcc-help

> Subject: elf or ecoff
> Date: Thu, 04 Jan 2001 11:29:05 -0700
> From: Darrell Bellert <dbellert@boulder.qms.com>
> To: gcc-help@gcc.gnu.org
> 
> Can someone please explain the difference between an elf target and an
> ecoff target, or point me to a site where this is explained?

COFF (Common Object File Format) and ELF (Extensible Linking Format) 
are object file formats used by different operating systems.  

COFF is older and was used in Unix SVR3.  It (or variants) is used by
several targets, suchs as i960.   ELF was developed for SVR4 and 
is more widely used, including Solaris, Linux, and many others.  
Documentation on ELF can be found at www.sco.org, or in the 
System 4 ABI manual at libraries and bookstores.

-- 

Michael Eager
Senior Tools Developer	  Phone: (408) 328-8426
MontaVista Software, Inc.   Fax: (408) 328-9204
1237 E. Arques Avenue	    Web: www.hardhatlinux.com
Sunnyvale, CA 94085	  Email: eager@mvista.com

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

* Re: elf or ecoff
  2001-01-04 11:22 ` Alexandre Oliva
@ 2001-01-04 11:33   ` Jeff Sturm
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Sturm @ 2001-01-04 11:33 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: Darrell Bellert, gcc-help

Alexandre Oliva wrote:
> 
> On Jan  4, 2001, Darrell Bellert <dbellert@boulder.qms.com> wrote:
> 
> > Can someone please explain the difference between an elf target and an
> > ecoff target, or point me to a site where this is explained?
> 
> Basically, ELF is a nice binary format, whereas ECOFF is an extension
> of COFF, which is not as nice.  If you have the option, I'd recommend
> ELF.

ELF is much more modern and flexible, that is.  You can argue whether PIC is
nice or not...

I found John Levine's "Linkers & Loaders" a great text for this sort of stuff. 
I don't know any online resources, however.

--
Jeff Sturm
jeff.sturm@commerceone.com

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

* Re: elf or ecoff
  2001-01-04 10:29 Darrell Bellert
@ 2001-01-04 11:22 ` Alexandre Oliva
  2001-01-04 11:33   ` Jeff Sturm
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 2001-01-04 11:22 UTC (permalink / raw)
  To: Darrell Bellert; +Cc: gcc-help

On Jan  4, 2001, Darrell Bellert <dbellert@boulder.qms.com> wrote:

> Can someone please explain the difference between an elf target and an
> ecoff target, or point me to a site where this is explained?

Basically, ELF is a nice binary format, whereas ECOFF is an extension
of COFF, which is not as nice.  If you have the option, I'd recommend
ELF.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* elf or ecoff
@ 2001-01-04 10:29 Darrell Bellert
  2001-01-04 11:22 ` Alexandre Oliva
  0 siblings, 1 reply; 5+ messages in thread
From: Darrell Bellert @ 2001-01-04 10:29 UTC (permalink / raw)
  To: gcc-help

Can someone please explain the difference between an elf target and an
ecoff target, or point me to a site where this is explained?

Thanks!

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

end of thread, other threads:[~2001-01-04 12:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <978635723.5931.ezmlm@gcc.gnu.org>
2001-01-04 11:59 ` gcc on window NT Michael Eager
2001-01-04 12:07 ` elf or ecoff Michael Eager
2001-01-04 10:29 Darrell Bellert
2001-01-04 11:22 ` Alexandre Oliva
2001-01-04 11:33   ` Jeff Sturm

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).