Search found 1009 matches

by SARG
Apr 09, 2020 23:41
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

Hi robert, You are making good progress, structs/obj_shared_array_ini is 419/566 in the unit-tests-obj.lst. yes but not yet enough :-) It seems that some crashes are random.... And on my side this failed test doesn't fail.. Use fbc-tests -v to see in what module the crash arises. @Xusinboy What vers...
by SARG
Apr 09, 2020 16:36
Forum: Tips and Tricks
Topic: fbgfx versus opengl graphics
Replies: 15
Views: 582

Re: fbgfx versus opengl graphics

With lang fb it's in namespace FB

fb.GET_WINDOW_TITLE works.
by SARG
Apr 09, 2020 16:14
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

Xusinboy Bekchanov wrote:Here with fbc64_gas64
Thanks.
I have not yet looked what you posted. I'll do it a bit later.

Could not get asm code from gcc.
Just add the option -RR
by SARG
Apr 09, 2020 14:22
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

I guess you also use 8 other files. There is no version 8 on my computer. I have never downloaded it. For gas64 9 files have been changed so ir_gas64.bas and the 8 others :-) Before, when you sent the compiled fbc64_gas64, I only tested and nothing more. I better understand your trouble. Then can y...
by SARG
Apr 09, 2020 10:31
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

This is from gcc for information: No it's also from gas64. Compile with the original fbc. We'll see if there is any problem. And keep the asm file. What version of gas64 are you using ? The last file you sent, I compile in the folder 1.07.1 Linux I guess you also use the 8 other files. When doing t...
by SARG
Apr 08, 2020 19:59
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

@Xusinboy Don't compile with s -gui and with -i etc Show me the a64 file. What version of gas64 are you using ? When doing the same compilation with gcc no error ? Have you compiled your own libraries for fbc or did you get the binaries from coderjeff ? @robert The end is close. I can run fbc-tests ...
by SARG
Apr 08, 2020 9:19
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

@Xusinboy Hard to understand so we will start again with a small piece of code. Compile as a dll this code. sub test() print "test" end sub dim as sub psub=@test() dim as wstring *20 wstrg wstrg="test" dim as string strg strg=wstrg common shared as integer csint test csint=45 You...
by SARG
Apr 07, 2020 13:11
Forum: Projects
Topic: FB debugger : 2.96 32/64 BIT ..... (2020/02/17)
Replies: 627
Views: 154053

Re: FB debugger : 2.96 32/64 BIT ..... (2020/02/17)

Hi StillLearning, Me too :-) I love your debugger. Thank you. This is the error I get: The window heading says: Loading stabs The error message is: ERROR when reading memory :299 Exit loading 299 is an error from Windows. There is a problem when reading memory, only a part can be gotten. Debugging o...
by SARG
Apr 07, 2020 8:50
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

@Xusinboy Check the version of ir-gas.bas and if no compilation problem. For checking if the dll option is well taking in account by ir-gas64 add this line anywhere inside 'function _emitbegin( )' ''dll ? print "Out type=";fbGetOption( FB_COMPOPT_OUTTYPE ),"for dll it must be="; ...
by SARG
Apr 06, 2020 21:29
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

Hi all, http://users.freebasic-portal.de/sarg/gas64_all_sources.zip @robert Sorry, a test in my previous fix was not full. @Xusinboy I just got the file. Thanks. Huge, more than 600 000 lines ;-) At first glance it seems OK. Tomorrow I'll compare with my log. No more error/crash when compiling only ...
by SARG
Apr 05, 2020 22:53
Forum: Beginners
Topic: Using Dir command with #Lang "qg" compiler option
Replies: 3
Views: 149

Re: Using Dir command with #Lang "qg" compiler option

from doc : Dir not available in the -lang qb dialect unless referenced with the alias __Dir. Rem When I include the #Lang "qb" Line which I need for code compatibility this will not compile Rem This code runs fine without the #Lang "qb" Line #Lang "qb" Dim filename As S...
by SARG
Apr 05, 2020 22:33
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

Hi all, http://users.freebasic-portal.de/sarg/gas64_all_sources.zip @robert I wrote a script, based on unit-tests-obj.lst for compiling and executing separately each file (or two files togegher if necessary). There was only a crash. I struggled to find the reason of the crash and besides I still don...
by SARG
Apr 03, 2020 21:58
Forum: General
Topic: Strange behaviour with #define
Replies: 8
Views: 192

Re: Strange behaviour with #define

One #define for concat seems to work here. Sure concat(a,b) a.b does the job. It's what I use. It's seems that the preprocessor adds a space in front of each define. #define test1 test_1 #define test2 test_2 #define concat(a,b) a.b test1.test2 '--> test_1. test_2 concat(test1,test2) '-->test_1.test...
by SARG
Apr 03, 2020 19:42
Forum: General
Topic: Strange behaviour with #define
Replies: 8
Views: 192

Strange behaviour with #define

I 'm facing a problem and I can't figure out if it's normal or a bug. Compile the code below with option -pp to see the problem. In one of my program I must to use the third define to get what I want (a call to a function located in a namespace). #define test1 test_1 #define test2 test_2 #define con...
by SARG
Apr 01, 2020 10:41
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 234
Views: 27897

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

Hi all, Still gives such an error: I guess this error is not output when compiling with gcc ? I still don't understand Could try with this script (no -exx and no -g) fbc64_gas64 -b "mff.bi" -x "../libmff64_gtk3.so" -dll -v -i "../" @robert Errors fixed and no crash unde...

Go to advanced search