Portabl E r6 release finished

PortablE · 176

PortablE

  • Moderator
  • Newbie
  • *****
    • Posts: 25
    • Karma: +49/-0
    • The homepage of Chris Handley
on: November 10, 2022, 07:06:45 PM
I am happy to announce that the r6 release is finished (the "beta" tag has been removed), although it hasn't really been beta since the last couple of releases.

See the main manual for what has changed since r5.  The biggest changes since the last r6 beta release include:
* Added basic Linux support (64bit x86 only), to the same level as Windows, i.e. Shell-only, with no graphics or internet access.  This was a major effort, partly due to all the differences (64-bit pointers, case-sensitive filing system, mount-points anywhere, etc), and partly due to all the C headers that needed to be converted.
* Linux: PEGCC now supports cross-compilation (for Amiga & Windows) using the TargetOS parameter, as long as an appropriate GCC cross-compiler is installed.
 
* Programs will now compile using the latest SDK of AmigaOS4, AROS and MorphOS.
* All OS procedures that can support unlimited parameters now do so, including the Amiga's SystemTags().
* AmigaOS3: No-longer needs a modified "intuition/classusr.h" file.
* Added the 'std/pUnsigned' module, to provide basic support for unsigned number types, and the example program "Examples/std/Shell/crc32.e".  Useful for porting certain C algorithms.
* Added the procedures InStrNoCase(), BigMax(), BigMin(), BigFastMod(), IsBigEndian() & IsLittleEndian().
* In 'std/pTime', improved CurrentTime() to take a timezone parameter.
 
* Fixed FastNew() (and so NEW) which would trash memory, instead of raising the "MEM" exception, if it failed to allocate memory.  Thanks to Dimitris Panokostas for reporting symptoms of this long-standing bug, especially as I don't see out-of-memory errors on the OSes I normally use.
* Amiga: The installer would fail at "Copying executables..." if the user-specified path for executables did not contain any (sub) folders, such as "C:" (which sadly was the default).  Many thanks to "Zendarion" for the bug report.
* Windows: In 'std/pTime', CurrentTime() now returns the correct time when DST is in effect.

* I've renamed the language from "PortablE" to "Portabl E" with a space, in the hope of making it more easily searchable on the internet (as well as clarifying how to pronounce it).  But the "PortablE" command name itself is unchanged.

You can download it from here:
Aminet
     
Portabl E comes with documentation, but you can always find the latest version & on-line documentation from it's homepage:
cshandley.co.uk/portable

ChrisH
--
Author of the PortablE programming language.


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2448
    • Karma: +61/-1
  • AROS One
    • AROS One

PortablE

  • Moderator
  • Newbie
  • *****
    • Posts: 25
    • Karma: +49/-0
    • The homepage of Chris Handley
Reply #2 on: November 10, 2022, 10:53:42 PM
Thanks.  I see you used PortablE followed by C++.  Do you have G++ installed?  (GCC's C++ compiler.)

If so then you can just use the PEGCC command to compile E code directly to an executable.

ChrisH
--
Author of the PortablE programming language.


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2448
    • Karma: +61/-1
  • AROS One
    • AROS One
Reply #3 on: November 10, 2022, 11:28:56 PM
Yes on AROS One x86 is also installed GCC 6.5.0 (C++ and GCC compiler)

I am not a developer, thanks anyway for the suggestion !
« Last Edit: November 11, 2022, 08:15:37 AM by AMIGASYSTEM »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2083
    • Karma: +30/-4
  • Peace
Reply #4 on: November 11, 2022, 09:29:32 AM
thank you @portable :)


PortablE

  • Moderator
  • Newbie
  • *****
    • Posts: 25
    • Karma: +49/-0
    • The homepage of Chris Handley
Reply #5 on: November 14, 2022, 06:51:47 PM
I've released an update (r6a) which fixes a few bugs:
* AmigaOS4: Fixed the 'std/cGui' module failing to compile (MUIA_Dtpic_Name not declared), due to the SDK not using MUI4+ by default.
* Linux: Fixed 32-bit hex values > $7FFFFFFF not being interpreted as negative by the type checker.
* AROS: Fixed Install_AROS not offering to install the extra C header files (although they're not really needed).

ChrisH
--
Author of the PortablE programming language.


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2448
    • Karma: +61/-1
  • AROS One
    • AROS One
Reply #6 on: November 14, 2022, 07:05:35 PM
Thanks, updated AROS One and successfully tested the new version " r6a"