From: Jim I. <ji...@ap...> - 2003-04-29 17:15:19
|
Richard. This line also needs the -framework Tcl. Think of -framework as a combination of -I flags to find the Tcl headers AND -L, -l flags to find the Tcl shared library. Then it is clear that you have to use it BOTH to make your .o files, and to make your final dylib. Jim On Tuesday, April 29, 2003, at 09:30 AM, Richard Crane wrote: > cc -dynamiclib tnmInit.o tnmUtil.o tnmJob.o tnmIned.o tnmSyslog.o > tnmIcmp.o tnmDns.o tnmEvent.o tnmUdp.o tnmSunRpc.o tnmNtp.o tnmRpc.o > tnmHttp.o tnmNetdb.o tnmUnixInit.o tnmUnixLog.o tnmUnixSocket.o > tnmUnixIcmp.o mount_clnt.o mount_xdr.o ether_clnt.o ether_xdr.o > rstat_clnt.o rstat_xdr.o pcnfsd_clnt.o pcnfsd_xdr.o tnmAsn1.o tnmMD5.o > tnmSnmpNet.o tnmSnmpUtil.o tnmSnmpInst.o tnmSnmpSend.o tnmSnmpRecv.o > tnmSnmpAgent.o tnmSnmpTcl.o tnmMibQuery.o tnmMibParser.o tnmMibTree.o > tnmMibFrozen.o tnmMibTcl.o -o tnm.dylib -lfl > -- Jim Ingham ji...@ap... Developer Tools Apple Computer |