Mail Archives: djgpp/1996/12/11/12:53:11
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 -