Subject: Re: which gcc? (cross dist: egcs-2.91.60, macppc dist: egcs-2.91.66)
To: None <milligan.rts@home.com>
From: Tad Hunt <tad@entrisphere.com>
List: port-powerpc
Date: 08/07/2001 13:14:25
In message <01080712374701.18103@huhhot>, you said:
;Hi folks:
;
;I am also using the powerpc cross compiler. My question is this. I cant find
;any documentation of the GNU assembler (as/gas) powerpc port ??? the info and
;man pages dont mention the powerpc arch at all ???
;
;I am trying to figure out the assembly syntax for a port I am working onto
;the mpc8260 processor.  I have figured some of it out but would apreciate some
;more info.

http://e-www.motorola.com/brdata/PDFDB/MICROPROCESSORS/32_BIT/POWERPC/MPCFPE.pdf

contains a powerpc instruction set listing.  This is essentially
what the assembler takes as input.

Since you've got the info files installed, you can learn about the
"non-opcode" parts of the assembler syntax from there.

Interestingly enough, we have a NetBSD port to the MPC8260.  How
far along are you?  We were planning on eventually contributing it
to the community, but I have not yet gotten around to it.

-Tad

In message <01080712374701.18103@huhhot>, you said:
;Hi folks:
;
;I am also using the powerpc cross compiler. My question is this. I cant f=
;ind
;any documentation of the GNU assembler (as/gas) powerpc port ??? the info=
; and
;man pages dont mention the powerpc arch at all ???=20
;
;I am trying to figure out the assembly syntax for a port I am working on =
;to the
;mpc8260 processor.  I have figured some of it out but would apreciate som=
;e
;more info.
;
;Thanks in advance.
;
;On Tue, 07 Aug 2001, Tad Hunt wrote:
;> I downloaded and installed the cross compiler package for powerpc
;> for NetBSD-1.5 i386 (cross-powerpc-netbsd-1.3.0.0.tgz) which claims
;> to be:
;>=20
;> =09egcs-2.91.60 19981201 (egcs-1.1.1 release)
;>=20
;> I've been compiling the kernel and user stuff quite successfully
;> with this cross compiler.
;>=20
;> I just noticed that the native NetBSD-1.5-macppc version of the
;> compiler is:
;>=20
;> =09egcs-2.91.66 19990314 (egcs-1.1.2 release)
;>=20
;> Am I going to run into problems using the cross compiler package
;> egcs-2.91.60? Should I attempt to build the cross compiler myself
;> to match versions with the macppc port?
;>=20
;> What might be the "officially blessed" version (if any!) of gcc to
;> depend on for the powerpc ports?
;>=20
;> Thanks!
;> =09-Tad
;--=20
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
;Mark Milligan
;