Upgrade to Pro — share decks privately, control downloads, hide ads and more …

linux_ws_20121201_pub.pdf

DeepTokikane
December 08, 2012
22

 linux_ws_20121201_pub.pdf

DeepTokikane

December 08, 2012
Tweet

Transcript

  1. . .. . . . . LinuxΧʔωϧΛಡ΋͏(ಋೖฤ) DeepTokikane 2012೥ 12݄

    1೔ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 1 / 47
  2. ඞཁͳ஌ࣝ C ݴޠ Linux Χʔωϧ͸ C ݴޠͰॻ͔Ε͍ͯΔ Ξηϯϒϥ ϋʔυ΢ΣΞͷ࢓༷ ӳޠ

    DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 7 / 47
  3. Linuxͷ։ൃঢ়گ Linux ͷ։ൃ͸Main Line ͱStable ͰΘ͔Ε ͍ͯΔɽ Main Line ৽ػೳΛ௥Ճͯ͠ϦϦʔε͢Δ

    Stable ϝΠϯϥΠϯͰϦϦʔε͞Εͨ΋ͷͷ҆ఆ൛Λ։ൃ όάमਖ਼ͳͲΛͯ͠ϦϦʔε DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 8 / 47
  4. ϝΠϯϥΠϯͷϦϦʔε(1/2) 2.6.32 2009/12/03 2.6.33 2010/02/24 2.6.34 2010/05/16 2.6.35 2010/08/01 2.6.36

    2010/10/20 2.6.37 2011/01/05 2.6.38 2011/03/15 2.6.39 2011/05/19 DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 9 / 47
  5. ϝΠϯϥΠϯͷϦϦʔε(2/2) 3.0 2011/07/22 3.1 2011/10/24 3.2 2012/01/04 3.3 2012/03/18 3.4

    2012/05/20 3.5 2012/07/21 3.6 2012/09/30 DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 10 / 47
  6. GitͷΠϯετʔϧ Ubuntu ͷ৔߹ apt-get install git Mac ͷ৔߹ ݩ͔ΒೖͬͯΔ Widows

    ͷ৔߹ Linux ΛΠϯετʔϧ͠·͠ΐ͏ (݁ߏେมͩͬͨ) DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 13 / 47
  7. GitͰιʔείʔυΛೖख Ϋϩʔϯ git clone <ϦϙδτϦͷURL> νΣ οΫΞ΢τ git checkout v3.6

    (όʔδϣϯ3.6 ϦϦʔε࣌ͷιʔείʔ υʹ͢Δɽ) DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 14 / 47
  8. ໨࣍ ͸͡Ίʹ Linux ͷιʔείʔυΛೖख ιʔείʔυΛಡΉͨΊͷศརπʔϧ GNU Global Ϗϧυ&Πϯετʔϧ ࣮ࡍʹ৮ͬͯΈΔ printk

    ͷվ଄ Φεεϝॻ੶ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 15 / 47
  9. GNU Global ιʔείʔυղੳπʔϧ ରԠݴޠ C/C++ Yacc Java PHP4 Ξηϯϒϥ େن໛ͳιϑτ΢ΣΞͷιʔείʔυΛ

    ಡΉͱ͖ʹҖྗΛൃش HTML ܗࣜͰग़ྗͯ͠ɼϒϥ΢βͰίʔ υΛಡΉ͜ͱ΋Մೳ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 16 / 47
  10. Φϓγϣϯʹ͍ͭͯ -a ΞϧϑΝϕοτॱʹฒ΂Δ -f ݕࡧϑΥʔϜΛ࡞Δ -F ϑϨʔϜΛ࡞Δ -n ߦ൪߸Λ͚ͭΔ -s

    γϯϘϧʹ΋ϦϯΫΛషΔ -v ్தܦաΛදࣔ -x xml ܗࣜͰग़ྗ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 21 / 47
  11. Linux Cross Reference ࣮͸. . . Linux Cross Reference ͱ͍͏ϖʔδͰ΋ϒϥ΢βͰ

    ιʔείʔυಡΊΔ GNU Global ΑΓ͸গ͠࢖͍ਏ͍? ͙͢ಡΊΔ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 26 / 47
  12. ໨࣍ ͸͡Ίʹ Linux ͷιʔείʔυΛೖख ιʔείʔυΛಡΉͨΊͷศརπʔϧ GNU Global Ϗϧυ&Πϯετʔϧ ࣮ࡍʹ৮ͬͯΈΔ printk

    ͷվ଄ Φεεϝॻ੶ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 27 / 47
  13. LinuxΧʔωϧͷϏϧυ ΧʔωϧͷϏϧυ͸ҎԼͷखॱͰߦ͏ . . . 1 ΧʔωϧͷઃఆϑΝΠϧΛฤू . . .

    2 Ϗϧυ . . . 3 Πϯετʔϧ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 28 / 47
  14. Ϗϧυ & Πϯετʔϧ make -j8 bzImage #ΧʔωϧͷϏϧυ make modules #ϞδϡʔϧͷϏϧυ

    sudo make modules_install #ϞδϡʔϧͷΠϯετʔϧ sudo make install #ΧʔωϧͷΠϯετʔϧ DeepTokikane () Linux ΧʔωϧΛಡ΋͏ (ಋೖฤ) 2012 ೥ 12 ݄ 1 ೔ 31 / 47