delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/04/08:48:26

From: jerry AT jvdsys DOT textlitho DOT nl (Jerry van Dijk)
Date: Sun Dec 04, 1994 11:05:52 GMT
Subject: xview & bcc2grx problem
To: djgpp AT sun DOT soe DOT clarkson DOT edu

Hi,

The questions:

	- Does xview actually work with djgpp 1.12m2, grx103m1
	  and bcc2grx ?

	- Is there another X-like windows library I could use

The story:

	I downloaded xview from oak.oakland.edu (xv_pc17.zip) and
	tried the (C) test program. Unfortunatly, it displayed all
	text black on black :-(
	The documentation mentions this and says its a bug in bcc2grx
	and gives instructions to change the bcc2grx code. However, in
	bcc2grx this bug is already fixed ! And since xview doesn't come
	with sources I couldn't check things further.

	Then I decided to recompile bcc2grx, just to make sure. What 
	happened was:

	| gcc -O2 -fomit-frame-pointer -Wall -I../INCLUDE -c bccgrx.c
	| bccgrx.c: in function '__gr_set_up_modes':
	| bccgrx.c:106: structure has no member named 'BIOS_mode'
	| bccgrx.c:122: structure has no member named 'BIOS_mode'

	but checking grxdriver.h the structure *does* contain this member,
	be it in a union.

	Now, I guess that gcc 2.6.0 handles things diffently then 2.4.3
	which was appearently used to compile bcc2grx but I can't for the
	life of me figure out what...

Any help is apreciated !

Salutem, Jerry...

        +----------------------------------------------------------+
        | Jerry van Dijk                  Fidonet:     2:281/202.3 |
        | jerry AT jvdsys DOT textlitho DOT nl       Compuserve:  100115,1651 |
        +----------------------------------------------------------+


- Raw text -


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