LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: David Lloyd <lloy0076@rebel.net.au>
  To  : David Newall <davidn@rebel.net.au>
  Date: Mon, 30 Jul 2001 16:20:53 +0930

Re: Compiling Berkeley DB Programs

David!

> Normally one would write, "gcc -o vote -O2 -march-athlon -ldb vote.o"

Thanks.

I picked myself up on that one by reading the man pages for the
umpteenth time.

According to them:

1) -lname

Expands to libname.a

Hence, -ldb expands to libdb.a

It appears I could have specified libdb.a by its full path name but
without the -l too.

Thanks for the help.

DSL

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page