Linux???????gcc????
???????????? ???????[ 2016/5/12 13:24:45 ] ?????????????? Linux
????6. ???????
?????????C???????????????г????????????????????????????????????????????????????????????????Щ??????????????????Щ????????????????????д??????????????黥????????????????д??????????????黥???????????????????????????????ɡ??????????????
??????黯?????
????????????
???????????
???????????????????????
?????????.a?????????????????????????????????????????С????????е????????????????????????????????????????????????????????????????????????????????????????
?????????.so??.sa?????????????е??????????????????????????????????????????????????????
???????????????????λ?????
????/usr/include???????????μ?include?????
????/usr/local/include???????????μ?include?????
????/usr/lib
????/usr/local/lib
????/lib
????7. ????????
???????????.a??????????????????.o??????????????????????hello.o?????????libhello.a??
????ar rcs libhello.a hello.o
????ar??gun?鵵?????rcs???replace and create?????libhello??????????????μ?libhello.a???????滻??
??????????????????t????libhello.a
????gcc -Wall main.c libhello.a -o main
?????????????????÷????
????gcc -Wall -L. main.c -o main -lhello ??lhello ?? libhello????д??
???????? -L.??????????λ?????????£?????libhello.a????????????????????????????£????????????-L.????????????????????????????????????-I.???????????????????
????8. ????????
??????????????????????????libxxx.so???????hello.o????libhello.so?????????
????gcc -shared -fPIC hello.o -o libhello.so
?????????????????????????????ù????
????gcc -Wall main.o -o main -L. -lhello
??????????????t????????????????????????????????????£???????ù????
???????????????????????????£??????gcc?????????????????漸???????
????????.so????????????·???£?????/usr/lib
??????~/.bash_profile????У?????LD_LIBRARY_PATH????
????????/etc/ld.so.conf?????????????ldconfig????ld.so.cache
???????У?shared?????????????????fPIC???????λ???????position independent code????λ????????????????С??????????λ?????????????κ?????????м????
????9. ???????·??
???????????·??????????????????????????-I -l????????????????Щ??????????????gcc???????? ??????????????в???????????????????C_INCLUDE_PATH??????????????LIBRARY_PATH.??????????????????????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Linux??????DDR????????????Linux?????????????????豸??????????linux???в???????????м??????????????????????????Linux????Linux??DNS????????????γ???????????Linux?????????????Linux????(???)????????Linux ????????????????????????????????Windows???У?Linux???????Linux????????????????Linux iommu??vfio???????Linux????ε???TCP???????Linux?????????????СLinux?·???????????Linux???Jexus?й?Asp.Net Core??ó???Linux?????????Щ??

???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????