> Message: 1 > Date: Tue, 03 Jan 2006 21:55:51 +0200 > From: Cyril Plisko <cyril.plisko at gmail.com> > Subject: Re: [powerpc-discuss] Cross compiler > questions > To: Ben <BHuntsman at mail2.cu-portland.edu> > Cc: powerpc-discuss at opensolaris.org > Message-ID: <43BAD6C7.1060002 at gmail.com> > Content-Type: text/plain; charset=UTF-8; > format=flowed > > Ben wrote: > > Dumb question, probably: > > > > The GCC & diffs supplied on the PowerPC community > files page are still the current versions being used > on this project, correct? > > Yes. Although there some known non-show stopper > problems with them. > > > > > So, once one applies the diffs, what are you guys > using to successfully build binutils and GCC as a > cross compiler? I got them built, as in, there were > binaries left after compiling, but they seem not to > work, or at least seem to have been configured > incorrectly (entirely my fault.). Thanks in advance > for quick tips!! > > binutils configured with > > configure --target=powerpc-solaris2 > --prefix=/opt/polaris > > and gcc - > > $ /opt/polaris/bin/powerpc-solaris2-gcc -v > Using built-in specs. > Target: powerpc-solaris2 > Configured with: ../gcc-4.0.0.polaris/configure > --prefix=/opt/polaris > --target=powerpc-solaris2 > --with-local-prefix=/opt/polaris/powerpc-solaris2 > --with-gnu-ld > --with-gnu-as --enable-languages=c --without-headers > Thread model: single > gcc version 4.0.0 > > > How do you test the binaries you've got ? > > Regards, > Cyril
This is fine, although I also made a cross compiler based on binutils 2.16.1/gcc 4.0.2. I found that the latest gcc 4.0.2 has a few bugs in which I wouldn't put a lot of faith on it at the moment. The GCC 3.4.4/3.4.5 releases seem a lot more stable and well tested in various distros. I had started with GCC/G++ as well as the PowerPC 32/64 compiler as we should have that covered from the start. Since build environment seems validated, maybe its time to really look at the kernel with Sun and list what is left. There are a few professional compiler and app porting companies for GCC/G++ code, so I didn't worry to much about that part. I really wanted to see how the OpenSolaris kernel code can be ported to PowerPC and what else is left that is holding us up. - MMU - GRUB (UFS(2)) - ELF32/64 - binutils/GCC - more stuff - Marvell docs (for those without... NDA ?) The dam is about to break... ~ Ken Mays __________________________________________ Yahoo! DSL ? Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com