Dear All
I am using gpc 2.1 version.
Is there any way to work out below code without changing the make file? please help me out as this is urgent to me.
******************************************************* 1)MakeFile
PC=gpc PFLAGS= -DSOLARIS -I/home/kvsspl
DemoMod3.o :DemoMod3.pas $(PC) -c $(PFLAGS) DemoMod3.pas
ModDemo3.o :ModDemo3.pas $(PC) -c $(PFLAGS) ModDemo3.pas
ModDemo3 :ModDemo3.o DemoMod3.o $(PC) -o ModDemo3 DemoMod3.o ModDemo3.o --object-path=/home/kvsspl *******************************************************
******************************************************* 2)ModDemo3.pas program ModDemo3 (Output); import DemoMod3; begin xtra; end. *******************************************************
******************************************************* 3)DemoMod3.pas module DemoMod3; export DemoMod3 = all; procedure xtra; end; procedure xtra; begin writeln('DemoMod3 function'); end; end. ******************************************************* Regards Hari
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com