Re: Imake: How to build static libraries (eg. for dps)

2003-11-13 Thread Marc Aurele La France
On Thu, 13 Nov 2003, Tim Krieglstein wrote:

 I have already posted to the debian-x mailinglist with no answers so
 far. :( But probably i get an answer from this list:

 I am tring to build debian packages of the xfree86 cvs head. There is
 only on problem remaining: How do i configure the files in config/cf so
 that static libraries for dps and other packages are produced?
 (these static libraries like libdps[1].a are needed for the libdps-devel
 package)

 I added to host.def the following lines, with no success:
 #ifndef DoNormalLib
 #define DoNormalLib YES
 #endif
 #ifndef DoSharedLib
 #define DoSharedLib YES

That's expected.  I'd remove that if I were you.

 any other suggestions?

I use a hammer approach.  Set ForceNormalLib to YES, which will build
archives for all libraries, in addition to shared objects.

You can be more selective than that, of course.  But, frankly, it's not
worth the effort.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Imake: How to build static libraries (eg. for dps)

2003-11-13 Thread Craig Groeschel
 I added to host.def the following lines, with no success:
 #ifndef DoNormalLib
 #define DoNormalLib YES
 #endif
 #ifndef DoSharedLib
 #define DoSharedLib YES

The Do*Lib symbols are only supposed to be set by imake in each
library's directory.  If I remember correctly, you want to set
symbols like NormalLibX11, NormalLibXt, etc. in host.def. 
(Or hack the Do*Lib symbols in each xc/lib/*/Imakefile.)

(In the library's imakefile you should see lines like define
DoNormalLib NormalLibX11.)

 PS: please CC me


=
-- 
Craig Groeschel  ladder91 at yahoo dot com  AT '00
Tread lightly.  Leave no trace.  Never forget.
Fuel is a resource; people aren't. Dennis Bakke
When replying, please do not quote my entire message.

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel