Search found 1896 matches

by srvaldez
Jun 16, 2019 23:06
Forum: General
Topic: 64-bit mov
Replies: 1
Views: 17

Re: 64-bit mov

it seems to work in this example Dim as Ulong TempVar dim as ulong ptr ptrBuffer=allocate(sizeof(ulong)) *ptrBuffer=1234 Asm mov rax, Qword Ptr [ptrBuffer] mov rax, [rax] mov Qword Ptr [TempVar], rax End Asm Print TempVar deallocate(ptrBuffer) perhaps I misunderstood the question
by srvaldez
Jun 15, 2019 18:55
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 559

Re: FreeBASIC-1.06.0-Win gcc-9.1

I did notice that the compile times were quite snappy :-)
by srvaldez
Jun 15, 2019 16:07
Forum: Community Discussion
Topic: FBwin64-gcc-8.3 for deltarho[1859]
Replies: 13
Views: 366

Re: FBwin64-gcc-8.3 for deltarho[1859]

@deltarho[1859] I was unable to find a 32-bit version of the gcc-toolchain, so it's 64-bit only, fbc-64-win-gcc-8.3 I will leave the link up until you have downloaded it. I may try the 8.2 nuwen distribution https://nuwen.net/mingw.html, not sure it will work with the msys2 shell environment, will h...
by srvaldez
Jun 13, 2019 10:33
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 38
Views: 879

Re: FBC's Cairo clock example error

nice :-)
by srvaldez
Jun 12, 2019 22:52
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 38
Views: 879

Re: FBC's Cairo clock example error

hi dodicat :-)
remember the 6782 puzzle ? viewtopic.php?p=187523#p187523
you wrote really clever program using cairo viewtopic.php?p=188051#p188051
btw, why is this forum so deadly quiet ?
FIFA games ?
by srvaldez
Jun 12, 2019 14:20
Forum: Community Discussion
Topic: building fbc for Windows - for beginners by a beginner
Replies: 5
Views: 292

Re: building fbc for Windows - for beginners by a beginner

hello deltarho[1859]
yes, my goal was to use gcc-7.4 but was unable to find it.
by srvaldez
Jun 12, 2019 12:36
Forum: Community Discussion
Topic: building fbc for Windows - for beginners by a beginner
Replies: 5
Views: 292

Re: building fbc for Windows - for beginners by a beginner

hello integer
I am interested whether you succeeded or not.
note also that you could use another mingw distribution with different gcc-toolchain version, but I recommend that you use the /threads-win32/sjlj/ branch, as that is what coderJeff uses.
by srvaldez
Jun 12, 2019 10:21
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 38
Views: 879

Re: FBC's Cairo clock example error

@dodicat nice clock, tested on macOS but I had to change #include once "cairo.bi" to #include once "cairo/cairo.bi" also, the fps and the pendulum behave strangely, the fps started at about 24 but after a while it got up to 40 to 60, however, if I click on the clock and keep the ...
by srvaldez
Jun 11, 2019 0:16
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 38
Views: 879

Re: FBC's Cairo clock example error

hello dodicat just found this site that has recent all-in-one Cairo dll https://github.com/preshing/cairo-windows/releases This repository is meant to help create Cairo DLLs for Windows. Both 32-bit and 64-bit versions can be built. The resulting cairo.dll file is fully self-contained and does not d...
by srvaldez
Jun 10, 2019 18:03
Forum: Community Discussion
Topic: building fbc for Windows - for beginners by a beginner
Replies: 5
Views: 292

Re: building fbc for Windows - for beginners by a beginner

build fbc-64bit Rename fbc-code to fbc-code32 launch mingw64.exe git clone https://git.code.sf.net/p/fbc/code fbc-code cd to fbc-code Open a new document in notepad and add the following text ENABLE_STANDALONE=1 Save As "config.mk" into the folder fbc-code make cd lib/win32 Make cp *.dll.a...
by srvaldez
Jun 10, 2019 15:00
Forum: Community Discussion
Topic: building fbc for Windows - for beginners by a beginner
Replies: 5
Views: 292

building fbc for Windows - for beginners by a beginner

Download a mingw distribution and setting up a bash shell The only solution that I found is by using msys2, note that in this example, we copy a mingw distribution that's not part of msys2, therefore, it's not intended to be updated by using pacman. I am assuming that msys2 will be installed in C:\...
by srvaldez
Jun 07, 2019 1:06
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 559

Re: FreeBASIC-1.06.0-Win gcc-9.1

@coderJeff
thank you for taking the time for addressing this, I have the impression that it would take an awful lot of work to get the FB codebase to be complaint with the current gcc syntax and semantics, like they say, "the devil is in the details"
by srvaldez
Jun 07, 2019 0:22
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 559

Re: FreeBASIC-1.06.0-Win gcc-9.1

@coderJeff
thank you for the clarification. :-)
by srvaldez
Jun 06, 2019 23:19
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 559

Re: FreeBASIC-1.06.0-Win gcc-9.1

yes, unfortunately, a compiler is very complicated and changing core compatibility issues could be very time consuming.
by srvaldez
Jun 06, 2019 22:38
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 559

Re: FreeBASIC-1.06.0-Win gcc-9.1

What you have shown, srvaldez, is pushing the 'boat out' has not brought the roof down and the question must be asked why does gcc 5.2 seem to be carved in stone, the fbc 1.06 release was a golden opportunity to 'up the stakes'; not to version 9 but something greater than version 5. I don't know th...

Go to advanced search