Date: Thu, 12 Dec 1996 19:40:49 +0100 (MET) From: Miguel Murillo To: djgpp AT delorie DOT com, mmurillo AT ideafix DOT cps DOT unizar DOT es Subject: Re:linking in rhide 1.0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII hotpulp AT netidea DOT com wrote: > > I wrote a short program: > > #include > > 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