Skip to content

Commit

Permalink
Updating for release 14.2.0-1.
Browse files Browse the repository at this point in the history
  * common.sh: generally, update 14.1.0 to 14.2.0.
    (GCC_SRC): comment that $SRC_PATH/gcc-14-branch contains
      gcc-14-2-darwin-r1.
  * release_notes.md: update 14.1.0 to 14.2.0.
  • Loading branch information
simonjwright committed Sep 20, 2024
1 parent 3bf43e9 commit f07feaa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
9 changes: 5 additions & 4 deletions common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

set -eu

VERSION=${VERSION:=14.1.0}
VERSION=${VERSION:=14.2.0}
BUILD=$ARCH-apple-darwin21
BOOTSTRAP=${BOOTSTRAP:=enable} # or disable

Expand Down Expand Up @@ -57,18 +57,19 @@ SRC_PATH=$TOP/src
# GCC_SRC=$SRC_PATH/gcc-13-branch

# Building gcc-14 for aarch64; the actual branch in that clone is
# gcc-14-2-darwin-pre-0
# gcc-14-2-darwin-r1
GCC_SRC=$SRC_PATH/gcc-14-branch

# Building iains's WIP for aarch64
# This is 15.0.0.
# GCC_SRC=$SRC_PATH/gcc-darwin-arm64

# Building the latest FSF snapshot
# SNAPSHOT=20240407
# GCC_SRC=$SRC_PATH/gcc-14-$SNAPSHOT

# Building FSF 14.1.0
# GCC_SRC=$SRC_PATH/gcc-14.1.0
# Building FSF 14.2.0
# GCC_SRC=$SRC_PATH/gcc-14.2.0

# The default for an FSF releaase
GCC_SRC=${GCC_SRC:-$SRC_PATH/gcc-$VERSION}
Expand Down
12 changes: 6 additions & 6 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
This is GCC 14.1.0 built on macOS Sonoma (14, Darwin 23) but able to run on Monterey, for Apple silicon, with Command Line Utilities 15.3.0 and Python 3.9.13.
This is GCC 14.2.0 built on macOS Sonoma (14, Darwin 23) but able to run on Monterey, for Apple silicon, with Command Line Utilities 15.3.0 and Python 3.9.13.

Compilers included: Ada, C, C++.

Compiler sources are from https://github.com/iains/gcc-14-branch at tag `gcc-14.1-darwin-r1`.
Compiler sources are from https://github.com/iains/gcc-14-branch at tag `gcc-14.2-darwin-r1`.

Tools included (all at version 24.0.0, and all with the [Runtime Library Exception][RLE]):

Expand All @@ -24,7 +24,7 @@ Tools included (all at version 24.0.0, and all with the [Runtime Library Except

Configured with:
```
--prefix=/Volumes/Miscellaneous3/aarch64/gcc-14.1.0-1-aarch64
--prefix=/Volumes/Miscellaneous3/aarch64/gcc-14.2.0-1-aarch64
--enable-languages=c,c++,ada
--build=aarch64-apple-darwin21
--with-build-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
Expand Down Expand Up @@ -52,13 +52,13 @@ Download the binary `.pkg`. It's not signed, so **don't** double-click on it; in

### Setting PATH ###

`PATH` needs to be set to include `/opt/gcc-14.1.0-1-aarch64/bin` at the front:
`PATH` needs to be set to include `/opt/gcc-14.2.0-1-aarch64/bin` at the front:

#### `bash` ####

Insert
```
export PATH=/opt/gcc-14.1.0-1-aarch64/bin:$PATH
export PATH=/opt/gcc-14.2.0-1-aarch64/bin:$PATH
```
in your `~/.bash_profile_common`.

Expand All @@ -72,7 +72,7 @@ See [here][ZSH] for helpful information on moving to `zsh`.

## Notes ##

The software was built using the [building-gcc-macos-native][BUILDING] scripts at Github, tag `gcc-14.1.0-1-aarch64`.
The software was built using the [building-gcc-macos-native][BUILDING] scripts at Github, tag `gcc-14.2.0-1-aarch64`.

All compilations were done with `export MACOSX_DEPLOYMENT_TARGET=12` so that libraries and executables are compatible with macOS Monterey and later.

Expand Down

0 comments on commit f07feaa

Please sign in to comment.