Skip to content

Commit

Permalink
try gcc 10.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Nov 22, 2023
1 parent f21df38 commit 97c679f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Configuration.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SIZE := -size

# Library versions.
NEWLIB_VERSION ?= 4.2.0.20211231
LIBCPP_VERSION ?= 12.3.0
LIBCPP_VERSION ?= 10.5.0

# Set default region sizes for process memory requirements.
STACK_SIZE ?= 2048
Expand Down
2 changes: 1 addition & 1 deletion libc++/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apt install -y libmpc-dev file

# Clone the libtock-c source so we can use the build scripts
RUN git clone https://github.com/tock/libtock-c --depth 1 -b make-precompiled
RUN cd libtock-c && git fetch && git checkout 0fed22764837d9d4cfe44e59477f8e68f1a544c7
RUN cd libtock-c && git fetch && git checkout f21df388a5284dce3f1425e4120930f6d9e57396

# Actually build the toolchain
RUN cd libtock-c/libc++ && make
2 changes: 1 addition & 1 deletion libc++/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GCC_VERSION ?= 12.3.0
GCC_VERSION ?= 10.5.0
NEWLIB_VERSION ?= 4.2.0.20211231

all: rebuild-gcc
Expand Down
6 changes: 3 additions & 3 deletions libc++/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ To help ensure reproducibility, we also include a Dockerfile which can be used
to create the libc++ libraries.

```bash
LIBCPP=12.3.0
LIBCPP=10.5.0
cd libtock-c/libc++
docker build -t libtock-c-libcpp .
id=$(docker create libtock-c-libcpp)
docker build -t libtock-c-libcpp-$LIBCPP .
id=$(docker create libtock-c-libcpp-$LIBCPP)
docker cp $id:/libtock-c/libc++/libtock-libc++-$LIBCPP.zip libtock-libc++-$LIBCPP.zip
```

0 comments on commit 97c679f

Please sign in to comment.