fletcher / fletcher/ios-cmake

gcc not found (includes fix)

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
CMake
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

```
Hi,

i was getting an error when using the toolchain file that gcc was not found.

Can you please replace:

CMAKE_FORCE_C_COMPILER (gcc gcc)
CMAKE_FORCE_CXX_COMPILER (g++ g++)

with

CMAKE_FORCE_C_COMPILER (/usr/bin/gcc gcc)
CMAKE_FORCE_CXX_COMPILER (/usr/bin/g++ g++)

That fixed it for me.

Thanks in advance.

Cheers,

Ben
```

Original issue reported on code.google.com by `benjamin...@gmail.com` on 23 Jul 2015 at 9:45

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the toolchain file referenced in the issue and inspect its CMAKE_FORCE_C_COMPILER and CMAKE_FORCE_CXX_COMPILER entries. Compare the current compiler lookup with the proposed paths, then verify that the gcc-not-found case is addressed without breaking the toolchain configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.