C

Perl in RHEL 8
Article

Using eXpress Data Path (XDP) maps in RHEL 8: Part 2

Paolo Abeni

This article, the second is a series about eXpress Data Path (XDP), explores maps--a more-advanced eBPF feature--and some common pitfalls and basic debugging techniques.

Article Thumbnail
Article

Creating custom stacks in Eclipse Che

Doug Tidwell

Eclipse Che stacks contain compilers, runtimes, and tools. But what if you need more? This article shows you how to create your own stack.

Perl in RHEL 8
Article

Achieving high-performance, low-latency networking with XDP: Part I

Paolo Abeni

This article guides you through your first XDP program, building a working example from zero and allowing you to build a light-speed network application from there. With an XDP program, you can achieve unprecedented speed in packet filtering, because a modern driver with XDP support can easily handle more than 14 Mpps.

Perl in RHEL 8
Article

Network debugging with eBPF (RHEL 8)

Matteo Croce

See how eBPF, extended Berkeley Packet Filter, can be a very powerful tool to troubleshoot complex network issues. Available now in RHEL 8 Beta.

RHEL
Article

Support Lifecycle for Clang/LLVM, Go, and Rust

Bob Davis

Red Hat has recently released Clang/LLVM, Go, and Rust as General Availability. This article covers the support lifecycle and release cadence for these compilers.

Red Hat Developer Toolset
Product

Red Hat Developer Toolset

Latest stable versions of GCC (C, C++, Fortran), Eclipse, GDB, SystemTap, and essential development and performance analysis tools.

GNU C library
Article

GCC 8 and tools now in beta for Red Hat Enterprise Linux 6 and 7

Mike Guerette

We are pleased to announce the immediate availability of Red Hat Developer Toolset 8 beta for Red Hat Enterprise Linux 6 and 7. The key new components for this release are: GCC 8.2.1 GDB 8.2 Updated components such as SystemTap, Valgrind, OProfile, and many more To get started, see: How to install GCC 8 on Red Hat Enterprise Linux . For more details, see the "New Features" section below. About Red Hat Developer Toolset Twice a year, Red Hat distributes...

Red Hat Developer
Article

How to install Clang/LLVM 5 and GCC 7 on RHEL

Rob Terzi

Clang tools and newer versions of GCC can be quite helpful for better warnings and error messages during C/C++ development. This article shows how you can easily install the latest supported Clang 5 and GCC 7 compilers using yum on Red Hat Enterprise Linux. It also provides tips for working with software collections.

GNU C library
Article

Detecting String Truncation with GCC 8

Martin Sebor

To detect common programming errors, GCC 8 contains a number of new warnings and enhancements to existing checkers to help find non-obvious bugs in C and C++ code. This article focuses on those that deal with inadvertent string truncation and discusses some of the approaches to avoiding the underlying problems.

Page Thumbnail
Page

Red Hat Developer Homepage

Join Red Hat Developer for teh software and tutorials to develop cloud applications using Kubernetes, microservices, serverless and Linux.

GNU C library
Article

GNU Toolchain Update - Spring 2018

Nick Clifton

This blog is part of a series covering the latest changes and improvements in the Spring 2018 GNU Toolchain Update and components that make up this Toolchain. Apart from the announcement of new releases, however, the features described here are at the bleeding edge of software development in the tools.

GNU C library
Article

Recommended compiler and linker flags for GCC

Florian Weimer

This article walks through a list of recommended build flags for when you compile your C or C++ programs with GCC. Do you know which build flags you need to specify in order to obtain the same level of security hardening that GNU/Linux distributions such as Fedora and Red Hat Enterprise Linux use?

GNU C library
Article

Usability improvements in GCC 8

David Malcolm

This article summarizes work that was done to make GCC 8 more usable by providing easier to understand warning and error messages. Many of these improvements will help you quickly recognize those common silly mistakes.

Article Thumbnail
Article

The GDB Python API

Phil Muldoon

GDB has evolved in the last several years to provide a Python API. This series of articles will look at how a user can program GDB with the API and will also take an in-depth look at several features of that API. But, before we begin, a small history lesson is needed and a look at just why an API was needed. Why an API? The humble debugger. We've all used one at some point in our careers, sometimes with...

Video Thumbnail
Video

DevNation 2015 - Matt Newsome - Red Hat Enterprise Linux C++ Toolchains

As a C/C++ developer you want to be able to easily access and use supported versions of the latest and greatest tools, and you want to be able to get the most from those tools. In this session, we’ll look at the new features made available through the GCC compiler and friends in Red Hat Enterprise Linux 7 and Red Hat Developer Toolset (which puts the same tools in the hands of RHEL6 Developers). We'll look at new language standard support, optimizations, and other toolchain features in terms of both what they offer, and practical how-to guidance so that your development teams can get real world value from them. You’ll learn: - How Red Hat Developer Toolset offers newer releases of the GNU Compiler Collection (GCC) for development on RHEL6 or RHEL7, optionally using the Eclipse Integrated Development Environment. - About the base GCC toolchain provided as part of RHEL7, its language standard support, key optimizations and other major new features- Practical guidance on how to use these features in real world application development to get high value for your customers - How your applications can be run and their performance analyzed on multiple releases without modification, carrying special libraries or changing the operating system runtime. - Where you can find more information on all these topics This solution-focused session will appeal to all C and C++ software developers and their managers. Content will include both high-level overviews and some deeper dives into feature specifics, and will include hands-on demonstrations of features in real world use. There will also be opportunities to ask questions about your specific concerns, with experts both in the room and available after the event.

Eclipse Vert.X book cover
Cheat Sheet

Eclipse Vert.x Cheat Sheet

Clement Escoffier

Eclipse Vert.x applications are fast, responsive, resilient and elastic. Here are step-by-step details to create them.

Red Hat Wimplicit
Article

-Wimplicit-fallthrough in GCC 7

Marek Polacek

(See this article to install GCC 7 on Red Hat Enterprise Linux.) In C and C++, the cases of a switch statement are in fact labels, and the switch is essentially a go to that jumps to the desired label. Since labels do not change the flow of control, one case block falls through to the following case block, unless terminated by a return , a break , a no return call or similar. In the example below, " case...