[939] in NetBSD-Development

home help back first fref pref prev next nref lref last post

probs with /usr/bin/gcc -static

daemon@ATHENA.MIT.EDU (Eric J. Ding)
Thu Aug 3 16:12:21 1995

Date: Thu, 3 Aug 1995 16:11:44 -0400
From: "Eric J. Ding" <ericding@MIT.EDU>
To: netbsd-dev@MIT.EDU

Hi,

linking a small program with the XForms Library, I get the following error
using /usr/bin/gcc:

% gcc -O -o morneve morneve.o morneve_cb.o morneve_main.o  datefunc.o me_db.o
-static -L/usr/X11/lib -L/mit/xforms/lib -lforms -lX11 -lm
ld: No reference to __DYNAMIC

Linking with the gcc in the GNU locker, though, I have no problems.  Any
ideas what the problem is?

Eric


home help back first fref pref prev next nref lref last post