[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2110.0. "How to link on VMS?" by WPOMM2::ZAMBOTTI () Tue Jan 23 1990 02:17

Hi people,

I know how to link on ULTRIX but I need to know how to link on VMS.  If my
ULTRIX command is :

	cc test1.o test2.o -lX11 -o test1

what's  the equivelant on VMS?

And where do they hde the libraries?

Regards,

Walter Zambotti.
T.RTitleUserPersonal
Name
DateLines
2110.1Fragments from my mms descriptionTALK::COTTAYJan 89: US tops 13K total warheadsTue Jan 23 1990 05:5515
	define/nolog c$include decw$include,sys$library
	define/nolog vaxc$include c$include

	Link$(link_switches)/exe=mcu.exe -
	                          .
    				  .
    				  .
				decw.opt/opt

Decw.opt:
    
sys$library:decw$dwtlibshr/share
sys$library:decw$xlibshr/share
sys$share:vaxcrtl/share
    
2110.2VMS commands.EVTIS2::HOANGTue Jan 23 1990 05:5612
    
    The Libraries for DECWINDOWS are in SYS$SHARE: . These are SHAREABLE
    images. 
    This is a command procedure to produce your image :
    	$ cc test1, test2
    	$ link test1,test2,sys$input/opt
    		SYS$SHARE:VAXCRTL.EXE/SHARE
    		SYS$SHARE:DECW$XLIBSHR.EXE/SHARE <-- If you use only			
                        ^Z                             Xlib calls
    
    		Hope this help,
    			Dung HOANG
2110.3Also check out the examplesSTAR::VATNEPeter Vatne, VMS DevelopmentTue Jan 23 1990 11:002
There are several examples of how to compile and link DECwindows
applications in the file DECW$EXAMPLES:DEMO_BUILD.COM.