WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Online Juanito

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

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #46 on: January 11, 2024, 06: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: 1036
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #47 on: January 11, 2024, 07: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.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14848
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #48 on: January 11, 2024, 08: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, 11:46:17 AM by Juanito »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #49 on: January 11, 2024, 10: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: 1036
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #50 on: January 11, 2024, 11: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: 181
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #51 on: January 14, 2024, 03:00:25 PM »
undefined symbol: acs_map on Python's 3.9 ncurses

Online Juanito

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

Offline CNK

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

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14848
Re: Tiny Core 15.0 Alpha 1 Testing
« Reply #54 on: January 17, 2024, 02:34:23 AM »
Good :)

Online Juanito

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

recompiled python3.9 posted