The GNU toolchain build with GCC 14.2.0 for Symbian has been released

After long and hard work, GCC 14.2.0 has been released, fixing build errors and adding several improvements. It also includes Binutils 2.29.1 and GDB 10.2.

For Windows, it is available as executable files; for building on Linux systems, a bash script is provided.

Improvements:

  • support for C++11 and newer in the SDK;
  • the macro used for Symbian is defined by default: __SYMBIAN32__;
  • full support for common predefined macros in GCC;
  • operator delete ( void* ptr, std::size_t sz ) noexcept; is not exported.

To support modern C++ standards, two header files are located in the fixed_headers folder: gcce.h and e32cmn.h. The first is suitable for all SDKs based on Symbian 9, while the second is compatible only with a few SDKs and sources from Symbian 3. To install, use install_headers.py.

The macro __SYMBIAN32__ is intended to isolate code meant for Symbian. By default, it is set by the SDK build system or through compiler parameters if a different build system is used. It will now be somewhat easier for those using other build systems.

The common predefined macros are GNU C extensions ©GCC manual – a complete set of macros for fixed-size types has been provided.

Fixes:

  • GCC build error 'crtfastmath.o not found';
  • freestanding libstdc++ has been built;
  • GDB has been built.

Starting from version 5, GCC could only be built using make -k; without it, it started requiring crtfastmath.o, and the build would fail. This is despite the fact that this file is not compiled for SOFTFP (in this mode, the program doesn’t care whether the FPU is real or emulated!). With the specified key, everything was built except for freestanding libstdc++ and GDB.

Download here.

Source: linux.org.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster