gnupic: Thread: Re: [gnupic] Debian templates for dsPIC build toolchain 2.05


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: [gnupic] Debian templates for dsPIC build toolchain 2.05
From: "Xiaofan Chen" ####@####.####
Date: 15 Dec 2006 11:37:43 +0000
Message-Id: <a276da400612150336v5a184186s3803049531a0049c@mail.gmail.com>

On 12/15/06, John Steele Scott ####@####.#### wrote:
> Hi everybody,
>
> I finally got around to patching Microchip's C30 version 2.05 to build and
> operate nicely on Debian. This means people should be able to compile code
> for the 24F, 24H and 33F devices now. I'm still only using the 30F family
> myself, (actually only the 30F3013 these days).
>
> Basic instructions: Unzip the attached file, which gives you three
> directories. For each directory you want to build: fill in the "upstream"
> subdirectory appropriately, then run "dpkg-buildpackage -rfakeroot -b".
>
>

Thanks. I could build the pic30-binutils and pic30-support package but
I am having a problem building the pic30-gcc package (the build process
looks okay).

make[2]: Leaving directory
`/home/mcuee/Desktop/dsPIC/pic30-deb-templates-2.05/pic30-gcc-2.05/build_dir/objs/libiberty'
make[1]: Leaving directory
`/home/mcuee/Desktop/dsPIC/pic30-deb-templates-2.05/pic30-gcc-2.05/build_dir/objs'
# remove some non-cross stuff that will clash with other packages
# and shuffle things about as required.
rm -rf debian/pic30-gcc/usr/include
rm -rf debian/pic30-gcc/usr/info
rm -rf debian/pic30-gcc/usr/share/locale
rm debian/pic30-gcc/usr/lib/*a
rm debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*
rm: cannot remove `debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*':
No such file or directory
make: *** [install-stamp] Error 1

I am using Ubuntu 6.10.

Regards,
Xiaofan
Subject: Re: [gnupic] Debian templates for dsPIC build toolchain 2.05
From: "Xiaofan Chen" ####@####.####
Date: 15 Dec 2006 12:13:53 +0000
Message-Id: <a276da400612150413k779cb48eh4e3fb77d2e45117d@mail.gmail.com>

On 12/15/06, Xiaofan Chen ####@####.#### wrote:
> On 12/15/06, John Steele Scott ####@####.#### wrote:
> > Hi everybody,
> >
> > I finally got around to patching Microchip's C30 version 2.05 to build and
> > operate nicely on Debian. This means people should be able to compile code
> > for the 24F, 24H and 33F devices now. I'm still only using the 30F family
> > myself, (actually only the 30F3013 these days).
> >
> > Basic instructions: Unzip the attached file, which gives you three
> > directories. For each directory you want to build: fill in the "upstream"
> > subdirectory appropriately, then run "dpkg-buildpackage -rfakeroot -b".
> >
> >
>
> Thanks. I could build the pic30-binutils and pic30-support package but
> I am having a problem building the pic30-gcc package (the build process
> looks okay).
>
> rm debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*
> rm: cannot remove `debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*':
> No such file or directory
> make: *** [install-stamp] Error 1
>
> I am using Ubuntu 6.10.

Slightly changing the rules file solved the problem.
File pic30-deb-templates-2.05/pic30-gcc-2.05/debian/rules:

rm debian/pic30-gcc/usr/share/man/man1/{cpp,gcov}.1*
-->
	rm debian/$(package)/$(man1dir)/cpp.1*
	rm debian/$(package)/$(man1dir)/gcov.1*

By the way, Piklab has integrated C30 support (wine or native). The
following is the build log with the default C30 test project for Piklab.

/usr/bin/pic30-elf-gcc -mcpu=30F2010 -I/usr/pic30-elf/include/ -S -g test_c.c
/usr/bin/pic30-elf-as -g -a=test.lst -otest.o
-I/usr/share/pic30-support/inc/ -p30F2010 test.s
/usr/bin/pic30-elf-as -g -a=test_c.lst -otest_c.o
-I/usr/share/pic30-support/inc/ test_c.s
/usr/bin/pic30-elf-ld -Map test_c.map -otest_c.elf
-L/usr/pic30-elf/lib/ -T/usr/share/pic30-support/gld/p30f2010.gld
test_c.o test.o
/usr/bin/pic30-elf-bin2hex test_c.elf
*** Success ***

Regards,
Xiaofan
Subject: Re: [gnupic] Debian templates for dsPIC build toolchain 2.05
From: yperret ####@####.####
Date: 18 Jun 2007 19:53:49 +0100
Message-Id: <11181679.post@talk.nabble.com>

Hello everybody, particulary mister J. Scott,

I have recently tried to follow your instructions below. All has nearly well
worked, but
precisely at the end of the compilations, it appeared the scriptic error
message 
"/usr/bin/dpkg-buildpackage: 212: fakeroot: not found".
Can you help me please; what means the number 212 ?, a line's number ? ... .
For more detailled informations, see please the attached file
"résultats_dpkg-buildpackge.doc".

                  Sincerely yours, Yves Perret.


John Steele Scott wrote:
> 
> Hi everybody,
> 
> I finally got around to patching Microchip's C30 version 2.05 to build and
> operate nicely on Debian. This means people should be able to compile code
> for the 24F, 24H and 33F devices now. I'm still only using the 30F family
> myself, (actually only the 30F3013 these days).
> 
> Basic instructions: Unzip the attached file, which gives you three
> directories. For each directory you want to build: fill in the "upstream"
> subdirectory appropriately, then run "dpkg-buildpackage -rfakeroot -b".
> 
> Where to get the upstream bits:
> pic30-gcc:
> <http://ww1.microchip.com/downloads/en/DeviceDoc/mplabc30v2_05.tgz>
> 
> pic30-binutils:
> <http://ww1.microchip.com/downloads/en/DeviceDoc/mplabalc30v2_05.tgz>
> 
> pic30-support (optional, non-free):
> Copy over the include, lib and support directories from a Windows install
> of
> MPLAB C30, as well as the file c30_device.info.
> 
> If you don't use the pic30-support package, grab the file c30_device.info
> from the binutils or gcc tarballs and copy it to
> /usr/share/pic30-support/.
> I've patched the binutils so they won't complain if c30_device.info is
> missing, but if you're using GCC rather than pure assembly you should
> probably install c30_device.info.
> 
> If people have any questions, I'll be around next week, but then away
> until
> the second week of January.
> 
> cheers,
> 
> John
>  
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
http://www.nabble.com/file/p11181679/r%25C3%25A9sultats_dpkg-buildpackge.doc
r%C3%A9sultats_dpkg-buildpackge.doc 
-- 
View this message in context: http://www.nabble.com/Debian-templates-for-dsPIC-build-toolchain-2.05-tf2825194.html#a11181679
Sent from the MicroControllers - GNUPIC mailing list archive at Nabble.com.

Subject: Re: [gnupic] Debian templates for dsPIC build toolchain 2.05
From: Jan Wagemakers ####@####.####
Date: 18 Jun 2007 20:56:12 +0100
Message-Id: <20070618195608.GA1636@qwerty.be>

yperret schreef:

> "/usr/bin/dpkg-buildpackage: 212: fakeroot: not found".

apt-get install fakeroot


-- 
Met vriendelijke groetjes         - Jan Wagemakers -

... My other computer is a Sun Javastation Krups
    <http://javastation.is.dreaming.org>
Subject: Re: [gnupic] Debian templates for dsPIC build toolchain 2.05
From: Mauricio Giovagnini ####@####.####
Date: 19 Jun 2007 15:49:02 +0100
Message-Id: <4677EDE8.4000606@yahoo.com.ar>

Jan Wagemakers escribió:
> yperret schreef:
>
>   
>> "/usr/bin/dpkg-buildpackage: 212: fakeroot: not found".
>>     
>
> apt-get install fakeroo
That's the power of debian... is so direct when one gets used to it. :-)
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.