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


Previous by date: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next by date: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Jeff
Previous in thread: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Jeff

Subject: Re: [gnupic] PIC32 C32 GCC Source Code Released
From: "Xiaofan Chen" ####@####.####
Date: 6 Nov 2007 13:38:35 +0000
Message-Id: <a276da400711060538s68b3be54pf9358baef4e8d3d8@mail.gmail.com>

On 11/6/07, Xiaofan Chen ####@####.#### wrote:
> On 11/6/07, Xiaofan Chen ####@####.#### wrote:
> > Under Ubuntu 6.06, I got a bit further.
> >
> > cd Desktop/C32V1src/
> > export TARGET=pic32mx
> > export PREFIX=/opt/$TARGET
> > export PATH=$PATH:$PREFIX/bin
> >
>
>
> Getting a bit closer now following the following instruction.
> http://sourceware.org/ml/crossgcc/2002-01/msg00121.html
>
> I need to install as and ld first.
>
> ./configure --target=$TARGET --prefix=$PREFIX --with-gnu-as --with-gnu-ld \
>      --without-headers  --enable-languages=c
>
> Now gcc is still in the building process. Hopefully it is ok.

Not yet.

make[2]: Entering directory `/home/mcuee/Desktop/C32V1src/gcc'
for d in libgcc size libgcc/size speed libgcc/speed mips16
libgcc/mips16 no-float libgcc/no-float mips16/no-float
libgcc/mips16/no-float size/mips16 libgcc/size/mips16 size/no-float
libgcc/size/no-float size/mips16/no-float libgcc/size/mips16/no-float
speed/mips16 libgcc/speed/mips16 speed/no-float libgcc/speed/no-float
speed/mips16/no-float libgcc/speed/mips16/no-float; do \
          if [ -d $d ]; then true; else /bin/sh ./mkinstalldirs $d; fi; \
        done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/mcuee/Desktop/C32V1src/gcc/xgcc
-B/home/mcuee/Desktop/C32V1src/gcc/ -B/opt/pic32mx/pic32mx/bin/
-B/opt/pic32mx/pic32mx/lib/ -isystem /opt/pic32mx/pic32mx/include
-isystem /opt/pic32mx/pic32mx/sys-include
-L/home/mcuee/Desktop/C32V1src/ld -O2  -DIN_GCC -DCROSS_COMPILE   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -G 0
-fno-optimize-sibling-calls -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I. -I. -I./. -I./../include   -DL_muldi3 -c
./libgcc2.c -o libgcc/./_muldi3.o
In file included from ./tm.h:21,
                 from ./libgcc2.c:43:
./config/pic32/mchp.h:22:20: string.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/mcuee/Desktop/C32V1src/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/mcuee/Desktop/C32V1src/gcc'
make: *** [all-gcc] Error 2

Still some configuration errors.

Anyway, I will try later.

I've also asked in Microchip forum why the C32 compiler student version
has a 64KB code size limit.
http://forum.microchip.com/tm.aspx?m=292995

Xiaofan

Previous by date: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next by date: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Jeff
Previous in thread: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread: 6 Nov 2007 13:38:35 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Jeff


Powered by ezmlm-browse 0.20.