Comments (5)
This does not seem to be a problem of Fedora but rather something you did judging by the provided information.
On a fresh F38 image I am able to install gcc-c++
as described and then compile and run the following program like so:
$ sudo dnf install -y gcc-c++
$ cat hello.c
#include <iostream>
int main() {
std::cout << "Hello" << std::endl;
return 0;
}
$ g++ -std=c++14 ./hello.c
$ echo $?
0
$ ./a.out
Hello
I am noticing that the package that provides the gnu/stubs-64.h
header is actually available after I install the gcc-c++ as described in the guide. From my POV the instructions are still right at least for a minimal environment.
I am curious how did your install of the compiler miss out on the glibc-devel
package.
What version of Fedora Linux are you using? Perhaps it is not reproducible on rawhide but rather the lower Fedora versions.
I agree with you that probably adding the "magical" sudo dnf group install "C Development Tools and Libraries"
could be appropriate for the C and C++ sections.
from content.
from content.
This is surely unrelated, but indicates that the compiler/library deps are
not done right.
That is matter of opinion IMHO. The x86_64 and i686 (64bit and 32bit respectively) are 2 "different" sets of architectures in Fedora and I'd say 32bit is rarely needed these days for most use cases, so the default install is x86_64. For 32bit packages you can always append .i686
to receive the correct deps. In our example here you can run: $ sudo dnf install gcc-c++.i686
and you'll receive the 32bit capable compiler. In any case, glibc-devel should've been installed, and is pulled in as a dependency of gcc-c++ in a fresh F37 container.
from content.
from content.
Thanks for collaborating. We cannot solve it from the side of Fedora Developer Portal.
Consider asking the community here: https://ask.fedoraproject.org/ , people there might know much better what is going on or maybe see about better way of providing the dependencies for automated testing.
from content.
Related Issues (20)
- Powerful, optionally typed and dynamic language with static compilation capabilities on JVM.: groovy groovy-installation.md HOT 1
- Groovy page needs update or removal. HOT 1
- FastAPI content enhancement
- tech-database: mongodb about.md HOT 4
- .Net IDEs : dotnet-ide.md
- tools: eclipse about.md HOT 2
- Do you need help revamping your github page? HOT 1
- Java: replace java-devel with java-openjdk-devel HOT 3
- start-hw: arduino about.md HOT 1
- RFE dotnet / dotnet-ide.md -- vscode rpm install HOT 1
- deployment: openshift about.md HOT 1
- : python django-installation.md HOT 1
- tech-database: mongodb about.md HOT 1
- : c gtk.md HOT 1
- tech-languages: rust rust-installation.md HOT 3
- Refresh tech-languages: ruby ruby-installation.md HOT 1
- tech-database: sqlite about.md
- start-sw: web-app about.md
- rpmbuild may not download the source code if disable_source_fetch is defined. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from content.