This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Cross-Compling to PowerPC-WinNT
- From: "Michael Rich" <alphax86 at alltel dot net>
- To: <binutils at sources dot redhat dot com>
- Date: Mon, 14 Jan 2002 14:18:10 -0500
- Subject: RE: Cross-Compling to PowerPC-WinNT
> > 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.
mike