Search found 2838 matches

by dkl
Oct 02, 2017 17:20
Forum: DOS
Topic: How to compile under DosEMU?
Replies: 22
Views: 2007

Re: How to compile under DosEMU?

I've only ever tested DJGPP builds on Windows or cross-compiling from Ubuntu, but... what errors do you get? Is there a gcc compilation error on src/gfxlib2/gfx_paletteget64.c, or a linking problem later when compiling FB programs using the gfxlib?
by dkl
Oct 02, 2017 17:14
Forum: General
Topic: FreeBASIC crashes when compiling very large programs
Replies: 55
Views: 1945

Re: FreeBASIC crashes when compiling very large programs

Yea, unfortunately fbc doesn't handle such big input nicely. It keeps all DATA statements and other global data in memory at once, and even just "DATA 1" results in 16 AST nodes, plus 7 more per element in a DATA statement. Each AST node is 72/144 bytes (32bit/64bit respectively). So even ...
by dkl
Oct 01, 2017 19:36
Forum: Linux
Topic: New to linux how to run FB
Replies: 8
Views: 696

Re: New to linux how to run FB

Another possible cause of that error is trying to run 32bit fbc on a 64bit Ubuntu Linux system, but the libc6-i386 package is missing, so it doesn't recognize 32bit programs.
by dkl
Sep 28, 2017 17:04
Forum: General
Topic: [solved] "old" code crashed
Replies: 5
Views: 328

Re: "old" code crashed

Happens also on Linux, 32bit or 64bit, git version or 1.05.0: ==4994== Invalid free() / delete / delete[] / realloc() ==4994== at 0x4C2ED5B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4994== by 0x40708C: release_gfx_mem (gfx_screen.c:70) ==4994== by 0x40708C: set_mode (gfx_scree...
by dkl
Sep 24, 2017 16:33
Forum: General
Topic: simple parser bug?
Replies: 15
Views: 2245

Re: simple parser bug?

by dkl
Sep 20, 2017 20:22
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 79
Views: 5657

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

Ahh yes, I missed the "submit review" button. Should be visible now.
by dkl
Sep 20, 2017 18:15
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 79
Views: 5657

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

I've written some review comments on the Github pull request for this, but they're only about some minor formatting issues and such that would be nice to have fixed before merging. Besides that I've looked at whether non-OpenGL graphics modes are affected, but no, it looked good. So we don't have to...
by dkl
Sep 11, 2017 15:55
Forum: Documentation
Topic: Iif compile-time return value
Replies: 15
Views: 1407

Re: Iif compile-time return value

When I added the compile-time evaluation for iif() I thought it would be neat and could be useful in #if expressions or other kinds of meta-programming. I didn't consider that eliminating the temp var could have unwanted side-effects, as in that Byref example. Another problem with solving out the ii...
by dkl
Sep 03, 2017 15:52
Forum: Community Discussion
Topic: What to do about a lack of developers for the compiler?
Replies: 117
Views: 8545

Re: What to do about a lack of developers for the compiler?

It was some older OpenSUSE x86 and x86_64 for Linux builds, which had an old enough glibc to work on Debian stable (if I remember correctly), and didn't cause visible issues like Symbol `ospeed' has different size in shared object, consider re-linking (which I think relates to ncurses) on other syst...
by dkl
Sep 01, 2017 18:35
Forum: Community Discussion
Topic: Question about rtlib
Replies: 13
Views: 1238

Re: Question about rtlib

That's probably true, chances are it only really needs a few declarations from here and there, not full headers.
by dkl
Sep 01, 2017 18:22
Forum: Community Discussion
Topic: What to do about a lack of developers for the compiler?
Replies: 117
Views: 8545

Re: What to do about a lack of developers for the compiler?

Hi, regarding the release making... I think it would be good to rely on an automated build server like St_W's, and possibly split the work/responsibilities between multiple people, each responsible for their platform. Why should someone make DOS releases, if they don't know and care about it. Doing ...
by dkl
Sep 01, 2017 17:08
Forum: Community Discussion
Topic: Question about rtlib
Replies: 13
Views: 1238

Re: Question about rtlib

The only problem I see is that it uses lots of POSIX/libc/kernel (Linux, FreeBSD, etc.) system headers, which are not yet available as .bi and are rather hard to auto-translate and maintain in my experience. But since such bindings are missing for FB anyways (including support for multiple libc's on...
by dkl
Sep 01, 2017 16:42
Forum: Libraries
Topic: undefined reference to `LoadIconMetric'
Replies: 16
Views: 1890

Re: undefined reference to `LoadIconMetric'

Hi, Thanks for taking a look at these problems. That's exactly the kind of technical problems you have to deal with in FB for Windows. I'd like to mention that the current winapi headers were mostly auto-translated with fbfrog, which is why the UNICODE/_WIN32_WINNT #ifs are somewhat ugly. I limited ...
by dkl
Jun 06, 2017 17:40
Forum: Community Discussion
Topic: FreeBASIC in Antergos Linux (and possibly Arch and derivatives)
Replies: 14
Views: 1485

Re: FreeBASIC in Antergos Linux (and possibly Arch and derivatives)

Hm, I don't remember fbc ever linking FB programs against both libncurses and libtinfo at the same time. I think originally fbc only linked FB programs to ncurses, and it could be reverted back to it (partially revert 2a110bee). I don't remember any reason for using libtinfo only, besides trying to ...
by dkl
May 22, 2017 15:54
Forum: Community Discussion
Topic: Currently inactive
Replies: 45
Views: 6529

Currently inactive

Hi everyone, I'd like to let everyone know that I'm no longer actively working on the FreeBASIC Compiler project. Last year was already very slow, this year is the same so far, so to be fair and clear, I thought it's time to admit it. I no longer have the same interest and time for fbc as before. Fo...

Go to advanced search