Search found 2308 matches

by coderJeff
Oct 18, 2020 21:33
Forum: General
Topic: Mapping from fbc function to C function in the source code
Replies: 13
Views: 625

Re: Mapping from fbc function to C function in the source code

Hi tjfy1992, There were a couple of related bugs fixed merge in to master (trunk) at one time: From newest to oldest: b3e352841777dac013298746e6111a65134b7e8b * rtlib: whitespace clean up for LTRIM/RTRIM/TRIM functions 79707650faaf1133109f07a146fb490cabaca287 * wstring: add new test cases for TRIM, ...
by coderJeff
Oct 18, 2020 21:12
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 481
Views: 80185

Re: Where can I get a Recent-Git-Build of FreeBASIC?

@St_W, there's a few new build updates merged in with fbc/master now. I also changed the opening post for this thread so you can edit if you want.
by coderJeff
Oct 13, 2020 0:41
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 481
Views: 80185

Re: Where can I get a Recent-Git-Build of FreeBASIC?

St_W wrote:@coderJeff: unfortunately the ARM builds fail since the GAS64 changes were merged:

OK, I've pushed changes to freebasic/fbc/master to disable the ASM used in ir-gas64.bas. I'm thinking it should build now. ir-gas64.bas still included
by coderJeff
Oct 12, 2020 23:35
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 481
Views: 80185

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Looks like there's some x86 assembly, which (obviously) doesn't compile when targeting ARM. Is there any configuration to disable the new GAS64 backend for ARM? There isn't. I kind of thought it would be like the other backends where fbc can be used as a cross compiler on any host. Why do we test t...
by coderJeff
Oct 12, 2020 17:30
Forum: General
Topic: Failed to make the unit tests in old version of fbc
Replies: 4
Views: 190

Re: Failed to make the unit tests in old version of fbc

Where can I find the library of cunit? Thanks. I think 'sudo apt-get install libcunit1' should work for you. Maybe there is a 'libcunit1-dev' package too? I don't know. Or to build it yourself: https://sourceforge.net/projects/cunit/files/CUnit/2.1-3/ Sorry, I haven't used libcunit in a few years n...
by coderJeff
Oct 12, 2020 13:37
Forum: General
Topic: multithread detection
Replies: 11
Views: 375

Re: multithread detection

Perhaps this description update: __FB_MT__ indicates if the the multithreaded option -mt was specified on the command line at the time of compilation , or whether one of the ThreadtCreate or ThreadCall keywords is used more above in the source code . Yes, this is correct. I didn't notice this behav...
by coderJeff
Oct 12, 2020 5:55
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 382
Views: 40787

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

deltarho[1859] wrote:Excuse my ignorance but where is 'freebasic/fbc/fbc-1.07 branch'?


Maybe easiest place to see would be:
https://github.com/freebasic/fbc/branches

The fbc-1.07 branch will be used for a 1,07.2 version release. It's diverged from the main development branch.
by coderJeff
Oct 12, 2020 1:54
Forum: General
Topic: Failed to make the unit tests in old version of fbc
Replies: 4
Views: 190

Re: Failed to make the unit tests in old version of fbc

That was a problem that showed up because of new warnings in newer versions of GCC. Was fixed by: github gcc backend: pass '-Wno-format' to gcc backend sf.net gcc backend: pass '-Wno-format' to gcc backend You should be able to do the same even on an older version: $ make cunit-tests FBC="../bi...
by coderJeff
Oct 12, 2020 1:23
Forum: General
Topic: Mapping from fbc function to C function in the source code
Replies: 13
Views: 625

Re: Mapping from fbc function to C function in the source code

... what I am looking for is, .... at some time, there is one or more failing test scripts, and the git version of the source code is 0001; and then a developer makes some changes, then the failing test scripts become passing, so he submit the changes to Git, and the new version of the submitted so...
by coderJeff
Oct 12, 2020 1:17
Forum: General
Topic: Function String don't work if unicode BOM
Replies: 26
Views: 534

Re: Function String don't work if unicode BOM

@development team: one reason of the problems is that FB sometimes has problems with the UTF8-BOM. Most of the time it works just fine, but this source failed miserably and produced utterly misleading error messages when the BOM was present, so I removed it. The UTF8 bug rears its ugly head for cer...
by coderJeff
Oct 12, 2020 0:01
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 382
Views: 40787

Re: Gas64 (no more use of gcc, only gas) WDS / LNX

gas64 is now merged in to 1.07.2 (on freebasic/fbc/fbc-1.07 branch) and 1.08.0 (on freebasic/fbc/master branch). - '-gen gas64' to use - intrinsic '__FB_BACKEND__' set to "gas64" when used - default backend is still -gen gas on 32-bit and -gen gcc on 64-bit A while back discussed using -ge...
by coderJeff
Oct 11, 2020 23:56
Forum: Community Discussion
Topic: Permission
Replies: 2
Views: 279

Re: Permission

Yeah, just follow the rules of the GPL & LGPL, etc. A simple explanation on this forum: GPL Explained? Yes, you can create freeware, shareware or commercial open- and closed-source applications with FreeBASIC, the only restriction is that you can't include the compiler itself (fbc.exe) in a clos...
by coderJeff
Oct 11, 2020 23:29
Forum: General
Topic: multithread detection
Replies: 11
Views: 375

Re: multithread detection

What are the triggers that cause multithreading detection and library usage? Needs to be explicit '-mt' on the command line option for at least one executable, object file, library to select the multithreading library. If '-mt' is specified, it gets saved in a special section of the compiled librar...
by coderJeff
Oct 08, 2020 0:57
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 481
Views: 80185

Re: Where can I get a Recent-Git-Build of FreeBASIC?

So the default fbc build requires Win 7+ if one wants to build that new gfxlib driver, if building on XP it has to be disabled. And the default fbc build generates binaries that work on XP as well as 7+, the new driver will just be inactive on XP (and if one wants to specifically target XP or older...
by coderJeff
Oct 08, 2020 0:53
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 19198

Re: FreeBASIC 1.08 Development

I have been looking at TLS and it looks a bit heavy to me. It is worth remembering that each thread has its own stack. Perhaps we can make use of that. Just an idea - probably barmy. Yeah, TLS is not too bad. I tried a mutex implementation with some extra runtime API functions that bypass condition...

Go to advanced search