Mail Archives: djgpp/1998/02/23/10:18:21
On Mon, 23 Feb 1998, Pierre Bosman wrote:
> I initially used Turbo C/C++ compiler which compiled the prog fine. I
> then tried to use gcc -o p.exe prog.c
> This initially complained about a definition about :
> char far *gp; (It did not like far, I did not have ANSI turned on)
`far' is not just non-ANSI, it is not supported by GCC. You need to
define it away:
gcc -Dfar= -o p.exe prog.c
This is all explained in the DJGPP FAQ list, section 17.7, btw.
- Raw text -