arm-unknown-pe and latest EGCS

Matt Porter mmporter@home.com
Wed Jun 30 15:43:00 GMT 1999


On Tue, 29 Jun 1999, Mike Stump wrote:

> > Does anybody know if gcc/egcs has ever had released support for the
> > arm-unknown-pe machine?
> 
> Doesn't look like it.
> 
> > I ask because Symbian distributes a win32 hosted toolchain which has
> > arm-unknown-pe machine support and I want to know if I should be
> > asking them to properly supply source code or patches so I can build
> > a Linux->arm-unknown-pe cross-compiler.
> 
> You can get the source to the compiler they gave you and compile it up
> on linux, or mine it for the pe.h, t-pe, pe.o files and drop them into
> a newer base.

I'm working on that route right now.  Although they include a GPL notice
in their distribution, they have not pointer to source.  They are probably
just not aware of the requirement so I let them know.  Interestingly, they
use a modified gcc-2.7.2 which identifies itself as a Cygnus version so I
imagine Cygnus did the work.  Also, there is a t-pe (no pe.h/pe.c) in the
latest egcs release so it seems that something was there and disappeared
at some point in time.  There's no trace of pe support at all in the GNU
release post 2.7.2.

> Or, another way, you can compile up using elf, and then use objcopy to
> convert to whatever format you want.  We have done this with ELF-coff
> with our OS and booted just fine.  Yes, it really can work.

Thanks for the suggestion...so simple I couldn't think of it. :)  I'll
give it a try and see if produces a good PE binary.

--
Matt Porter
mmporter@home.com



More information about the Gcc mailing list