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


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

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

On 11/6/07, 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

You might want to try GCC 3.4.4 since C32 is based on it.

C:\Program Files\Microchip\MPLAB C32\bin>pic32-gcc --version
pic32-gcc (GCC) 3.4.4 MPLAB C32 v1.00-20071024
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Still I got errors under Cygwin.
Test@pcamd64 /cygdrive/g/MCU/Microchip/PIC32/C32src
$ gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ./configure --program-prefix=pic32 --target=pic32mx
I know this is not so right, I should put more options. Anyway, just
trying to see how far I can go.

$ make

libbackend.a(mips.o): In function `mchp_handle_vector_pragma':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15541: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15551: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15563: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15576: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15566: undefined
 reference to `_c_lex'
libbackend.a(mips.o):/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mi
ps.c:15612: more undefined references to `_c_lex' follow
libbackend.a(mips.o): In function `mchp_handle_interrupt_pragma':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15664: undefined
 reference to `_parse_in'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15664: undefined
 reference to `_cpp_get_token'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15696: undefined
 reference to `_parse_in'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15696: undefined
 reference to `__cpp_backup_tokens'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15697: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15719: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15722: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15733: undefined
 reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/mips/mips.c:15669: undefined
 reference to `_c_lex'
libbackend.a(mchp.o):/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/pic32/m
chp.c:413: more undefined references to `_c_lex' follow
libbackend.a(mchp.o): In function `mchp_handle_config_pragma':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/pic32/mchp.c:437: undefined
reference to `_cpp_get_token'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/pic32/mchp.c:458: undefined
reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/pic32/mchp.c:379: undefined
reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/pic32/mchp.c:405: undefined
reference to `_c_lex'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/./config/pic32/mchp.c:475: undefined
reference to `_c_lex'
libbackend.a(tree-inline.o): In function `copy_tree_r':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1987: undefined referen
ce to `_statement_code_p'
libbackend.a(tree-inline.o): In function `walk_tree':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1765: undefined referen
ce to `_statement_code_p'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1786: undefined referen
ce to `_statement_code_p'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1805: undefined referen
ce to `_statement_code_p'
libbackend.a(tree-inline.o): In function `copy_body_r':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:539: undefined referenc
e to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:554: undefined referenc
e to `_build_stmt'
libbackend.a(tree-inline.o): In function `expand_call_inline':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:894: undefined referenc
e to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:816: undefined referenc
e to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:862: undefined referenc
e to `_build_stmt'
libbackend.a(tree-inline.o):/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inli
ne.c:846: more undefined references to `_build_stmt' follow
libbackend.a(tree-inline.o): In function `expand_call_inline':
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:768: undefined referenc
e to `_decl_constant_value'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1455: undefined referen
ce to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1509: undefined referen
ce to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:1527: undefined referen
ce to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:959: undefined referenc
e to `_build_stmt'
/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc/tree-inline.c:966: undefined referenc
e to `_build_stmt'
collect2: ld returned 1 exit status
make[1]: *** [gnat1.exe] Error 1
make[1]: Leaving directory `/cygdrive/g/MCU/Microchip/PIC32/C32src/gcc'
make: *** [all-gcc] Error 2

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


Powered by ezmlm-browse 0.20.