Mail Archives: djgpp/1997/08/09/19:36:00
Brett Leslie Porter wrote:
>
> > HI,
> >
> > I just downloaded djgpp to practise some c++ but I can't
> > get the simplest program to work.
> >
> > I must be doing some thing very stupid so please help me s hese are
> > the hardesr things to see
> >
> You need to compile like this:
>
> (assuming the files are file1, file2, etc. )
>
> gcc -o file1.o -c file1.cpp
> gcc -o file2.o -c file2.cpp
gcc -c file.cpp is enough.
> ..
> finally:
> gcc -o runme.exe file1.o file2.o -liostr
or just gxx file1.cpp file2.cpp -o program.exe
this is why we refer people to readme.1st rather than giving possibly
incomplete/inaccurate answers. you cannot give full information and
explain the differences between the two forms above without quoting
readme.1st in full. instead of duplicating the same information with
every question, it is preferable to direct people to the source of
information.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
*******************************************************************
- Raw text -