-
OT: Compiling statically libraries
This maybe an offtopic message but it's somehow related to klik. I'm making my own "implementation" of the klik ideas, I have many cmg working now (i'm using fuseiso and zisofs images) but now I have found some problems (I knew I would encounter them sooner or later), for example, I would like to make cmgs of kdemultimedia apps like kscd and kmix, but not the others, and I would like to make a cmg of an app called kzenexplorer. These apps separately uses some libraries that I don't want to install system wide so I'm thinking on compiling them STATICALLY, but I don't know how to tell that to the "configure" script. If I do the make LDFLAGS=-static thing it seems to put every library used by the app statically, this include for example qt and others... and I don't want qt statically compiled.
So, the question is, if a compile libmylib and it generates a .so and .a (shared and static), how do I tell to make or configure to use the static one? How do I tell the compiler that I want some libs dinamically linked and others statically linked?? I've seen there are apps like amarok which uses for example SQLite statically linked, but they include sqlite source in their package and so the Makefiles do their job, but my problem is how to do it with an externally compiled library libmylib.a
Well, thanks for the klik idea, i'm doing some things that I want to put here when finished!
Samuel.
Similar Threads
-
By divinity in forum The Lounge
Replies: 0
Last Post: 02-18-2008, 03:06 AM
-
By Kierano in forum General Support
Replies: 1
Last Post: 07-13-2004, 01:17 AM
-
By Bob_Foster in forum General Support
Replies: 2
Last Post: 07-08-2004, 04:27 AM
-
By smarchand291 in forum General Support
Replies: 1
Last Post: 06-14-2004, 11:58 PM
-
By skontox in forum General Support
Replies: 4
Last Post: 01-07-2004, 02:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
IBM QRadar xx29 Server 4412Q2A
$170.00
IBM QRadar xx29 Server 4412Q2A
$356.99
IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD
$399.99
ibm server z series
$16000.00
IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs
$49.74
IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server
$209.98
IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server
$191.99
IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES
$26.97
IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED
$99.99
IBM Power S822 8284-22A 2.5" 12-Bay 64GB 2X 00ND478 2X 00E2865 *READ*
$599.99