Search found 2288 matches

by srvaldez
May 08, 2020 0:03
Forum: Community Discussion
Topic: logo
Replies: 4
Views: 177

logo

I have always shied away from this "kiddie" language named logo, but doing graphic programming in FB is a mystery too deep for me, so how hard would it be to write a logo interpreter in FB? not a standalone interpreter but like a logo string evaluator, you would write the logo program in a...
by srvaldez
May 07, 2020 18:11
Forum: Windows
Topic: binutils-2.3.4 and gdb-9.1
Replies: 7
Views: 4238

Re: binutils-2.3.4 and gdb-9.1

hello UEZ there's nothing groundbreaking about them and you probably won't notice any difference by replacing the tools that are included in the FB distribution, except perhaps gdb because the version that comes with FB is old. it's just that some months ago when I was building FB I was having probl...
by srvaldez
May 06, 2020 18:23
Forum: Windows
Topic: binutils-2.3.4 and gdb-9.1
Replies: 7
Views: 4238

binutils-2.3.4 and gdb-9.1

updated to version 2.3.4
here's gdb-9.1
by srvaldez
May 05, 2020 16:10
Forum: Tips and Tricks
Topic: Wormhole effect
Replies: 34
Views: 855

Re: Wormhole effect

@ShawnLG
it's a i9-9900K CPU @ 3.60GHz
by srvaldez
May 05, 2020 12:43
Forum: Windows
Topic: FreeBASIC-1.08.0-winxx-gcc-10-20200502
Replies: 5
Views: 321

Re: FreeBASIC-1.08.0-winxx-gcc-10-20200502

FB last GitHub update was 4 months ago, basically this build allows you to compile with the work-in-progress gcc-10
by srvaldez
May 05, 2020 9:22
Forum: Tips and Tricks
Topic: Wormhole effect
Replies: 34
Views: 855

Re: Wormhole effect

hello ShawnLG
on my PC I get insanely high fps, 1130 fps in 32-bit and 1150 in 64-bit with the command fbc -arch native -gen gcc -Wc -Ofast "%f"
if I use clang-x86 with -arch native and -Ofast I get 1300 fps
by srvaldez
May 05, 2020 0:51
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

tricky batch files :LOL: didn't know this was possible with batch files, try to guess what the following batch file does D:\dev\FreeBASIC-1.08.0-win%3-gcc-10\fbc -gen gcc %2 %3 -asm att -r -m "%~n1" %1 C:\Users\Admin\Desktop\clang%3\bin\clang.exe %4 "%~n1.c" -c -o "%~n1.o&qu...
by srvaldez
May 04, 2020 22:47
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

fixed the batch files to accept spaces 32-bit D:\dev\FreeBASIC-1.08.0-win32-gcc-10\fbc -gen gcc -arch 32 -asm att -r -m "%~n1" %1 C:\Users\Admin\Desktop\clang32\bin\clang.exe -Ofast "%~n1.c" -c -o "%~n1.o" D:\dev\FreeBASIC-1.08.0-win32-gcc-10\fbc -arch native "%~n1...
by srvaldez
May 04, 2020 20:32
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

for anyone interested here are the msys2 clang executables, it includes batch files to make it easy to try, I suggest that you place the batch files on the desktop and edit them to correct the paths for your system then you can simply drag-&-drop a bas file on top of the batch file to create a c...
by srvaldez
May 04, 2020 16:19
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

I made 2 batch files to make easier to play with goclang32.bat C:\msys64\mingw32\bin\fbc -gen gcc -arch 32 -asm att -r -m %~n1 %1 C:\msys64\mingw32\bin\clang -Ofast %~n1.c -c -o %~n1.o C:\msys64\mingw32\bin\fbc -arch native %~n1.o goclang64.bat C:\msys64\mingw64\bin\fbc -gen gcc -arch 64 -asm att -r...
by srvaldez
May 04, 2020 16:10
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

in 32-bit I had to pass -asm att to fbc otherwise clang would spit-out many errors related to fpu operand size not being specified. I'm confused... did you pass -r to fbc? If so, it should produce a .c file only, and "-asm att" would be ignored. the command was fbc -gen gcc -arch 32 -asm ...
by srvaldez
May 04, 2020 13:59
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

thanks TeeEmCee
an interesting experiment, in 32-bit I had to pass -asm att to fbc otherwise clang would spit-out many errors related to fpu operand size not being specified.
it would be interesting to have FB built using clang.
by srvaldez
May 04, 2020 12:12
Forum: Beginners
Topic: Could I use fbc -gen gcc with clang as the compiler?
Replies: 21
Views: 509

Re: Could I use fbc -gen gcc with clang as the compiler?

TeeEmCee wrote:Edit: Figured out a way to simplify compiling.

please elaborate
by srvaldez
May 03, 2020 20:36
Forum: Community Discussion
Topic: GCC compiler question
Replies: 10
Views: 361

Re: GCC compiler question

the gcc toolchain provided by equation are statically linked, only standard Windows dll dependencies like msvcrt.dll or user32.dll
I don't know about compiler internals, obviously FB and gcc use certain directory structures to function.

Go to advanced search