next up previous contents
Next: Example Programs Up: Writing An X Previous: Loading External Resource

Compiling And Linking X Toolkit Applications On A UNIX System

The following header files should be included for programs using the Athena widget set:

Motif widget set:

Compiling and linking Athena based applications can be achieved by the command,

 
		cc -o  executable_file_name source_file_name -lXaw -lXt -lXmu -lX11

Compiling and linking Motif based applications can be achieved by the command,

 
		cc -o  executable_file_name source_file_name -lXm -lXt -lX11



JR Pitchers
Wed May 3 16:45:04 BST 1995