WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core 15.0 Alpha 1 Testing  (Read 10356 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #45 on: January 11, 2024, 02:54:03 AM »
..and urxvt-9.31 builds against libptytty and runs without errors

Offline andyj

  • Hero Member
  • *****
  • Posts: 1023
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #46 on: January 11, 2024, 03:04:07 AM »
The question is what is different between TC 14 and TC 15 that libptytty compiles fine out of the box on TC 14 and not on TC 15? What is different about libstdc++?

Offline andyj

  • Hero Member
  • *****
  • Posts: 1023
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #47 on: January 11, 2024, 04:10:22 AM »
It seems to be enough to do this before building libptytty:

Code: [Select]
export LDFLAGS="-lstdc++"
Which solves my immediate problem of getting the scripts to work in TC 15, but doesn't answer why it's now needed.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #48 on: January 11, 2024, 05:30:06 AM »
I guess you could see if the gcc-13.2.0 release notes throw up any libstdc++ changes since 12.2.0...
« Last Edit: January 11, 2024, 08:46:17 AM by Juanito »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10992
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #49 on: January 11, 2024, 07:44:06 AM »
Compiling c++ code with gcc is not intended to work, and so having a gcc version break it would not be a bug. That program should use g++ to build since it's c++ code.
The only barriers that can stop you are the ones you create yourself.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1023
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #50 on: January 11, 2024, 08:48:30 AM »
Is it this?

GCC:

For C++, construction of the global iostream objects std::cout, std::cin, etc. is now done inside the standard library, instead of in every source file that includes the <iostream> header. This change improves the start-up performance of C++ programs, but it means that code compiled with GCC 13.1 will crash if the correct version of libstdc++.so is not used at runtime. See the documentation about using the right libstdc++.so at runtime. Future GCC releases will mitigate the problem so that the program cannot be run at all with an older libstdc++.so.

Or this?

lisbstdc++:

Support for many previously unavailable features in freestanding mode, thanks to Arsen Arsenović. For example, std::tuple is now available for freestanding compilation. The freestanding subset contains all the components made freestanding by P1642, but libstdc++ adds more components to the freestanding subset, such as std::array and std::string_view. Additionally, libstdc++ now respects the -ffreestanding compiler option and so it is not necessary to build a separate freestanding installation of libstdc++. Compiling with -ffreestanding will restrict the available features to the freestanding subset, even if libstdc++ was built as a full, hosted implementation.


Offline CardealRusso

  • Full Member
  • ***
  • Posts: 169
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #51 on: January 14, 2024, 12:00:25 PM »
undefined symbol: acs_map on Python's 3.9 ncurses

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #52 on: January 15, 2024, 02:40:34 AM »
I’m traveling for the next week, I’ll fix things as soon as I’m back.

Offline CNK

  • Full Member
  • ***
  • Posts: 249
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #53 on: January 16, 2024, 01:23:50 PM »
It boots on my 486DX4 laptop, so the minimum CPU architecture settings are right first time with this release.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #54 on: January 16, 2024, 11:34:23 PM »
Good :)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14634
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #55 on: January 27, 2024, 05:03:39 AM »
undefined symbol: acs_map on Python's 3.9 ncurses

recompiled python3.9 posted