delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/15/04:31:20

Message-Id: <199808150830.JAA11849@gnasher.sol.co.uk>
Reply-To: <@sol.co.uk>
From: "Sprogface" <fyfe AT sol DOT co DOT uk>
To: <djgpp AT delorie DOT com>
Subject: HELP!!!!!!!
Date: Sat, 15 Aug 1998 09:33:24 +0100
MIME-Version: 1.0

Hey there. I have tried doing tons of things but I keep gaetting a "parse
error before {" message. go32-v2 prints different thing all the time. In a
DOS box it says one thing, in a full screen DOS box it says another thing,
and when I reboot to DOS it says another thing!!! This may sound stupid but
the program I am trying to compile is just your typical Hello world, dos.h
included, etc. Is that the wrong file for DJGPP?

environ.lst contains this:

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
PATH=C:\;C:\DJGPP\BIN\;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=C:/djgpp/djgpp.env
SOUND=C:\SOUND144
GALAXY=A220 I5 D1 K10 P530 T6
LMOUSE=C:\MOUSE
MOUSE=C:\MOUSE
windir=C:\WINDOWS
BLASTER=A220 I5 D1
CMDLINE=gxx -o c:\mything.cpp

Autoexec.bat contains this:

C:\PROGRA~1\DRSOLO~1\ANTI-V~1\GUARD /COPY /WRITE
@ECHO OFF
path=c:\;c:\djgpp\bin\;%PATH%
set djgpp=C:/djgpp/djgpp.env
REM   PACKARD BELL   1995
SET SOUND=C:\SOUND144
SET GALAXY=A220 I5 D1 K10 P530 T6
SET BLASTER=A220 I5 D1 T4
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
SET LMOUSE=C:\MOUSE
LH C:\MOUSE\MOUSE.EXE MEMU
SET MOUSE=C:\MOUSE

and Config.sys contains this:

device=c:\windows\himem.sys
dos=high,umb
device=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=044,850,c:\windows\COMMAND\country.sys
DEVICEHIGH/L:0=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
device=C:\MOUSE\MOUSE.EXE

Please help me. Oh yeah, with a -v, gcc pronts this:

tons of stuff then the last line is "parse error before {" The general idea
of the stuff before hand is that it searches for the include file in
several folders, then prints "search ended"

Thanks for reading...

P.S. How do I build allegro using make? I might sound like I haven't got a
clue about programming, but I do. Just not C++...

- Raw text -


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