delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/28/09:00:20

Date: Wed, 28 Apr 93 06:45:24 MST
From: "Ross E Jones" <rjones AT salsa DOT abq DOT bdm DOT com>
Sender: rjones AT salsa DOT abq DOT bdm DOT com
Reply-To: rjones AT salsa DOT abq DOT bdm DOT com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Compiling on a 486

I have tried using djgpp 1.08 and 1.09 unsuccessfully on a 486DX/66.  Using
1.08 and the command line
    gcc -c -g -I../clude aloc.c
where clude is my include directory and aloc.c is ANSI C.  gcc responds with

Borland C++ Preprocessor Version 3.1 Copyright (c) 1992 Borland
International
Error: Incorrect command line option: -undef

I have set up djgpp as per the instructions and am running from the DOS
prompt (DOS 6.0) not Windows.  The autoexec.bat and config.sys are below.

@ECHO OFF
verify on
PROMPT $P$G
rem LH /L:0;2,42416 /S C:\DOS\SMARTDRV.EXE
SET MOUSE=C:\MSMOUSE
C:\DOS\MOUSE
PATH C:\DOS;C:\WORD;C:\;C:\WINDOWS;C:\MACH32;C:\QPW;C:\BC\BIN;C:\BIN;c:\pdox;c:\windows\system;c:\spect8\procs;c:\gcc\bin
set GCCBIN=c:\gcc\bin
set GCCINC=c:/gcc/include
set GCCLIB=c:/gcc/lib
set GCCTMP=c:/gcc/tmp
set GO32TMP=c:/gcc/tmp
set GO32=ansi driver c:/gcc/drivers/vga.grd gw 1024 gh 768
set BISON_SIMPLE=c:/gcc/lib/bison.simple
set BISON_HAIRY=c:/gcc/lib/bison.hairy
set FLEX_SKELETON=c:/gcc/lib/flex.skeleton
SET TEMP=C:\WINDOWS\TEMP
SET TMP=C:\
SET SWAP=C:\XMSWAP.TMP
SET CBPATH=C:\CB
set modver=c:\spect8\43
set refver=c:\spect8\43\obruty
LH /L:4,14144 C:\DOS\SHARE.EXE /F:4096 /L:400
LH /L:3,6400 C:\DOS\doskey
WIN

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE RAM HIGHSCAN I=B000-B7FF WIN=B500-B7FF WIN=B200-B4FF
BUFFERS=40,0
FILES=60
DOS=UMB
LASTDRIVE=E
FCBS=16,8
DEVICEHIGH /L:4,12048 =C:\DOS\SETVER.EXE
DOS=HIGH
BREAK=ON
STACKS=9,256
SHELL=C:\DOS\COMMAND.COM C:\DOS\ /e:1024 /p
DEVICEHIGH /L:4,9072 =C:\DOS\ANSI.SYS
DEVICEHIGH=C:\DOS\DBLSPACE.SYS /MOVE

I am at a loss.  Thanks in advance for any help

                                Ross
Ross E Jones
BDM, Federal           rjones AT abq DOT bdm DOT com
Phone: (505) 848-5733  Fax: (505) 848-4047

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019