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


Previous by date: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] Warning [220] : Address exceeds maximum range for this processor, Nestor A. Marchesini
Next by date: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Rob Welch
Previous in thread: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Rob Welch

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

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-20071024/pic32-tools
--libexecdir=/home/grosbaj/daytona-releases/pic32-microchip-release-1.00-rc3-20071024/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

Previous by date: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] Warning [220] : Address exceeds maximum range for this processor, Nestor A. Marchesini
Next by date: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Rob Welch
Previous in thread: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Xiaofan Chen
Next in thread: 8 Nov 2007 05:33:53 +0000 Re: [gnupic] PIC32 C32 GCC Source Code Released, Rob Welch


Powered by ezmlm-browse 0.20.