This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross-Compling to PowerPC-WinNT


On Mon, Jan 14, 2002 at 02:18:10PM -0500, Michael Rich wrote:
> > > I'm attempting to build a cross compiler to generate
> > PowerPC-WinNT binaries
> > > from my windows/x86 machine and I'm running into a few troubles.
> >
> > GCC doesn't support NT on powerpc any more (and hasn't for at least a
> > year).  I don't think NT on powerpc ever got past a beta release.
> 
> I was actually finally able to get the bintools to compile for
> powerpcle-winnt, there were a couple of problems compiling ld however.
> 
> Modify EMUL_EXTRA_OFILES in 'ld/Makefile':
>     EMUL_EXTRA_OFILES = deffilep.o pe-dll.o
> 
> Then there is a problem in eppcpe.c where the variable:
> 
> char *pe_data_import_dll;
> 
> is not being compile in correctly so it causes an undefined symbol error
> while linking.  Simply moving the line to the top of the file so I could
> make sure it would compile fixed the problem short term.
> 
> Now I'm trying to get GCC to compile, but I believe that's a different
> mailing list.
> 
> FWIW, NT4 was fully released on PowerPC, but I believe it was dropped
> shortly afterwards.  My goal is to add support to the ReactOS project so it
> can be built on the newer PowerPC chips since they are still actually a
> viable platform.
> 
> Thanks go to Eric Kohl from the ReactOS project for helping me track down
> the problem with the ld/Makefile though.

If ReactOS has the ability to support multiple object file formats, I would
highly recomend switching over to ELF, rather than trying to resurrect PowerPC
NT support.

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work:	  meissner@redhat.com		phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org	fax:   +1 978-692-4482


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