Search found 1713 matches

by deltarho[1859]
Jun 17, 2019 0:00
Forum: General
Topic: 64-bit mov
Replies: 2
Views: 134

Re: 64-bit mov

Thanks srvaldez. It is good to know that piece of code was correct. In 64-bit the buffer is filled a little differently, and I was confident that was OK so questioned the posted code. I only made two changes so it looks like something is wrong with the changed buffer fill. In 32-bit mode the buffer ...
by deltarho[1859]
Jun 16, 2019 22:51
Forum: General
Topic: 64-bit mov
Replies: 2
Views: 134

64-bit mov

I kmow that this works where ptrBuffer is Any Ptr Dim as Ulong TempVar Asm mov eax, Dword Ptr [ptrBuffer] mov eax, [eax] mov Dword Ptr [TempVar], eax End Asm But I cannot do this because the 64-bit mov is differnt to the 32-bit mov. Dim as Ulongint TempVar Asm mov rax, Qword Ptr [ptrBuffer] mov rax,...
by deltarho[1859]
Jun 15, 2019 17:15
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

I have given Encrypternet a hammering using 9.1 and it has not put a foot wrong. Taking srvaldez's lead I am using '-strip -gen gcc -Wc -O2' instead of -O3 and I am getting 32-bit at 116KB and 64-bit at 115.5KB. PowerBASIC is known for knocking out small binaries but even it may be shaking in its bo...
by deltarho[1859]
Jun 15, 2019 16:52
Forum: Community Discussion
Topic: FBwin64-gcc-8.3 for deltarho[1859]
Replies: 13
Views: 450

Re: FBwin64-gcc-8.3 for deltarho[1859]

@srvaldez

Downloaded - thank you.

I was unable to find a 32-bit version of the gcc-toolchain,

PITA is it not? <smile>

7.4 may be equally tiresome.

Check out your 9.1 thread for breaking news.
by deltarho[1859]
Jun 15, 2019 1:29
Forum: Community Discussion
Topic: FBwin64-gcc-8.3 for deltarho[1859]
Replies: 13
Views: 450

Re: FBwin64-gcc-8.3 for deltarho[1859]

@srvaldez

I had a tidy up and ended up deleting the opening post's download but you have removed the link. Is that download still available? More to the point did you do 32/64 as you did with gcc 9.1.
by deltarho[1859]
Jun 12, 2019 14:12
Forum: Community Discussion
Topic: building fbc for Windows - for beginners by a beginner
Replies: 5
Views: 336

Re: building fbc for Windows - for beginners by a beginner

If ever a thread should be made a 'sticky' this one should be. A phenomenal amount of reading has been done to be able to write the two opening posts above and that should be recognized if nothing else. However, there is an easier way to get gcc 7.3.0 and that is to go /stw/builds/_custom/gcc730 whe...
by deltarho[1859]
Jun 08, 2019 16:12
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

Blimey, I did let it slip. <smile>

coderJeff wrote:So fbc itself gets a lot of building and testing with those 2 versions on my system.

That is a forceful argument for considering gcc 7.1.0 for the next release although 7.4.0 may be a better bet.
by deltarho[1859]
Jun 08, 2019 15:48
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

So, where does 'strip' come from, that is not mentioned in the Help file's 'Compiler Options.'? I normally check Index of /stw/builds regularly but I must have let it slip because '-strip' and '-nostrip' are mentioned in Help 2019.06.08 04:01:39, although I cannot tell when they were added. My bad....
by deltarho[1859]
Jun 06, 2019 23:10
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

srvaldez wrote:but it could be related to gcc's changes and compatibility issues with existing code

OK, but if you want to recompile some legacy code then use a legacy compiler. <grin>
by deltarho[1859]
Jun 06, 2019 22:59
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

srvaldez wrote:perhaps fbc --help

Interesting, the release fbc.exe does not mention the strip command but your fbc32.exe does, so that is why it is not mentioned in the Help file.
by deltarho[1859]
Jun 06, 2019 22:47
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 68
Views: 2226

Re: Creating (scientific) plots via gnuplot

@dodicat

Just for the fun of it I compiled and run using srvaldez's fbc 1.06/gcc 9.1 in 32-bit and 64-bit. I am getting no flicker but my machine may have a 'stronger' CPU, holding down the 'q' key only sees the CPU peak at about 5.8%.
by deltarho[1859]
Jun 06, 2019 22:26
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

you can of course see all the command options with: fbc -h Hmm, I get ' error 81: Invalid command-line option, "-h" '. With Encrypternet I'm getting a 6% reduction in binary size. That is not down to the strip command but simply shows that with this exe 9.1 is producing a smaller binary t...
by deltarho[1859]
Jun 06, 2019 21:51
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

<big smile> From my post above: FBC release (exe): 32-bit 38,400 bytes, 64-bit 41,984 bytes FB with gcc 9.1 (exe): 32-bit 309,629 bytes, 64-bit 351,381 bytes Using '-strip -gen gcc -Wc -O3' I now get FB with gcc 9.1 (exe): 32-bit 37,888 bytes, 64-bit 40,960 bytes So, quite a bit of an improvement. <...
by deltarho[1859]
Jun 06, 2019 20:14
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

On performance the 64-bit was almost identical, the 32-bit FBC release was much faster than 9.1. Without any optimization the speed collapsed but was still faster than gas,

The 9.1 binaries were huge for all O levels and even without optimization.
by deltarho[1859]
Jun 06, 2019 19:20
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 729

Re: FreeBASIC-1.06.0-Win gcc-9.1

Well done. I tried it on a small (242 lines with include file) test comparing Numerical Recipes and PCG32II, 32-bit and 64-bit compliled and ran OK using -gen gcc -Wc -O3. However FBC release (exe): 32-bit 38,400 bytes, 64-bit 41,984 bytes FB with gcc 9.1 (exe): 32-bit 309,629 bytes, 64-bit 351,381 ...

Go to advanced search