Mail Archives: djgpp/1997/05/16/14:20:43
evarlast wrote:
>
> upon this:
> #include<iostream.h>
> void main(void)
yeah, right ... see other posts regarding void main or read the C and
C++ FAQs.
> {
> cout << "blah";
> };
>
> I get this as a result. - my DJGPP.ENV is set fine.
>
> P:\lbah>gcc blah.cpp
> P:/tmp\ccdaaaaa(.text+0x16):blah.cc: undefined reference to `cout'
> P:/tmp\ccdaaaaa(.text+0x1b):blah.cc: undefined reference to
> `ostream::operator<<
read the README.1ST file.
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
, I forget what those options are off hand, but they
are in the readme.1st file. In the bin directory there is a batch file
that sets up a couple of enviroment variables, you need to run that with
the djgpp path using both front slashes and backslashes ( read the docs,
it is in there ), its a unix thing. As long as the bin directory for
djgpp is in your path you should be all set from there.
hope this explanation of installation helps out.
IMO djgpp is much better than anyone lets on. Look at quake for an
example of just what kind of power you can get out of djgpp. And allegro
is a really good game library (IMO), it doesn't have everything, and
isn't portable, yet, but stories tell of people who are porting it to
linux, and who knows what else. It might even be portable to watcom 32
bit or borland 32 bit in the future if there is enough interest for
people to do the grunt work.
cat
> I would be interested too, however I am using Watcom and can't use
> Allegro. Is DJGPP really as good as people have said!? Last time I
> looked I couldn't even get it installed properly.
>
> (but then that could be me.)
- Raw text -