Page 14 of 42

Re: PureBasic 6.00 Alpha 4 released !

Posted: Sun Sep 12, 2021 7:21 pm
by Mr.L
Thank you for the new release! Up to now, every program of mine (even the larger projects) did compile and ran without any problems! :D

Re: PureBasic 6.00 Alpha 4 released !

Posted: Tue Sep 14, 2021 9:55 am
by the.weavster
Is it now possible to include a C header file in PB and call the C commands?
If so would somebody please outline where to place the C files and how to include them?

Thanks.

Re: PureBasic 6.00 Alpha 4 released !

Posted: Tue Sep 28, 2021 3:18 pm
by Fred
Alpha 5 is out and includes now DLL creation and the x86 (32-bit) version for Windows ! It also includes newer import libs for Windows on both x86 and x64 so if you needed to import newer Windows functions, it should now be recognized. The 32-bit linker has been as well updated and now support newer lib formats. Don't hesitate to test as usual, the C backend should be good enough for a wider trial.

Re: PureBasic 6.00 Alpha 5 released !

Posted: Tue Sep 28, 2021 5:11 pm
by thyphoon
Thanks fred 🥰

Re: PureBasic 6.00 Alpha 5 released !

Posted: Tue Sep 28, 2021 5:31 pm
by jack
is there a way to add compiler options for gcc ?
something like -O2 or -march=native

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 11:02 am
by Niffo
Thank you Fred, it's very impressive !
On my side, with PB6 64 Alpha 5 - C backend :
- One medium project (20000 lines, based on OpenGL) does compile but crashes at launch time.
- One big project (70000 lines) does not compile but has many less errors (only 5 this time) than with previous PB6 Alpha.

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 12:36 pm
by deeproot
My thanks and admiration for the team. As Niffo said - very impressive!

Unfortunately I've so far been unable to take part in Alpha testing due to other time pressures, but have been following progress with interest. However, finally gotten round to a quick test of Alpha 5 with my main project.

Nothing bad to report - everything appears to work :D This is using Alpha 5 x64 under Win7 Pro, haven't tried x86 yet. Project is about 35,000 lines made up of 10 files. It has a lot of SQLite database stuff, uses Stargåte's TabBarGadget and Freak's multi-language code, otherwise nothing special.

Observations:

Using C backend - a bit slower to compile, noticeable but not a problem. No errors or warnings. Saved executable is a bit smaller than from 5.73LTS (nice surprise!).

With ASM backend - initially got a "POLINK: fatal error: Access is denied" resulting from file msvcrt.dll. This was caused by an unhappy anti-virus (Bitdefender in this case) - fixed by excluding AppData\Local\Temp (I don't regard that as a PureBasic problem). Clean compile after that. Saved executable is very slightly larger than from 5.73LTS (no surprise, as expected).

Both executables were saved with slightly different security permissions compared to 5.73 (no "Everyone"), but that might be something to do with my system and no problem anyway.

Looking forward to the next steps :)

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 3:14 pm
by Klaus_1963
Bitdefender Virenschutz:

Die Datei C:\Program Files\PureBasic\SDK\PureUnit\PureUnitGui.exe ist mit Gen:Variant.Razy.909243 infiziert und wurde in die Quarantäne verschoben. Wir empfehlen die Durchführung eines System-Scans, um weitere Infektionen auszuschließen.

???

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 4:36 pm
by Fred
False positive.

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 4:40 pm
by Klaus_1963
Thanks for quick response :-)

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 5:45 pm
by ChrisR
It will probably have to be redone but I have sent it to https://www.bitdefender.fr/submit/

Code: Select all

Thank you for your file submission.

The file has been automatically sent to our laboratories for specialized analysis. If the file is indeed a False Positive, the detection will be removed in the next 72 hours and the modification will be implemented in the product through a Signature Update. Please keep your Bitdefender up-to-date.

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 7:20 pm
by akee
Just noting that Pelles C lib/link/rc are still version 10. :)

Re: PureBasic 6.00 Alpha 5 released !

Posted: Wed Sep 29, 2021 7:50 pm
by User_Russian
In "PureBasic 6.00 Alpha 5 x86" polink.exe version 8.0.2.0, but I checked and work perfectly version 10.0.0.0

Re: PureBasic 6.00 Alpha 5 released !

Posted: Thu Sep 30, 2021 10:57 am
by akee
User_Russian wrote: Wed Sep 29, 2021 7:50 pm In "PureBasic 6.00 Alpha 5 x86" polink.exe version 8.0.2.0, but I checked and work perfectly version 10.0.0.0
Did you try the tools with Pelles C version 11? :)

Re: PureBasic 6.00 Alpha 5 released !

Posted: Thu Sep 30, 2021 1:33 pm
by Fred
User_Russian wrote: Wed Sep 29, 2021 7:50 pm In "PureBasic 6.00 Alpha 5 x86" polink.exe version 8.0.2.0, but I checked and work perfectly version 10.0.0.0
Version 8 is the last 32-bit version of polink, all other are compiled in 64-bit, which means it won't work on a a 32-bit Windows.