Questions tagged [devtoolset]

Developer Toolset Software Collection for Red Hat Enterprise Linux and its derivates.

Developer Toolsets provides updated versions of the GNU Compiler Collection, GNU Debugger and other development tools for use on CentOS or Red Hat Enterprise Linux. They are released using optional Software Collections.

68 questions
1
vote
1 answer

Updating GLIBCXX with devtoolset-10

We use devtoolset-10 in CentOS 7 ("Actual" default version of gcc in OS is 4.8.5, but in devtoolset we use 10.2.1 version, which is real actual version for project). Command gcc --version returns 10.2.1, but after unsuccessful compilation of target…
Double_Mind
  • 59
  • 1
  • 9
1
vote
1 answer

I created a new project in VS 2019 and it doesn't compile because VS fails to find Toolset v142

The 'template' for the new project is MFC Dynamic Link Library. The problem seems to boil down to Visual Studio looking for the folder "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v142" - which doesn't…
asc
  • 13
  • 2
1
vote
1 answer

what are the drawbacks of changing the MSBuild Toolset (ToolsVersion) in our .net projects?

I know what and how MSBuild Toolset (ToolsVersion) works but don´t understand what would affect to our projects if changing/using a lower or highier ToolVersion from the project file or CLI. Need to know the pro and cons Please...
Dante
  • 59
  • 1
  • 5
1
vote
1 answer

Run a program built with gcc8 on a producing environment without gcc8

My developing/producing environments are all CentOS-7.7. In order to compile my program with gcc-8.3.0, I have installed "devtoolset-8" on my developing env, but it can not be used in the way same as gcc-4.8.5 that was shipped with CentOS7…
Leon
  • 1,489
  • 1
  • 12
  • 31
1
vote
1 answer

How do I build 32-bit binaries with Red Hat Developer Toolset?

I can't find any documentation whatsoever on how to target 32-bit with Red Hat Developer Toolset (version 9.0 in this case running on CentOS 7). The release notes mention: Generation and manipulation of 32-bit binaries is also supported It also…
Nikos C.
  • 50,738
  • 9
  • 71
  • 96
1
vote
0 answers

g++ says at_quick_exit has not been declared in cstdlib

I wanted to compile C++11 code on CentOS 6, so I followed the instructions to install the devtoolset. Here I'm using devtoolset-6, which has the gcc version of 7.3.1. I'm trying to build a simple c++ code: #include int main() { return…
1
vote
0 answers

Unable to build C++ binary with -fvtable-verify

I am trying to enable vtable verification in my project. When I try to use the flag (-fvtable-verify=std) I get an error g++: error: -fvtable-verify=std is not supported in this configuration. Can you help me figure out what is going…
user1918858
  • 1,202
  • 1
  • 20
  • 29
1
vote
3 answers

Undefined Boost reference

I'm trying to link against a 3rd party library that uses Boost. I've linked against the correct boost library (libboost_program_options.a), but still not finding it. The error msg (formatted a bit for clarity): undefined reference to…
CoAstroGeek
  • 277
  • 1
  • 13
1
vote
0 answers

Linking error in gfortran with devtoolset-6

I have system with CentOS 6.4 and it comes with GNU Fortran (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18). I am doing quadrupule precision calculation and for that I installed devtoolset-6 w/o a problem. Since the system has a default gcc/gfortran…
1
vote
0 answers

Is any way to offline install Devtoolset-3 on CentOS 6.8?

The steps to install Devtoolset-3 at CentOS by yum are here. sudo yum install centos-release-scl sudo yum install devtoolset-3 scl enable devtoolset-3 bash But I do not have the network access ability at my CentOS 6.8 server. (I can access network…
ybdesire
  • 1,593
  • 1
  • 20
  • 35
1
vote
2 answers

Template deduction with leading pack expansion fails on GCC 4.8.2 x86 (devtoolset-2) only

Here's an MCVE from some template metahackery in my C++11 project: #include struct Foo {}; template void expect(std::function&&... onSuccess) { expect( …
Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
1
vote
1 answer

How does g++/gcc determine which library to link having more than 1 version to choose from?

I have installed devtoolset-3 on RHEL6 machine and I am confused by how gcc/g++ determines which library to link with a binary. Standard setup on RHEL6: $ g++ -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure…
Patryk
  • 22,602
  • 44
  • 128
  • 244
0
votes
0 answers

Date condition display is not working in Elementor

I have an animated text that needs to be displayed based on date condition. I have a custom field name **Grant final closing date ** in toolset that will be compared with today date. Text will be displayed when** Grant final closing date is < Today…
deva
  • 11
0
votes
1 answer

ar: file format not recognized when using 'ar' in devtoolset-11, but works with system default 'ar'

When attempting to generate a large static library in a Fortran/C makefile-based project with devtoolset-11, the 'ar' step fails with: ar: first/object/in/alphabetical/order.o: file format not recognized I'm using a devtoolset-11 installation…
0
votes
0 answers

Is redhat devtoolset now not available unless you have organization subscription. As of July 2022

I was not able to update or install devtoolset on rhel home workstation. Came across below article which says devtoolset is not available for individual developer (free) subscription. https://access.redhat.com/solutions/472793 NOTE: As of July 2022,…
Ayub
  • 311
  • 4
  • 8