T
T
Tesla4o2019-01-24 11:12:04
linux
Tesla4o, 2019-01-24 11:12:04

How to build on linux a program written in C++ without Gcc/g++?

There is a server Centos 7 installed from scratch. gcc / g ++ is clear that there is still no default. You need to build the program on it using the ./configure && make && make install method. Are there any standard collectors for Centos or linux in general.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CityCat4, 2019-01-24
@CityCat4

gcc :)
does yum install gcc get in the way of doing some higher considerations?

S
stratosmi, 2019-01-24
@stratosmi

Are there any standard collectors for Centos or linux in general.

Well, for example, FreeBSD comes with clang.
However, I don't remember this on Linux. Look, if there is neither gcc nor clang, then you still have to install it.

R
res2001, 2019-01-24
@res2001

If it is necessary for the distribution of the program, then make your own repository where you put pre-built packages for supported platforms. You add the repository to the settings of the OS package manager and install it using regular means already from the repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question