Skip to content

Instantly share code, notes, and snippets.

View sunnymopada's full-sized avatar

Sanyasirao Mopada sunnymopada

View GitHub Profile
@sunnymopada
sunnymopada / build-gcc-9.2.0-on-centos7.md
Created October 1, 2022 13:34 — forked from nchaigne/build-gcc-9.2.0-on-centos7.md
Building GCC 9.2.0 on CentOS 7

Building GCC 9.2.0 on CentOS 7

Introduction

CentOS 7 distribution (as well as RHEL 7) ships with a somewhat outdated version of the GCC compiler (4.8.5 on CentOS 7.5), which may not be suitable to your compilation requirements. For example, C11 - which supersedes C99 - is fully supported only starting from GCC 4.9).

Additionally, recent versions of GCC (GCC6, GCC7, GCC8, GCC9) come with improvements which help detect issues at build time and offer suggestions on how to fix them. Sometimes, these are even actually helpful!

This note describes how to build the latest GCC (9.2.0 as of October 2019) from sources on CentOS 7. This should be applicable as is on RHEL 7. For other Linux distributions, adapt as needed.

String toEmail = "";
String subject = "Autofill subject";
String description = "Autofill body";
String emailChooserHeading = "Email via...";
Intent intent = new Intent(Intent.ACTION_SENDTO);
intent.setData(Uri.parse("mailto:"));
intent.putExtra(Intent.EXTRA_EMAIL , new String[] { toEmail });
intent.putExtra(Intent.EXTRA_SUBJECT, subject);
intent.putExtra(Intent.EXTRA_TEXT, description);

pod repo add REPO_NAME SOURCE_URL

pod spec lint iBChatiOS.podspec --verbose --allow-warnings

pod repo push iBChatiOS iBChatiOS.podspec --verbose --allow-warnings

s.source = { :git => 'file:///Users/sunny/Desktop/iOS/ibchat-ios'}

lass AuthStore {
refreshAuthTokensPromise:Type
authService:Type
constructor(authService) {
this.authService = authService
this.initAuthStore()
}
@action.bound