FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
No Result
View All Result

Install GCC From Source Code

admin by admin
February 1, 2020
in Lập Trình Linux
11
Install GCC From Source Code



Install success on ubuntu 19.4 with GCC 9.2
——————————————————————-
Step 1: sudo apt update
Step 2: sudo apt upgrade
Step 3: sudo apt-get install build-essential
Step 4: download and extract GCC
Step 5: contrib/download_prerequisites
Step 6: ./configure -v –build=x86_64-linux-gnu –host=x86_64-linux-gnu –target=x86_64-linux-gnu –enable-checking=release –enable-languages=c,c++ –disable-multilib
Step 7: make -j 4
Or
make (if make -j 4 error)
Or
Let trying a few again (Step 1 to Step 7)
Waiting about 1 hour
Step 8: sudo make install
Gcc site :
References :

Nguồn:https://ftlinuxcourse.com/

Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Tags: Youtube
Previous Post

Cài đặt Ubuntu song song cùng Windows 10 chi tiết bằng usb

Next Post

Cách phân vùng ổ cứng để cài Ubuntu theo ý muốn

Next Post
Cách phân vùng ổ cứng để cài Ubuntu theo ý muốn

Cách phân vùng ổ cứng để cài Ubuntu theo ý muốn

Comments 11

  1. husin alhaj ahmade says:
    2 years ago

    You configured GCC at the same directory?! why? mostly, we hope to install alternative GCC in separate directory. You replace the default compiler by the one installed.

    Reply
  2. Saul Covarrubias says:
    2 years ago

    Thanks, big help with dealing with MATLAB and having to compile c/c++ code using mex.

    Reply
  3. Shalitha Lakruwan says:
    2 years ago

    grate job

    Reply
  4. PiggiesGoSqueal says:
    2 years ago

    Unfortunately, there was an error after Step 7. https://pastebin.com/XPLPhpi6

    Will try step 7 again.
    Edit: Tried it again, was much faster this time and ended in an error again.

    make[1]: * [stage1-bubble] Error 2
    make[1]: Leaving directory '/mnt/c/Users/Tom/Downloads/gcc/gcc-9.1.0'
    Makefile:1001: recipe for target 'all' failed
    make: * [all] Error 2

    Reply
  5. Supriyaroy Kataru says:
    2 years ago

    Sir but it shows an error…

    Reply
  6. Joseph Saber says:
    2 years ago

    thanks a lot it worked

    Reply
  7. Tuan Duy Le says:
    2 years ago

    thank you man <3 …

    Reply
  8. tushar meshram says:
    2 years ago

    thank you man

    Reply
  9. Mukul chaudhary says:
    2 years ago

    listen its showing an error by name of ERROR 2 and showing all failed………… so now what i do please tell

    Reply
  10. Kamal B says:
    2 years ago

    Really helpful.

    Reply
  11. Наталья Варлей says:
    2 years ago

    LOX

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

January 17, 2021
Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

June 1, 2021
Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

January 26, 2021
Địa chỉ bán đèn tuýp LED Philips uy tín và chất lượng trên thị trường?

Bán đèn tuýp led Philips – Skyled

July 27, 2020
Lựa chọn chủ đề in áo thun phù hợp

Lựa chọn dịch vụ in áo thun cotton cần lưu ý gì?

August 2, 2020
Cần xác định được điểm đặt pallet cao nhất để mua xe

Bí quyết chọn mua xe nâng điện đẩy tay

August 3, 2020

Về Chúng Tôi

Báo ftlinuxcourse.com 24h – Đón xem những tin tức mới nhất về tình hình chính trị, xã hội, an ninh trật tự, văn hóa – giải trí, thể thao, thông tin trong ngày.

  • Liên Hệ
  • Chính Sách Bảo Mật

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.