Search found 1356 matches

by St_W
Oct 04, 2018 18:37
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 60
Views: 1799

Re: gcc 5.2 vs gcc 8.1

I definitely cannot test 7.3 32-bit because of the missing libexec folder. Copy & paste issue in the build script. Fixed it and uploaded a new build fbc_win32_gcc730_0005_2018-10-04.zip http://users.freebasic-portal.de/stw/builds/_custom/gcc730/ cc1.exe paths relative to gcc.exe: 32-bit: ..\i68...
by St_W
Oct 04, 2018 13:15
Forum: Community Discussion
Topic: Wiindows 10
Replies: 8
Views: 294

Re: Wiindows 10

My laptop (ASUS) is quite new, with a core i7-7500U, 6 GB, but only a HDD 1TB (access time penalizing). I can already see this slow access at each startup when the PC runs at 100% on its hard drive for a little more than 5 minutes. I'd recommend to either add (if there's a free M.2 or SATA slot) a ...
by St_W
Oct 03, 2018 9:51
Forum: Beginners
Topic: playing sounds with fmod
Replies: 13
Views: 1458

Re: playing sounds with fmod

You need to stop playback on the channel, passing the sample data (mysound in your case) does not make sense. It is the same channel you start playback on with fsound_playsound(channel, samples)
by St_W
Oct 03, 2018 7:29
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 60
Views: 1799

Re: gcc 5.2 vs gcc 8.1

I'm not totally happy with the gcc backend being the default one either, but it's the best we can get for now. As I've already mentioned above the backend shouldn't be something the user has to care about, it should be compiler-internal. I'd prefer the LLVM backend because it would both allow optimi...
by St_W
Oct 01, 2018 13:00
Forum: Linux
Topic: Raspberry Pi install. Conflicting help is puzzling me.
Replies: 6
Views: 212

Re: Raspberry Pi install. Conflicting help is puzzling me.

Yeah, all the automatic packaging is done on the host (running Windows), where I don't see any possibility to create an archive with Linux file permissions. So you need to make the install script executable first, running "chmod +x install.sh", followed by "./install -i". Or you ...
by St_W
Oct 01, 2018 11:31
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated October 7, 2018)
Replies: 438
Views: 36939

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated September 5, 2018)

re gcc.exe/cc1.exe
see also https://www.freebasic.net/forum/viewtop ... 76#p248276
Basically gcc.exe is just doing some pre/post-processing and invokes all the involved tools, including cc1.exe (which is the actual compiler) and a few others like assembler and linker.
by St_W
Oct 01, 2018 11:10
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 60
Views: 1799

Re: gcc 5.2 vs gcc 8.1

I'm using these ones: x86: i686-8.1.0-release-win32-dwarf-rt_v6-rev0.7z x86_64: x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z the choice was completely arbitrary; these just were the latest versions at the time (and still are now as it seems). There doesn't seem to be a gcc 8.2 build from the mingw-w...
by St_W
Oct 01, 2018 9:00
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 60
Views: 1799

Re: gcc 5.2 vs gcc 8.1

re scope of change: This change basically only affects the win64 standalone package of FreeBasic, which ships with gcc. The gcc "add-on" package for win32 is also affected, but I guess it isn't used by many people, except expert users. re gcc binary size differences: First you should note ...
by St_W
Sep 30, 2018 16:03
Forum: Windows
Topic: gcc 5.2 vs gcc 8.1
Replies: 60
Views: 1799

Re: gcc 5.2 vs gcc 8.1

Upgrading to 7.3 seems to be a good choice; it's the same version used in the current Ubuntu version (18.04) by default. However, I don't know anything about the stability on Windows, tbh. In general the version of gcc used by fbc shouldn't be something FB users have to think about, IMHO. I'd consid...
by St_W
Sep 30, 2018 14:34
Forum: Libraries
Topic: SDL2 bindings for FB?
Replies: 1
Views: 124

Re: SDL2 bindings for FB?

In case you're going to create new bindings for FB try fbfrog first as also mentioned in the wiki:
https://freebasic.net/wiki/wikka.php?wa ... ngCreation
by St_W
Sep 30, 2018 14:25
Forum: General
Topic: Getting past the 15 decimal place limit of a double in FreeBASIC?
Replies: 11
Views: 365

Re: Getting past the 15 decimal place limit of a double in FreeBASIC?

Much easier to use a static GMP lib. Just note the implications to your piece of software in case you decide to share it. Basically it means that you also have to use the LGPL license for your code and thus have to share it (not only binaries) if you link GMP statically. And again, this becomes onl...
by St_W
Sep 28, 2018 10:29
Forum: General
Topic: Change the standard vga font?
Replies: 3
Views: 156

Re: Change the standard vga font?

The internal font data can be found here: https://github.com/freebasic/fbc/tree/master/src/gfxlib2/gfxdata However, I think it uses a different data structure than user-supplied fonts, so you cannot use it as-is. I'd also suggest to use the method described in the wiki entry referenced by "paul...
by St_W
Sep 19, 2018 8:07
Forum: General
Topic: type with constructor in namespace issue
Replies: 31
Views: 642

Re: type with constructor in namespace issue

(@fxm: is the (de)initializer/constructor/destructor execution order documented or how do we know what's the "correct" behaviour? - I'm asking just out of interest)
by St_W
Sep 19, 2018 7:59
Forum: Libraries
Topic: First test of libVLC include files.
Replies: 30
Views: 5240

Re: First test of libVLC include files.

gcdevelops wrote:ps: copying vlc libs/files isn't needed; almost on my machine

It shouldn't on Linux, because libraries are typically installed globally (system-wide) there. That's different on Windows where most applications are shipped with all their dependencies included.
by St_W
Sep 18, 2018 20:41
Forum: Libraries
Topic: First test of libVLC include files.
Replies: 30
Views: 5240

Re: First test of libVLC include files.

ld: impossibile trovare -lvlc linking failed: 'ld' terminated with exit code 1 The linker complains about being unable to find the library ("-l" stands for library) named "vlc". There should be a file "libvlc.a" or "vlc.so" or "libvlc.so" or similar...

Go to advanced search