Windows version GFX-driver

Forum for discussion about the documentation project.
Post Reply
Makoto WATANABE
Posts: 231
Joined: Apr 10, 2010 11:41
Location: Japan
Contact:

Windows version GFX-driver

Post by Makoto WATANABE »

I was told by MrSwiss that the GFX-driver of FBC 1.08.dev is "Direct2D" instead of "DirectX".
I would appreciate it if you could add this to the relevant part of the "Compiler Requirements" in the manual.

https://www.freebasic.net/wiki/CompilerRequirements
fxm
Moderator
Posts: 12083
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Windows version GFX-driver

Post by fxm »

Jeff, can you take this request into consideration, as it is beyond my skill ?

Other pages that may be updated (in addition to Requirements):
- Why should I use FreeBASIC rather than QBasic?
- GfxLib - FreeBASIC graphics library overview
- GCC toolchain choice
coderJeff
Site Admin
Posts: 4313
Joined: Nov 04, 2005 14:23
Location: Ontario, Canada
Contact:

Re: Windows version GFX-driver

Post by coderJeff »

1) Using freebasic over QBasic? I believe this refers to using freebasic over the original 16-bit QBasic and friends. The existing answer seems OK.

2) For gfxlib overview, the newest change has been addition of the "Direct2D" driver written by adeyblue.
- Direct2D is default for windows
- DirectX is fallback if Direct2D can't be initialized
- GDI is fallback if neither Direct2D or DirectX can be initialized
- for fbc built on WinXP + mingw.org (very old tool chain now), the Direct2D driver is disabled in the gfxlib

3) GCC tool chain choice
- I don't think anyone is building TDM-GCC anymore, well anyway, I know I'm not.
- For windows, mingw-w64 (32-bit & 64-bit) is preferred as it seems to be maintained. I have made last couple of releases with gcc-5.2.0 because is easy to do so. I'll have to think about this one. deltarho & srvaldez did a lot of work on testing newer tool chains. We should try to increase our minimum version of gcc.
- For linux, I tend to use the default gcc for whatever OS release I'm building on. It varies from distro to distro.
- For DOS, I think I used whatever is current for djgpp platform
- For FreeBSD's I will have to check. Again, using the default for the platform
- For Linux on Raspberry Pi same as above
- I haven't quite decided for next release what tool chains I'm going to go for. So, will have to revisit this question.
marcov
Posts: 3455
Joined: Jun 16, 2005 9:45
Location: Netherlands
Contact:

Re: Windows version GFX-driver

Post by marcov »

coderJeff wrote:
- For FreeBSD's I will have to check. Again, using the default for the platform
The system C compiler on most FreeBSD (and afaik most BSD including OS X) is LLVM's Clang

gcc is installable from ports though
Post Reply