Mail Archives: djgpp/1993/05/21/11:58:06
Hi, there:
I asked the following question:
> Can I simply obtain the 5 excutables of gcc2.4.0 from gcc240bin.zip and
> use them to replace the ones from gcc2.2.2?
This was an answer I got:
DJ>I know of no reason why it wouldn't work just like that. In fact,
DJ>that's what I did to test it.
This suggests me maybe there is something wrong with my copy. But before
I make this assumption, can some kind soul out there try to compile the
following little test program as well.(I prefer that you are doing
exactly the same thing as me: i.e. you have a working copy of djgpp1.09
that's gcc2.2.2 previously installed on your DOS machine, now you grab
those 5 executables from gcc240bin.zip, put that in your djgpp's bin
directory, now you compile the following program)
-----------------------------CUT HERE---------------------------------
#include <gppconio.h> /* for gotoxy(int, int) */
int main(void)
{
clrscr();
gotoxy(10, 10);
return 0;
}
-----------------------------------------------------------------------
The following is the scripta I got by compiling the above program:
Script V1.1 session started Fri May 21 10:43:10 1993
/tmp/ccb00075: Undefined symbol _clrscr referenced from text segment
/tmp/ccb00075: Undefined symbol _gotoxy referenced from text segment
Script completed Fri May 21 10:43:43 1993
- Raw text -