Subject: Re: which gcc? (cross dist: egcs-2.91.60, macppc dist: egcs-2.91.66)
To: Tad Hunt <tad@entrisphere.com>
From: Mark Milligan <milligan@realtime.bc.ca>
List: port-powerpc
Date: 08/07/2001 15:04:14
We started a couple of weeks ago and have a bootloader running. The bootl=
oader
was written in c++ and can load the kernel via tftp over a FCC eithernet =
port.

I am working on a driver for the smc as a console serial port and will th=
en work
on an a driver for the FCC eithernet port.=20

Our goal is to build a flash image of NetBSD and boot from the flash into=
 a
ramdisk. The system will be completly embedded.

I am developing on an EST SBC8260 but the final product will run on an Mi=
crosys
PM826.

I would greatly apreciate any code contributed, and my understanding is w=
e will
post our code as soon as it is stable.

Thanks in advance

On Tue, 07 Aug 2001, Tad Hunt wrote:
> In message <01080712374701.18103@huhhot>, you said:
> ;Hi folks:
> ;
> ;I am also using the powerpc cross compiler. My question is this. I can=
t find
> ;any documentation of the GNU assembler (as/gas) powerpc port ??? the i=
nfo 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 apreci=
ate some
> ;more info.
>=20
> http://e-www.motorola.com/brdata/PDFDB/MICROPROCESSORS/32_BIT/POWERPC/M=
PCFPE.pdf
>=20
> contains a powerpc instruction set listing.  This is essentially
> what the assembler takes as input.
>=20
> Since you've got the info files installed, you can learn about the
> "non-opcode" parts of the assembler syntax from there.
>=20
> 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.
>=20
> -Tad
>=20
> In message <01080712374701.18103@huhhot>, you said:
> ;Hi folks:
> ;
> ;I am also using the powerpc cross compiler. My question is this. I can=
t f=3D
> ;ind
> ;any documentation of the GNU assembler (as/gas) powerpc port ??? the i=
nfo=3D
> ; and
> ;man pages dont mention the powerpc arch at all ???=3D20
> ;
> ;I am trying to figure out the assembly syntax for a port I am working =
on =3D
> ;to the
> ;mpc8260 processor.  I have figured some of it out but would apreciate =
som=3D
> ;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:
> ;>=3D20
> ;> =3D09egcs-2.91.60 19981201 (egcs-1.1.1 release)
> ;>=3D20
> ;> I've been compiling the kernel and user stuff quite successfully
> ;> with this cross compiler.
> ;>=3D20
> ;> I just noticed that the native NetBSD-1.5-macppc version of the
> ;> compiler is:
> ;>=3D20
> ;> =3D09egcs-2.91.66 19990314 (egcs-1.1.2 release)
> ;>=3D20
> ;> 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?
> ;>=3D20
> ;> What might be the "officially blessed" version (if any!) of gcc to
> ;> depend on for the powerpc ports?
> ;>=3D20
> ;> Thanks!
> ;> =3D09-Tad
> ;--=3D20
> ;=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
> ;=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D
> ;=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
> ;Mark Milligan
> ;
--=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