gnupic: Re: [gnupic] PIC32 C32 GCC Source Code Released


Previous by date: 8 Nov 2007 08:39:29 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next by date: 8 Nov 2007 08:39:29 +0000 Re: [gnupic] Debian templates for dsPIC build toolchain 3.01, Xiaofan Chen
Previous in thread: 8 Nov 2007 08:39:29 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread:

Subject: Re: [gnupic] PIC32 C32 GCC Source Code Released
From: "Xiaofan Chen" ####@####.####
Date: 8 Nov 2007 08:39:29 +0000
Message-Id: <a276da400711080039n2168dc86o2be8dd687b928999@mail.gmail.com>

On Nov 8, 2007 4:35 PM, Xiaofan Chen ####@####.#### wrote:
> By the way, as I have done, I can actually using newlib to bootstap
> the GCC building but the problem is that newlib has not been ported
> to M4k core and it failed to be built.
>


I downloaded the following. I am not so sure if it supports M4k core which
is very new.
http://www.mips.com/products/software-tools/software-tools/mips-sde-lite/

Then I copy the newlib directory to the PIC32 C32 source code directory and
interestingly C32 gcc can be built.

newlib failed to be built. So I think it might need some efforts to
port newlib over.

mcuee@ubuntu710:~/Desktop/PIC32/src$
./configure --target=$TARGET --prefix=$PREFIX --without-headers --with-newlib
--with-gnu-as --with-gnu-ld --enable-languages=c

mcuee@ubuntu710:~/Desktop/PIC32/src$
make all-gcc

mcuee@ubuntu710:~/Desktop/PIC32/src$
sudo make install-gcc

mcuee@ubuntu710:~/Desktop/PIC32/src$ ls /opt/pic32mx/bin/
pic32mx-addr2line  pic32mx-bin2hex  pic32mx-gcc        pic32mx-gcov
pic32mx-objcopy  pic32mx-readelf  pic32mx-strip
pic32mx-ar         pic32mx-c++filt  pic32mx-gcc-3.4.4  pic32mx-ld
pic32mx-objdump  pic32mx-size
pic32mx-as         pic32mx-cpp      pic32mx-gccbug     pic32mx-nm
pic32mx-ranlib   pic32mx-strings

mcuee@ubuntu710:~/Desktop/PIC32/src$ pic32mx-gcc --v
Reading specs from /opt/pic32mx/lib/gcc/pic32mx/3.4.4/specs
Configured with:  : (reconfigured) ./configure --target=pic32mx
--prefix=/opt/pic32mx --without-headers --with-newlib --with-gnu-as
--with-gnu-ld : (reconfigured) ./configure --target=pic32mx
--prefix=/opt/pic32mx --with-newlib --with-gnu-as --with-gnu-ld :
(reconfigured) ./configure --target=pic32mx --prefix=/opt/pic32mx
--without-headers --with-newlib --with-gnu-as --with-gnu-ld
--enable-languages=c
Thread model: single
gcc version 3.4.4 MPLAB C32 v1.00-20071024

Xiaofan

Previous by date: 8 Nov 2007 08:39:29 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next by date: 8 Nov 2007 08:39:29 +0000 Re: [gnupic] Debian templates for dsPIC build toolchain 3.01, Xiaofan Chen
Previous in thread: 8 Nov 2007 08:39:29 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread:


Powered by ezmlm-browse 0.20.