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


Previous by date: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next by date: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Previous in thread: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen

Subject: Re: [gnupic] PIC32 C32 GCC Source Code Released
From: Rob Welch ####@####.####
Date: 8 Nov 2007 05:40:45 +0000
Message-Id: <C3580B7B.A553%rob.welch@microchip.com>

Turns out that MIPS owns much of the compiler source code, so getting the
whole thing it going to be tough.
(Still lurking around)
Rob


On 11/8/07 12:33 AM, "Xiaofan Chen" ####@####.#### wrote:

> On Nov 6, 2007 3:07 PM, Jeff ####@####.#### wrote:
>> On Mon November 5 2007 18:53, Peter Stuge wrote:
>>> On Tue, Nov 06, 2007 at 07:53:44AM +0800, Xiaofan Chen wrote:
>>>> Maybe some experts here can already try to build the compiler under
>>>> Linux.
>>> 
>>> Did not build with gcc 4.2.0. Will try again with 3.x.
>>> 
>> These are the errors I get with gcc version 3.4.6:
>> 
>> libbackend.a(cgraph.o)(.text+0x1073): In function
>> `cgraph_varpool_calculate_offsets':
>> /home/jeff/development/picmicro/pic32/src/gcc/cgraph.c:873: undefined
>> reference to `SMALL_OPERAND'
>> libbackend.a(cgraph.o)
>> (.text+0x1186):/home/jeff/development/picmicro/pic32/src/gcc/cgraph.c:926:
>> undefined reference to `SMALL_OPERAND'
>> collect2: ld returned 1 exit status
>> make[1]: *** [cc1] Error 1
>> make: *** [all-gcc] Error 2
>> 
> 
> Interestingly if I basically follow the configuration of Microchip
> C32, it failed in the
> same step.
> 
> ####@####.#### Files/Microchip/MPLAB C32/bin$
> wine pic32-gcc --v
> Reading specs from ./../lib/gcc/pic32mx/3.4.4/specs
> Configured with: ../src/configure --target=pic32mx
> --program-prefix=pic32- --enable-languages=c
> --prefix=/home/grosbaj/daytona-releases/pic32-microchip-release-1.00-rc3-20071
> 024/pic32-tools
> --libexecdir=/home/grosbaj/daytona-releases/pic32-microchip-release-1.00-rc3-2
> 0071024/pic32-tools/pic32mx/bin
> --build=i686-pc-linux-gnu --host=i386-mingw32 --disable-nls
> --disable-tui --disable-gdbtk --disable-shared --enable-static
> --disable-threads --disable-bootstrap --with-dwarf2 --enable-multilib
> --without-newlib --with-lib-path=:
> Thread model: posix
> gcc version 3.4.4 MPLAB C32 v1.00-20071024
> 
> mcuee@ubuntu:~/Desktop/pic32/c32src/build$ ../configure
> --prefix=/home/mcuee/pic32  --program-prefix=pic32-
> --enable-languages=c --libexecdir=/home/mcuee/pic32/bin  --disable-nls
> --disable-tui --disable-gdbtk --disable-shared --enable-static
> --disable-threads --disable-bootstrap --with-dwarf2 --enable-multilib
> --without-newlib --with-lib-path=:
> 
> mcuee@ubuntu:~/Desktop/pic32/c32src/build$  CC=gcc-3.4 make all-gcc
> ...
> make[1]: Entering directory `/home/mcuee/Desktop/pic32/c32src/build/gcc'
> gcc-3.4   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
> -DHAVE_CONFIG_H  -o cc1 \
>                 c-parse.o c-lang.o c-pretty-print.o stub-objc.o
> attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
> c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o
> c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o
> c-objc-common.o c-dump.o c-pch.o libcpp.a  main.o libbackend.a
> ../libiberty/libiberty.a
> libbackend.a(cgraph.o): In function
> `cgraph_varpool_calculate_offsets':../../gcc/cgraph.c:873: undefined
> reference to `SMALL_OPERAND'
> :../../gcc/cgraph.c:926: undefined reference to `SMALL_OPERAND'
> collect2: ld returned 1 exit status
> make[1]: *** [cc1] Error 1
> make[1]: Leaving directory `/home/mcuee/Desktop/pic32/c32src/build/gcc'
> make: *** [all-gcc] Error 2
> 
> Xiaofan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 


Previous by date: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next by date: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Previous in thread: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread: 8 Nov 2007 05:40:45 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen


Powered by ezmlm-browse 0.20.