Skip to content

Commit 6e8ec7d

Browse files
committed
Use i686-linux-gnu-gcc
1 parent ca1470a commit 6e8ec7d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ test/resources/FMU_Interaction1/** linguist-generated=true export-ignore -diff
88

99
# Also match the directory itself (some tools may reference the directory path)
1010
test/resources/FMU_Interaction1/ linguist-generated=true export-ignore -diff
11+
12+
# Exclude from GitHub language stats
13+
test/resources/* linguist-vendored

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ platforms and create multi-platform FMUs.
1010

1111
| Toolchain file | OS | C | Note |
1212
|--------------------------------------------|-----------------------|-------------------------|------------|
13-
| [i686-linux-gnu][i686-linux-gnu] | x86-64 Linux 32-bit | gcc -m32 | |
13+
| [i686-linux-gnu][i686-linux-gnu] | x86-64 Linux 32-bit | i686-linux-gnu-gcc | |
1414
| [x86_64-linux-gnu][x86_64-linux-gnu] | x86-64 Linux 64-bit | gcc -m64 | |
1515
| [aarch64-linux-gnu][aarch64-linux-gnu] | AArch64 Linux 64-bit | aarch64-linux-gnu-gcc | |
1616
| [arm-linux-gnueabi][arm-linux-gnueabi] | ARM Linux 32-bit | arm-linux-gnueabi-gcc | |

toolchain/i686-linux-gnu.cmake

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ set(CMAKE_SYSTEM_NAME Linux)
33
set(CMAKE_SYSTEM_PROCESSOR x86)
44

55
# Compiler
6-
set(CMAKE_C_COMPILER gcc)
7-
set(CMAKE_C_FLAGS "-m32" CACHE STRING "" FORCE)
8-
set(CMAKE_CXX_COMPILER g++)
9-
set(CMAKE_CXX_FLAGS "-m32" CACHE STRING "" FORCE)
10-
set(CMAKE_EXE_LINKER_FLAGS "-m32" CACHE STRING "" FORCE)
6+
set(CMAKE_C_COMPILER i686-linux-gnu-gcc)
7+
set(CMAKE_CXX_COMPILER i686-linux-gnu-g++)
118

129
# Where to find target environment
1310
set(CMAKE_FIND_ROOT_PATH /usr /usr/lib/i386-linux-gnu)

0 commit comments

Comments
 (0)