Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 1995 21:03:35 +0800 (CST)
From:      Brian Tao <taob@gate.sinica.edu.tw>
To:        FREEBSD-PORTS-L <freebsd-ports@FreeBSD.org>
Subject:   Statically-linked Motif binaries suck
Message-ID:  <Pine.BSI.3.91.950507205731.9203A-100000@aries.ibms.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help
    This just drives me nuts:

time.cdrom.com% ls -l ~/bin
total 7600
-rwxr-xr-x  1 taob  taob    53248 May  7 03:17 mgdiff
-rwxr-xr-x  1 taob  taob  1110016 May  7 03:17 mgdiff-static
-rwxr-xr-x  1 taob  taob   192512 May  7 03:26 nedit
-rwxr-xr-x  1 taob  taob  1241088 May  7 03:24 nedit-static
-rwxr-xr-x  1 taob  taob    94208 May  7 04:08 yrolo
-rwxr-xr-x  1 taob  taob  1150976 May  7 04:08 yrolo-static

    All three are very nice programs but having to link in that Motif
library sort of puts a damper on things.  I wish those authors would
use something like Tk instead for their interface library.  BTW, I
linked them with:

cc -o blah foo.o bar.o ... -Xlinker -Bstatic -lXm -Xlinker -Bdynamic
     -lX11 -lXt ...

    Correct?

    On the bright side, the 2.0 libs on time.cdrom.com seemed to have
fixed the segfaulting the old Motif was having!  Should I go ahead and
create packages of these programs despite their size?
-- 
Brian ("Though this be madness, yet there is method in't") Tao
taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.950507205731.9203A-100000>