[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for static linking
From: |
Brad Garcia |
Subject: |
Re: patch for static linking |
Date: |
Fri, 31 Aug 2001 09:43:43 -0400 (EDT) |
On Fri, 31 Aug 2001, Steven Knight wrote:
> Why not do it with a cloned environment that sets SUFLIBS to just the
> static suffix?
Because it is possible to switch between dynamic linking and static
linking on a single command line.
For instance:
g++ -o foo a.o b.o -Wl,-Bstatic -lcompat -Wl,-Bdynamic -llib2
The provided patch handles this correctly, switching between searching
for only static libraries and searching for dynamic, then static as
these linking options are parsed.
Brad Garcia
- patch for static linking, Brad Garcia, 2001/08/31
- Re: patch for static linking, Steven Knight, 2001/08/31
- Re: patch for static linking,
Brad Garcia <=
- Re: patch for static linking, Steven Knight, 2001/08/31
- Re: patch for static linking, Brad Garcia, 2001/08/31
- Modularizing cons (was: patch for static linking), Gary Oberbrunner, 2001/08/31
- RE: Modularizing cons, Greg Spencer, 2001/08/31
- RE: Modularizing cons, Greg Spencer, 2001/08/31
- RE: Modularizing cons, Gary Oberbrunner, 2001/08/31
- RE: Modularizing cons, Greg Spencer, 2001/08/31
- RE: Modularizing cons, Gary Oberbrunner, 2001/08/31
- Re: Modularizing cons (was: patch for static linking), Steven Knight, 2001/08/31
- Re: Modularizing cons, Brad Garcia, 2001/08/31