On Fri, 2003-01-24 at 23:43, Rob Weir wrote: > On Thu, Jan 23, 2003 at 03:22:44PM -0600, Ron Johnson wrote: > > On Thu, 2003-01-23 at 11:17, Pigeon wrote: > > > Hi, > > > > > [snip] > > > > > > Having put appropriate deb-src lines in sources.list, pointing to CD > > > images or websites as appropriate, have I got this sequence right? > > > > > > apt-get source --download-only whatever # get source package > > > dpkg-source -x whatever.dsc # unpack it > > > # fiddle with Makefiles etc. > > > dpkg-buildpackage -b -ai686 whatever.dsc # create binary .deb > > > dpkg -i whatever.deb # install it > > > > Here's how I do it: > > # apt-get source gqview=1.0.2-1 > > # export CC=gcc-3.2 -Wall -O2 -mcpu=pentiumpro > > That's kinda nasty. I think CFLAGS and CXXFLAGS are better places to > put this sort of thing.
Like this: # export CC=gcc-3.2 # export CFLAGS='-Wall -O2 -mcpu=pentiumpro' # export CXX=G++3.2 # export CXXFLAGS=${CFLAGS} -- +---------------------------------------------------------------+ | Ron Johnson, Jr. mailto:[EMAIL PROTECTED] | | Jefferson, LA USA http://members.cox.net/ron.l.johnson | | | | "Fear the Penguin!!" | +---------------------------------------------------------------+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]