PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
Mr.L
Enthusiast
Enthusiast
Posts: 104
Joined: Sun Oct 09, 2011 7:39 am

Re: PureBasic 6.00 Alpha 4 released !

Post 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
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 6.00 Alpha 4 released !

Post 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.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Alpha 4 released !

Post 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.
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Dec 25, 2004 2:37 pm

Re: PureBasic 6.00 Alpha 5 released !

Post by thyphoon »

Thanks fred 🥰
jack
Addict
Addict
Posts: 1336
Joined: Fri Apr 25, 2003 11:10 pm

Re: PureBasic 6.00 Alpha 5 released !

Post by jack »

is there a way to add compiler options for gcc ?
something like -O2 or -march=native
Niffo
Enthusiast
Enthusiast
Posts: 500
Joined: Tue Jan 31, 2006 9:43 am
Location: France

Re: PureBasic 6.00 Alpha 5 released !

Post 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.
Niffo
deeproot
Enthusiast
Enthusiast
Posts: 269
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: PureBasic 6.00 Alpha 5 released !

Post 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 :)
Klaus_1963
User
User
Posts: 29
Joined: Wed Nov 25, 2009 9:37 am

Re: PureBasic 6.00 Alpha 5 released !

Post 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.

???
PureBasic 4.72 LTS - Windows / MacOS / Linux / strong coffee / stronger coffee / Coffee intravenously...
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Alpha 5 released !

Post by Fred »

False positive.
Klaus_1963
User
User
Posts: 29
Joined: Wed Nov 25, 2009 9:37 am

Re: PureBasic 6.00 Alpha 5 released !

Post by Klaus_1963 »

Thanks for quick response :-)
PureBasic 4.72 LTS - Windows / MacOS / Linux / strong coffee / stronger coffee / Coffee intravenously...
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic 6.00 Alpha 5 released !

Post 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.
akee
Enthusiast
Enthusiast
Posts: 475
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: PureBasic 6.00 Alpha 5 released !

Post by akee »

Just noting that Pelles C lib/link/rc are still version 10. :)
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 6.00 Alpha 5 released !

Post 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
akee
Enthusiast
Enthusiast
Posts: 475
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: PureBasic 6.00 Alpha 5 released !

Post 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? :)
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Alpha 5 released !

Post 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.
Post Reply