www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/19/23:00:12

From: "helen" <lab_darzo AT libero DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: grx help #2
Date: Mon, 17 Feb 2003 08:57:01 +0000 (UTC)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 60
Message-ID: <d09ba7bb1e381fd2316d7f41646b0617.113557@mygate.mailgate.org>
NNTP-Posting-Host: host227-148.pool217223.interbusiness.it
X-Trace: news.mailgate.org 1045465863 8524 217.223.148.227 (Mon Feb 17 09:57:00 2003)
X-Complaints-To: abuse AT mailgate DOT org
NNTP-Posting-Date: Mon, 17 Feb 2003 08:57:01 +0000 (UTC)
Injector-Info: news.mailgate.org; posting-host=host227-148.pool217223.interbusiness.it; posting-account=113557; posting-date=1045465863
User-Agent: Mailgate Web Server
X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/d09ba7bb1e381fd2316d7f41646b0617.113557%40mygate.mailgate.org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

this is what I have problems with, in installing the GRX
library in win 98 with DJGPP:

Unzip the GRX archives
create a directory for the GRX file tree. Examples: 
DJGPP: DJGPP/contrib/grx23 
Linux: /usr/src/grx-2.3 

unzip the GRX source archive in the GRX dir: 
DOS: pkunzip -d grx23.zip 
Unix: unzip grx23.zip 

unzip the GRX font archive in the same base dir: 
DOS: pkunzip -d grx2fnt.zip 
Unix: unzip grx23fnt.zip 

Set the environment variables
set the default driver and graphics mode info: 
SET GRX20DRV=<driver> gw <width> gh <height> nc <colors> 
(very useful but not required)
Available drivers for 
DOS : stdvga, stdega, et4000, cl5426, mach64, ati28800, VESA, memory 
Linux: svgalib, xwin, memory 
X11: xwin, memory 

set the GRX font dir 
SET GRXFONT=<directory for the GRX fonts> 
This is required for GRX graphics text output. Path: <GRX base>/fonts
NOTE: You can define a default font directory when compiling GRX. E.g,
if you installed the fonts in /usr/local/lib/grx/fonts add
    CCOPT += -DGRX_DEFAULT_FONT_PATH="/usr/local/lib/grx/fonts"
to makedefs.gnu (Linux / GNU-make example)  

Compiling GRX
This is only required if there's no pre-compiled GRX for your system or
you want to change GRX or the library configuration.
Go to GRX base dir and check the makefile and makedefs file for your
system setup
Switch to src sub dir and check the makefile 
run make -f <your makefile>
(some system may need additional arguments here !) 
if every thing worked fine go to <GRX base>/test, check the makefile and
build all test files / examples:
make -f <your makefile>

---------

the main problem is with setting the variables and paths (do I have to
do that in my AUTOEXEC.BAT ? )

and with compiling : what does "chech the makefiles" mean ?
what do "run mak - f <your makefile> means ?

than you

helen


-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

- Raw text -


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