Puas clang siv glibc?

Cov txheej txheem:

Puas clang siv glibc?
Puas clang siv glibc?
Anonim

Ntawm Windows qhov kev npaj ua ntej yuav tsum muaj Microsoft's Visual C cov tsev qiv ntawv los nruab. Nws zoo nkaus li tias nws tseem tuaj yeem siv Clang ntawm Windows nrog MinGW cov tsev qiv ntawv txawm tias. Tsis yog: lub neej ntawd tsim nyog - system libc, uas feem ntau yog GLIBC (tab sis tsis ib txwm) ntawm Linux, thiab Apple libc ntawm MacOS, yog muab.

Puas clang siv Libstdc ++?

Yog, GCC ib txwm siv libstdc ++ tshwj tsis yog tias koj qhia nws kom siv tsis muaj lub tsev qiv ntawv tus qauv nrog rau qhov kev xaiv -nostdlib (qhov twg koj yuav tsum tsis txhob siv lub tsev qiv ntawv txheem nta, los yog siv -I thiab -L thiab -l chij los taw tes rau lwm txheej ntawm header thiab cov tsev qiv ntawv cov ntaub ntawv). Kuv siv gcc4.

clang toolchain yog dab tsi?

Kev sib xyaw ntawm Clang thiab LLVM muab feem ntau ntawm cov cuab yeej siv los hloov GCC pawg. Ib qho ntawm Clang lub hom phiaj tseem ceeb yog muab cov tsev qiv ntawv-raws li kev tsim vaj tsev, kom cov neeg sau tuaj yeem cuam tshuam nrog lwm cov cuab yeej uas cuam tshuam nrog cov cai, xws li kev sib koom ua ke ib puag ncig (IDE).

Puas C++ siv libc?

Txheej txheem cej luam. libc ++ yog ib qho kev siv tshiab ntawm C ++ tus qauv tsev qiv ntawv, tsom rau C ++ 11 thiab siab dua. Kev raug raws li tau hais los ntawm C ++ 11 tus qauv.

Puas clang txhawb C ++ 20?

Clang muaj kev txhawb nqa rau qee yam ntawm cov yam ntxwv ntawm ISO C ++ 2020 tus qauv. Koj tuaj yeem siv Clang hauv C ++20 hom nrog -std=c++20 kev xaiv (siv -std=c++2a hauv Clang 9 thiab ua ntej).

Pom zoo: