ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DDD-3.3.8 on HPUX-11.x


From: Tim Mooney
Subject: Re: DDD-3.3.8 on HPUX-11.x
Date: Wed, 7 Jan 2004 14:57:19 -0600 (CST)

In regard to: Re: DDD-3.3.8 on HPUX-11.x, Andrew Gaylard said (at 8:52pm on...:

>Tom Wurgler wrote:
>> Super!
>>
>> I did specify where to find Athena ok.  How do I tell it to do things
>> statically?
>
>You need to replace the "-lXm" in the final link line with
>"/usr/lib/libXm.a".  So either copy-n-paste the whole line,
>or edit the makefile.

Note that the HP-UX linker has (for ages) supported a "prefer static
libraries over shared".  What I did in the past with ddd was

        LDFLAGS="$LDFLAGS -Wl,-a,archive_shared -lXm -Wl,-a,shared_archive"

By setting this before you run configure, you may not even need to edit
the Makefile (which is good for scripted builds, like with RPM).

With HP-UX 10.20 I needed to do set some additional flags to get it to
link with the R6 libraries (including Motif 1.2 for R6), but that's
hopefully not a problem with 11.x.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

[Prev in Thread] Current Thread [Next in Thread]