• Forum
  • UNIX/Linux Programming

UNIX/Linux Programming

by admin
Welcome to this board!
 
Welcome to the forum for UNIX and Linux programmers in C++.com! In this forum, users can to talk ab...
[no replies]
Calling assembly code from C++
 
So I've been trying to figure out how I'd write a little function in assembly and then call it from ...
[5 replies] Last: True.. having the mistake hold me hostage until 6am in the morning is ... (by highwayman)
GLIBCXX_3.4.32 not found - Debian 12
 
Hello! I have installed Debian 12. GCC(c++/g++) upgraded to 13.3.0 from source. But I still having e...
[7 replies] Last: For comparison: RHEL 9 / AlmaLinux 9 does default to GCC 11, just like... (by keskiverto)
build systems and code editors\IDE's you use or suggest on Linux?
 
For the last 2 years I'm using VSCode, since my switch to Linux I continue to use it. But there a...
[8 replies] Last: Spack https://spack.io/ -- "scientific package manager" -- is not an a... (by keskiverto)
About standard strings in Linux?
 
I'm new to Linux dev, so far I've been mostly writing Win32 applications where `char` is `ANSI` and ...
[8 replies] Last: @kigar64551 I'm very grateful for your sample code and mention of icon... (by malibor)
by colt
Not declared Xvlib function during building
 
Hi. While building a certain software, I am confronted with this error message: x11.cpp: In func...
[10 replies] Last: True. I have lived a simple life, not asking "Do we have X? If yes, th... (by keskiverto)
by colt
Relocation error against undefined symbol
 
Hi, When building a certain software, I receive this error message during the link stage: /usr/b...
[5 replies] Last: I think when "compiling" assembly (ASM) code, you cannot and don't nee... (by kigar64551)
by dkaip
Static Linux version of my program
 
A day before i send my Linux version of my program and it don't runs. If i want to send in many peo...
[3 replies] Last: The Flatpak and Snap are some sort of containers, aren't they? Yes. ... (by kigar64551)
Imho this is good, useful or suitable
 
I found that, imho this little Bash script is good, useful or suitable to compiling and building sof...
[2 replies] Last: Yet another set of synonyms to remember. (by kbw)
How to install clang 16.0 in ubuntu
 
Hi, I downloaded clang+llvm-16.0.0-x86_64-linux-gnu-ubuntu and extract all but how do I make clan...
[1 reply] : If you just type the program name (e.g. "clang") without a full or r... (by kigar64551)
Does g++ support C++ 20 modules?
 
Hi, I have tried the following command line: Q:\c++\g++> g++ -std=c++20 -fmodules-ts -o m...
[no replies]
by colt
Zsnes's zlib detection code problem.
 
Hi. I recently tried to build zsnes, however its zlib detection code seems to be seriously broken, a...
[4 replies] Last: Ok, I did the modifications suggested and the results were not very ex... (by colt)
Packaging your project
 
I'm using Makefile (Make) to package my SDL2 project. I'm also using SDL_GetPrefPath to locate and s...
[9 replies] Last: The method you're using to install the files is not the most efficient... (by maxim2511)
Detached thread error in helgrind
 
Hello everyone! I am implementing a detached thread using pthreads. After I run the code under he...
[7 replies] Last: If line 34 executes before line 12, then finished will never be set. ... (by kigar64551)
by t im
Can select use ET mode?
 
Several blogs tell me that only LT mode can be used in select while both LT and ET mode can be used ...
[2 replies] Last: Sorry for no references and thanks for your helpful reply. (by t im)
How to merge two partitions by using gdisk
 
How to merge two partitions, one is system, the lower offset, and the other destroyable content, the...
[3 replies] Last: Lets try analogous C++ case: char disk ; // The disk is an array of "... (by keskiverto)
How to Change ncurses window(pad) size?
 
Is there a way to change the maximum size of a window in ncurses ?
[3 replies] Last: Sorry been a little busy recently, but basically I meant a virtual win... (by highwayman)
Virtual memory assigned to my program
 
Hi everyone! I´ve got an application which periodically request for some GB of memory, and after...
[7 replies] Last: The application has been working for several days and the physical mem... (by Alejandro Antonio)
by t im
About pthread_detach()
 
I'm new to pthread and confused about the code below: #include <pthread.h> #include <iostream> #in...
[5 replies] Last: Thanks for all your answer. Get it. (by t im)
by helios
Detached threads
 
If main() returns while some threads are still running, what happens? Does the process simply end, k...
[9 replies] Last: The example on the cppref site is interesting. Thanks ++ (by Geckoo)
  Archived months: [oct2024]