Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Should the installation instructions teach how to use gcc 10 on Ubuntu? #4571

Closed
hugomg opened this issue Mar 18, 2022 · 2 comments

Comments

@hugomg
Copy link
Contributor

hugomg commented Mar 18, 2022

Question

On Ubuntu 20.04 (current LTS), the default GCC version is not recent enough. To compile Kakoune I had to use

CXX=g++-10 make

instead of just

make

I wonder if we should update the README accordingly.

@sidkshatriya
Copy link
Contributor

Given that ubuntu is quite popular, adding a short note to the README might be useful. Try submitting a PR and see if it is accepted?

If you make the instructions a bit more generic the PR has a higher likelihood of being merged.

hugomg added a commit to hugomg/kakoune that referenced this issue Mar 20, 2022
Added information on how to install from the repositories. Improved the instructions for how to build from source, for those that don't want an ancient version of Kakoune. On Ubuntu 20.04 and earlier, GCC 10 is not the default so we have to explicitly tell `make` to use GCC 10.

See also: mawww#4571
hugomg added a commit to hugomg/kakoune that referenced this issue Mar 20, 2022
Added information on how to install from the repositories. Improved the instructions for how to build from source, for those that don't want an ancient version of Kakoune. On Ubuntu 20.04 and earlier, GCC 10 is not the default so we have to explicitly tell `make` to use GCC 10.

See also: mawww#4571
hugomg added a commit to hugomg/kakoune that referenced this issue Mar 20, 2022
Added information on how to install from the repositories. Improved the instructions for how to build from source, for those that don't want an ancient version of Kakoune. On Ubuntu 20.04 and earlier, GCC 10 is not the default so we have to explicitly tell `make` to use GCC 10.

See also: mawww#4571
@mawww
Copy link
Owner

mawww commented Mar 22, 2022

I think this is fixed now

@mawww mawww closed this as completed Mar 22, 2022
TeddyDD pushed a commit to TeddyDD/kakoune that referenced this issue Aug 19, 2022
Added information on how to install from the repositories. Improved the instructions for how to build from source, for those that don't want an ancient version of Kakoune. On Ubuntu 20.04 and earlier, GCC 10 is not the default so we have to explicitly tell `make` to use GCC 10.

See also: mawww#4571
Gskartwii pushed a commit to Gskartwii/kakoune that referenced this issue Nov 11, 2022
Added information on how to install from the repositories. Improved the instructions for how to build from source, for those that don't want an ancient version of Kakoune. On Ubuntu 20.04 and earlier, GCC 10 is not the default so we have to explicitly tell `make` to use GCC 10.

See also: mawww#4571
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants