www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/11/19:32:52

Date: Thu, 12 Dec 1996 19:40:49 +0100 (MET)
From: Miguel Murillo <mmurillo AT ideafix DOT cps DOT unizar DOT es>
To: djgpp AT delorie DOT com, mmurillo AT ideafix DOT cps DOT unizar DOT es
Subject: Re:linking in rhide 1.0
Message-ID: <Pine.LNX.3.95.961212193926.13001B-100000@ideafix.cps.unizar.es>
MIME-Version: 1.0

hotpulp AT netidea DOT com wrote:
> 
> I wrote a  short program:
> 
> #include <conio.h>
> 
> void main (void)
> {
>  clrscr();
>  cprintf ("Hello");
> }
> 
> and when I try to run it i get an error message that it can't find the
> file crt0.o
> 
> how do i fix this?


Look Directory
	Include c:\djgpp\include;c:\djgpp\lang\cxx;c:\my_path\my_file.h
	Lib     c:\djgpp\lib;c:\my_libs.lib
	Obj     c:\djgpp\lib;c:\my_objs.obj
	Source  c:\my_prog

Look Options Compiler

		-fhandle-exceptions
	
Look Library Linker


             x	1 gpp            // for C++
             x	2 m              // lib math    
             x	3 pc             // special Pc (conio.h ...etc...) 
	     x  4 stdcx          // handle of exceptions 
	                         //   and option compiler 
		                 //   -fhandle-exceptions  				
		
	     ...
                     
             ...
             x   Bla Bla Bla for profile....
             x   Tralarara.................. 	


Good Luck!

						Miguel Murillo


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019