gnupic: Re: [gnupic] PIC32 C32 GCC Source Code Released
Subject:
Re: [gnupic] PIC32 C32 GCC Source Code Released
From:
"Xiaofan Chen" ####@####.####
Date:
6 Nov 2007 13:28:11 +0000
Message-Id: <a276da400711060528g39c5d9caw934823cdc5b18c44@mail.gmail.com>
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
mcuee@ubuntu:/opt/pic32mx/bin$ ls
pic32mx-addr2line pic32mx-c++filt pic32mx-objdump pic32mx-strings
pic32mx-ar pic32mx-ld pic32mx-ranlib pic32mx-strip
pic32mx-as pic32mx-nm pic32mx-readelf
pic32mx-bin2hex pic32mx-objcopy pic32mx-size
mcuee@ubuntu:/opt/pic32mx/bin$ ./pic32mx-as --version
GNU assembler 2.15.94 MPLAB C32 v1.00-20071024
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `pic32mx'.
mcuee@ubuntu:/opt/pic32mx/bin$ ./pic32mx-ld --version
GNU ld version 2.15.94 MPLAB C32 v1.00-20071024
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Now gcc is still in the building process. Hopefully it is ok.
Xiaofan