[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: [gnupic] RE: Debian templates for dsPIC build toolchain 2.01
From: "Chen Xiao Fan" ####@####.#### Date: 23 Feb 2006 00:39:41 +0000 Message-Id: <7D4AB72251D4D949AB2732ABEABDA54F130099@PFSG-MX1.ap.p-f.biz> > -----Original Message----- > From: news ####@####.#### On Behalf Of John Steele Scott > Sent: Thursday, February 23, 2006 6:47 AM > To: ####@####.#### > Subject: [gnupic] RE: Debian templates for dsPIC build toolchain 2.01 > > Using my example from before, if you wanted to link in > libdsp-coff.a, you just need to add it to the LDLIBS > variable, _after_ the rules file is included. > So the makefile becomes: > > DSPIC := 30f3013 > PROJECT := blinkenlight > OBJS := main.o foo.o bar.o > include /usr/share/pic30-support/pic30-rules.mk > LDLIBS += -ldsp-coff > Oh this did the trick. Thanks. By the way, I tried the Debian templates under Ubuntu 5.10 Breezy and they work flawlessly (I've gcc-3.3 installed along with the default gcc-4.0.x). Regards, Xiaofan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |