delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/31/15:47:57

From: VANGEL AT VMREDIPN DOT IPN DOT MX
Message-Id: <199705311945.PAA01785@delorie.com>
Date: Sat, 31 May 97 13:01:20 EST
To: djgpp AT delorie DOT com
Subject: Help About VDRIVERS ...

Hi all!

I trying to run the program samples of the GUI SWORD, but the driver I use for
it is --->stdvga 640 480 16 ... but this driver not exist in my tree of directo
ries ... But I have the source code about it.  :) ...


 Directory of C:"DJGPP"CONTRIB"GRX20"SRC"VDRIVERS

.            <DIR>         04/01/80    9:58
..           <DIR>         04/01/80    9:58
ATI28800 C           2.847 04/08/95   21:46
CL5426   C           4.887 04/08/95   21:46
ET4000   C           4.615 04/08/95   21:46
ET4000   NEW         5.813 04/08/95   21:46
MACH64   C           6.044 04/08/95   21:46
STDEGA   C           3.009 04/08/95   21:46
STDVGA   C           7.517 04/08/95   21:46   <----------------------
U_EGAVGA C           3.623 04/08/95   21:46
U_VESA   C           3.084 04/08/95   21:46
U_VSVIRT C           1.227 04/08/95   21:46
VESA     C           9.502 04/08/95   21:46
VESAINFO C           4.883 04/08/95   21:46
VTABLE   C             601 04/08/95   21:46
       15 file(s)         57.652 bytes


Then, with the sorce code I think I get the driver for use it. Then I run the p
rogram --> make for the file ...:

C:\DJGPP\CONTRIB\GRX20>type makefile  <-----------
#
# GRX 2.0 makefile for DJGPP distribution version
#
include makedefs.gnu  <----

libs:   $(STAMP)
        cd src
        $(MAKE)
        cd ..

test:   libs
        cd test
        $(MAKE)
        cd ..


>> And the file makedefs.gnu is ... :

C:\DJGPP\CONTRIB\GRX20>TYPE MAKEDEFS.GNU   <-----
CC=     gcc
AR=     ar
RANLIB= ranlib
STRIP=  strip

ifdef DEBUG
CCOPT=  -O6 -Wall -m486 -g -DDEBUG=$(DEBUG)
LDOPT=  -g
else
CCOPT=  -O6 -Wall -m486
LDOPT=
endif


The file MAKEFILE .. change at the directory SRC and call the file makefile
respective :

#
# GRX 2.0 Library Makefile for DJGPP. Uses GNU Make.
#
include ../makedefs.gnu
INCDIR= -I. -I./include -I../include

O=                              \
        draw/bitblt.o           \
        draw/box.o              \
        draw/clear.o            \
        draw/drwinlne.o         \
        draw/fillbox.o          \
        draw/frambox.o          \
        draw/line.o             \
        draw/majorln.o          \
        draw/pixel.o            \
        draw/plot.o             \
        fdrivers/egavga1.o      \
        fdrivers/ega4.o         \
        fdrivers/ftable.o       \
        fdrivers/genblit.o      \
        fdrivers/herc1.o        \
        fdrivers/pblitr2r.o     \
        fdrivers/pblitr2v.o     \
        fdrivers/pblitv2r.o     \
        fdrivers/pblitv2v.o     \
        fdrivers/ram16.o        \
        fdrivers/ram24.o        \
        fdrivers/ram32l.o       \
        fdrivers/ram32h.o       \
        fdrivers/ram3x8.o       \
        fdrivers/ram1.o         \
        fdrivers/ram4.o         \
        fdrivers/ram8.o         \
        fdrivers/svga16.o       \
        fdrivers/svga24.o       \
        fdrivers/svga32h.o      \

The file ->makefile of SRC call all the files object respective, but I haven't
these files and continue with the follow dirs :


 Directory of C:"DJGPP"CONTRIB"GRX20"SRC

.            <DIR>         04/01/80    9:57
..           <DIR>         04/01/80    9:57
DEPEND   GNU        18.640 04/08/95   21:46
DRAW         <DIR>         04/01/80    9:57
FDRIVERS     <DIR>         04/01/80    9:57
FONTDRV      <DIR>         04/01/80    9:57
MAKEFILE             2.600 05/08/95   20:39
MOUSE        <DIR>         04/01/80    9:57
SETUP        <DIR>         04/01/80    9:57
SHAPE        <DIR>         04/01/80    9:58
TEXT         <DIR>         04/01/80    9:58
UTILS        <DIR>         04/01/80    9:58
VDRIVERS     <DIR>         04/01/80    9:58



>> The last lines of makefile are:


        vdrivers/u_egavga.o     \
        vdrivers/u_vesa.o       \
        vdrivers/u_vsvirt.o     \
        vdrivers/vesa.o         \
        vdrivers/vtable.o

all:    ../lib/libgrx20.a ../bin/vesainfo.exe

../lib/libgrx20.a: $(O)
        if exist ..\lib\libgrx20.a del ..\lib\libgrx20.a
        $(AR) -rv ../lib/libgrx20.a $(O)
        $(RANLIB) ../lib/libgrx20.a

../bin/vesainfo.exe: vdrivers/vesainfo.o ../lib/libgrx20.a
        $(CC) -s -o ../bin/vesainfo -L../lib vdrivers/vesainfo.o -lgrx20
        coff2exe ../bin/vesainfo
        -del ..\bin\vesainfo

.c.o:
        $(CC) -c $(CCOPT) $(INCDIR) $*.c -o $*.o

include depend.gnu



>> What mean the last code ? and ...

>> How I get the driver --> stdvga ....?

>> How I have to compiler the source code for I get the driver ..? or maybe..

>> There are any place where I have donwload without compiler the source code?



>> For the way, when I run make in --> c:\djgpp\contrib\grx20:\> make <return>
>> I get the follow errors .... :

C:\DJGPP\CONTRIB\GRX20>make
make.exe: *** File 'makedefs.gnu' has modification time in the future
make.exe: *** File 'makefile' has modification in the future
make.exe: Failed to remake makefile 'makedefs.gnu'.
make.exe: Failed to remake makefile 'makefile'.
cd src
c:/djgpp/bin/make.exe
make.exe›1!: Entering directory 'c:/djgpp/contrib/grx20/src'
make.exe›1!: *** File 'depend.gnu' has modification time in the future
make.exe›1!: *** File '../makedefs.gnu' has modification time in the future
make.exe›1!: *** File 'makefile' has modification time in the future
make.exe›1!: Failed to remake makefile 'depend.gnu'.
make.exe›1!: Failed to remake makefile '../makedefs.gnu'.
make.exe›1!: Failed to remake makefile 'makefile'.
make.exe›1!: *** File '../lib/libgrx20.a' modification time in the future
make.exe›1!: *** File 'draw/bitblt.c' has modification time in the future
make.exe›1!: Leaving directory 'c:/djgpp/contrib/grx20/src
make.exe: *** ›libs! Error 2


>> Could you anybody explain why I get this errors ...?

>> Thanks of Advance.


ºººººººººººººººººººººººººººººººººººººº
ººº                                ººº
ººº   Victor Angel Huerta          ººº
ººº                                ººº
ººº   I.P.N.  Mexico D.F.          ººº
ººº                                ººº
ººº   vangel AT vmredipn DOT ipn DOT mx       ººº
ººº                                ººº
ºººººººººººººººººººººººººººººººººººººº

- Raw text -


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