gnupic: Re: [gnupic] PIC32 C32 GCC Source Code Released
Subject:
Re: [gnupic] PIC32 C32 GCC Source Code Released
From:
"Xiaofan Chen" ####@####.####
Date:
7 Nov 2007 00:02:35 +0000
Message-Id: <a276da400711061552t763ddf03h7ef3de3c80d2b67c@mail.gmail.com>
On 11/7/07, Xiaofan Chen ####@####.#### wrote:
> On 11/6/07, Xiaofan Chen ####@####.#### wrote:
> > So I got it compiled by cheating. Because building gcc will lead
> > to errors of missing header files, I installed the C32 student
> > version under Wine and copy the header files to the
> > directory /opt/pic32mx/pic32mx/include. The GCC can be built.
> > Building gdb will fail but anyway it is not included in the
> > Microchip C32 compiler either.
I test pic32mx-gcc (built from source) with some examples and it
seems to work.
mcuee@ubuntu:~/Desktop/pic32/c32_examples/mips16_functions/source$ ls
mips16_functions.c RIUSBLogFile.txt
mcuee@ubuntu:~/Desktop/pic32/c32_examples/mips16_functions/source$
pic32mx-gcc mips16_functions.c -mprocessor=32MX360F512L -o
mips16_functions.elf
mcuee@ubuntu:~/Desktop/pic32/c32_examples/mips16_functions/source$
pic32mx-bin2hex mips16_functions.elf
mcuee@ubuntu:~/Desktop/pic32/c32_examples/mips16_functions/source$ ls
mips16_functions.c mips16_functions.hex
mips16_functions.elf RIUSBLogFile.txt
Xiaofan