Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: mpg123 diff (Re: mpg123 rpms, need testing)
Date: Sun, 7 Mar 1999 18:53:39 -0700 (MST)	[thread overview]
Message-ID: <199903080153.SAA24872@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <19990307145558.R4936@csee.wvu.edu> from "Daniel J. Frasnelli" at Mar 7, 99 02:55:58 pm

> -               $(OBJECTS) -o $(BINNAME) -lm $(AUDIO_LIB)
> +               $(OBJECTS) -o $(BINNAME) /usr/local/lib/libcpml.a $(AUDIO_LIB)
                                             ^^^^^
Shudder!!!  Don't hardwire location of libraries that way in Makefiles.
This is **stupid**!  You will find yourself why in not so distant
future.

First of all your compiler, nearly certainly, searches /usr/local/lib
so -lcpml would be just great.  The second, if /usr/local/lib is
not searched by a compiler (not bloody likely) you can always ask
for that using -L option.

  Michal


  reply	other threads:[~1999-03-08  1:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-07 17:07 mpg123 rpms, need testing Peter Petrakis
1999-03-07 18:51 ` norvierk
1999-03-07 19:55   ` mpg123 diff (Re: mpg123 rpms, need testing) Daniel J. Frasnelli
1999-03-08  1:53     ` Michal Jaegermann [this message]
1999-03-08  2:08       ` Daniel J. Frasnelli
1999-03-07 20:05   ` mpg123 rpms, need testing Peter Petrakis
  -- strict thread matches above, loose matches on Subject: below --
1999-03-07 20:18 mpg123 diff (Re: mpg123 rpms, need testing) Bob Segrest
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox