Search found 2867 matches
- Dec 05, 2018 18:00
- Forum: Linux
- Topic: how to compile FB for Cygwin
- Replies: 6
- Views: 7125
Re: how to compile FB for Cygwin
Keep in mind that cygwin and mingw-w64 are different toolchains, and FB uses either win64 (mingw-w64, 64bit) or cygwin-x86_64 (cygwin, 64bit), which cannot be mixed. It has to be treated as if cross-compiling (even though it's both 64bit Windows). It should work something like this: 1. get win64 fbc...
- Aug 07, 2018 19:48
- Forum: Libraries Questions
- Topic: Updating fbbindings
- Replies: 4
- Views: 2009
Re: Updating fbbindings
Ok, interesting. Crashes are strange, that needs to be debugged. Some parts are understandable, such as ./configure build system invocation being different on the different target. It's really unfortunate that some packages generate some headers at build-time... this is not handled nicely at all cur...
- Aug 07, 2018 17:32
- Forum: Libraries Questions
- Topic: Updating fbbindings
- Replies: 4
- Views: 2009
Re: Updating fbbindings
Hi, the last time I worked on fbfrog+fbbindings, it was on Linux only, so maybe it is broken for Windows/Cygwin... but I'm sure that can be fixed. So if you've got useful changes, send a pull request, I can review + merge it. Also I'm not surprised if the download links used in the scripts are dead ...
- Jul 27, 2018 17:00
- Forum: Linux
- Topic: Latest FBC install on Debian
- Replies: 12
- Views: 6331
Re: Latest FBC install on Debian
It's strange that fbc is trying to use 32bit libgcc even though it compiles for 64bit. What do you get when running these commands: gcc -m32 -print-file-name=libgcc.a gcc -m64 -print-file-name=libgcc.a It should give different output, but if it's the same, then maybe some packages are missing: gcc-m...
- Jul 27, 2018 16:26
- Forum: Linux
- Topic: Latest FBC install on Debian
- Replies: 12
- Views: 6331
Re: Latest FBC install on Debian
Try adding the -v option to the fbc compile command, then it should show the target system it's trying to compile for (maybe it's 64bit x86_64 instead of 32bit i686?).
- Jul 18, 2018 17:45
- Forum: General
- Topic: Undefined reference to `PNG_LoadFile@16'
- Replies: 27
- Views: 5275
Re: Undefined reference to `PNG_LoadFile@16'
As counting_pine said, since the library has _PNG_LoadLibrary@8, not @16, it's probably BYVAL AS STRING from old FB versions where it was broken and worked like BYREF AS ZSTRING. The declaration can be changed to BYREF AS ZSTRING or BYVAL AS ZSTRING PTR now and then new FB versions can use the old l...
- Jun 18, 2018 19:07
- Forum: Windows
- Topic: Need new gfxlib driver for Windows 7, 8, 10
- Replies: 20
- Views: 6815
Re: Need new gfxlib driver for Windows 7, 8, 10
SDL backend!
- Jun 18, 2018 19:04
- Forum: Community Discussion
- Topic: Dim Byref syntax
- Replies: 134
- Views: 26077
Re: Dim Byref syntax
Here's a fix that adds the missing initializer validation (disallow non-constant initializers): https://github.com/freebasic/fbc/pull/87 I think allowing initialization of a global ref from another ref by duplicating the other's initree is possible, and should be done in hCheckAndBuildByrefInitializ...
- Jun 18, 2018 17:36
- Forum: Community Discussion
- Topic: Dim Byref syntax
- Replies: 134
- Views: 26077
Re: Dim Byref syntax
For this case: dim shared a as integer = 5 dim shared byref as integer b = a dim shared byref as integer c = b '' fbc crash print a, b, c src/compiler/ast-node-typeini.bas(550): assertion failed at HFLUSHEXPRSTATIC: (expr->class =AST_NODECLASS_CONST) the problem in fbc is that hCheckAndBuildByrefIni...
- May 09, 2018 17:35
- Forum: Linux
- Topic: Missing files in 64-bit install script and how it could be resolved
- Replies: 3
- Views: 1902
Re: Missing files in 64-bit install script and how it could be resolved
Hi, it should be noted that some of the .bi files from the 32bit install were excluded from the 64bit version, because they do not support 64bit yet. So it's not safe to use them on 64bit. As far as I remember not all .bi files in fbc repository itself were fixed up yet. The main problem usually is ...
- May 09, 2018 17:31
- Forum: Linux
- Topic: Both fbc32 and fbc64 on 64-bit Ubuntu (not a question)
- Replies: 2
- Views: 1561
Re: Both fbc32 and fbc64 on 64-bit Ubuntu (not a question)
It's nice to see this being used/noticed, because it was intended to work this way. Parallel installation of libraries for easy cross-compiling, and shared headers. Also a note that's interesting for fbc development: The commands "fbc32 -arch 64" and "fbc64", aswell as "fbc6...
- May 02, 2018 15:48
- Forum: General
- Topic: fbc crash in lang deprecated
- Replies: 6
- Views: 1402
Re: fbc crash in lang deprecated
Looks like SourceForge bugs can have "labels", which could be used for this. Then it would also make sense to enable the "labels" column in the list view. Also new fields can be added (currently we have the "Component" one).
- Apr 10, 2018 20:36
- Forum: Beginners
- Topic: 32/64 bit compiler issue
- Replies: 10
- Views: 2344
Re: 32/64 bit compiler issue
It sounds like: https://sourceforge.net/p/fbc/bugs/798/
- Apr 03, 2018 18:57
- Forum: Projects
- Topic: fbfrog header translator
- Replies: 59
- Views: 29919
Re: fbfrog header translator
Nah, that's dead since fbfrog 1.0. It was fun to make, but there was just no point in having it...
- Mar 24, 2018 19:29
- Forum: Projects
- Topic: fbcunit - fbc compiler unit testing component
- Replies: 44
- Views: 7758
Re: fbcunit - fbc compiler unit testing component
We should merge the changes anyways, because what else can you do when Travis randomly starts failing. I mean, it would most likely fail to build the current master too, with or without the changes. For fbc, I don't think Travis builds passing or reviews on every change can be made mandatory, due to...