0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 17:52:57 +00:00

🔨 Suggest gcc14 for macOS Sim

This commit is contained in:
Scott Lahteine 2024-07-24 02:25:25 -05:00
parent 7844f3fa4f
commit 4f107e9fee
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ class CircularQueue {
* of item this queue will handle and N defines the maximum number of
* items that can be stored on the queue.
*/
CircularQueue<T, N>() {
CircularQueue() {
buffer.size = N;
buffer.count = buffer.head = buffer.tail = 0;
}

View file

@ -83,11 +83,11 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
#
# MacPorts:
# sudo port install gcc12 glm libsdl2 libsdl2_net
# sudo port install gcc14 glm libsdl2 libsdl2_net
#
# cd /opt/local/bin
# sudo rm gcc g++ cc ld
# sudo ln -s gcc-mp-12 gcc ; sudo ln -s g++-mp-12 g++ ; sudo ln -s g++ cc
# sudo ln -s gcc-mp-14 gcc ; sudo ln -s g++-mp-14 g++ ; sudo ln -s g++ cc
# sudo ln -s ld-classic ld
# cd -
# rehash
@ -100,11 +100,11 @@ build_flags = ${simulator_linux.build_flags} ${simulator_linux.release_flags}
# Homebrew:
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#
# brew install gcc@12 glm sdl2 sdl2_net
# brew install gcc@14 glm sdl2 sdl2_net
#
# cd /opt/homebrew/bin
# sudo rm -f gcc g++ cc
# sudo ln -s gcc-12 gcc ; sudo ln -s g++-12 g++ ; sudo ln -s g++ cc
# sudo ln -s gcc-14 gcc ; sudo ln -s g++-14 g++ ; sudo ln -s g++ cc
# cd -
#
# Use 'brew install mesa' to get a <GL/gl.h> if no Xcode is installed.