On Monday 25 August 2003 07:32, Jan Alonzo wrote:
> On Sun, 2003-08-24 at 20:00, Winelfred G. Pasamba wrote:
> > in GCC, is it possible to skip -lpq and just tell linux in general to
> > include libpq in every gcc call?
> >
> > i'm using Glade and it overwrites the makefiles (that i modified) every
> > time i build.
> >
> > alias?

alias gcc="/usr/bin/gcc -lpq"

is probably simplest.  although you could also try moving /usr/bin/gcc
to some other file (/usr/bin/gcc.real) and then putting a script in
its place that calls /usr/bin/gcc.real with -lpq and all the other
params.  

hmmm, i use distcc and ccache.  so alias works for me too :).  except
for make, for maybe for both:

alias make="make  -j 5 "
alias gcc="ccache distcc /usr/bin/gcc"

so i don't have to make -j 5 CC='ccache distcc gcc' bzImage

everytime.

tiger

-- 
Gerald Timothy Quimpo  gquimpo*hotmail.com tiger*sni*ph
http://bopolissimus.sni.ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"

    A man's face is his autobiography.  A woman's face is her work
     of fiction.
                                Oscar Wilde
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to