¹ØÓÚ½»²æ±àÒëÆ÷µÄÉú³É£¬³ýÁËÊÖ¹¤±àÒ룬»¹ÓÐÒÔϼ¸ÖÖ¹¤¾ß Buildroot, ELDK(embeded linux devlopment kit) ,Crosstool
Çë½Ì ÓÐûÓÐÓùýÕ⼸¸ö½»²æ±àÒ빤¾ßµÄ»òÕßÖªµÀËüÃǵĸßÊÖ£¿ Õ⼸¸ö¹¤¾ßÄǸö±È½ÏºÃ£¿ ÓÐʲôÓÅȱµãÄØ£¿
ÎÒÔÚÍøÉϲéµÄ×ÊÁϺÜÉÙ£¬»¹ÊÇÀí½âµÄ²»¹»£¬Ã»ÓÐÃ÷È·µÄ¸ÅÄ
ллÁËÏÈ£¡£¡
minux ÓÚ 2008-03-29 13:38:43·¢±í:
ÎÒÒ²Ôø³¢ÊÔÊÖ¶¯±àÒ룬¶þ½øÖƹ¤¾ß¼¯£¬ºÍboot£trap gcc¿ÉÒÔ±àÒëͨ¹ý£¬Ã»ÓÐÎÊÌ⣬µ«ÊÇÔÚÔÚ»ñµÃ ÄÚºËÍ·ÎļþµÄʱºò£¬È´²»Äܳɹ¦£¬ÎÒÊÇ°´ÍøÉϵÄ×ÊÁÏ×öµÃ£º
ÔÚÄÚºËÔ´´úÂëĿ¼Ï£¬$make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig
×ÊÁÏÉÏ˵ÕâÑù
¡°×¢ÒâÔÚÅäÖÃʱһ¶¨ÒªÑ¡Ôñ´¦ÀíÆ÷µÄÀàÐÍ£¬ÕâÀïÑ¡ÔñÈýÐǵÄS3C2410£¨System Type->ARM System Type->/Samsung S3C2410£©£¬Èçͼ2.1Ëùʾ¡£ÅäÖÃÍêÍ˳ö²¢±£´æ£¬¼ì²éÒ»ÏÂÄÚºËĿ¼ÖеÄinclude/linux/version.hºÍ include/linux/autoconf.hÎļþÊDz»ÊÇÉú³ÉÁË£¬ÕâÊDZàÒëglibcʱҪÓõ½µÄ£¬Èç¹ûversion.h ºÍ autoconf.h Îļþ´æÔÚ£¬ËµÃ÷Éú³ÉÁËÕýÈ·µÄÍ·Îļþ¡£¡±
µ«ÊÇÎÒÕâÑù×öÁË ÔÚĿ¼ͷÎļþÖÐȴûÓÐÉú³ÉÕâÁ½¸ö.hÎļþ£¬µ±ÎÒÖ´ÐÐ makeµÄʱºò£¬ËäÈ»Äں˻áͬ²»¹ý£¬µ«ÊÇ»áÉú³É version.h ²»ÄÜÉú³É autoconf.h ÕâÊÇÔõô»ØÊÂÄØ£¿£¿
ûÓÐÍ·Îļþµ±È»glibc¾Í²»ÄܱàÒëÁË1
wwicandoit ÓÚ 2008-03-29 01:11:02·¢±í:
ÎÒÖ±½ÓÓõĿª·¢°åÉϵÄCross Tool chain£¬¸Ð¾õ»¹²»´í£¬¶øÇÒ¿ÉÒÔÖ±½ÓÏÂÔص½¾µÏñ£¬ÓÃtar jvxf filename½âѹÔÙÌí¼Ó»·¾³±äÁ¿¾Í¿ÉÒÔʹÓÃÁË£¬ºÜ·½±ãµÄ¡£
Èç¹û×Ô¼º±àÒëµÄ¹¤¾ßÁ´Ò»¶¨ÒªÏȾ¹ý²âÊÔÔÙÓ㬽»²æ±àÒëºÃÁË·ñÔòÏÂÔص½Arm°åÉϲ»ÄÜÓþͻáºÜÓôÃƵġ£¡£¡£¡£¡£
hongmaojin ÓÚ 2008-03-28 20:33:55·¢±í:
»¹ÊÇÐÁ¿àÒ»µã£¬×Ô¼º¶¯ÊÖ´ò½¨Ò»¸öƽ̨£¬ÕâÑù¼ÈÊʺÏ×Ô¼ºµÄ¿ª·¢Æ½Ì¨£¬³öÏÖÎÊÌâÒ²ÖªµÀÊÇʲôµØ·½µÄÎÊÌâ¡£¸üÖØÒªµÄÊÇ¿ÉÒÔÁ˽âÕû¸ö¹ý³Ì¡£
minux ÓÚ 2008-03-27 13:18:19·¢±í:
crosstool ÊǸö½Å±¾¹¤¾ß£¬ºÍglibc¿âÉú³Éarm-linux-¸ß²ã´Î ÐÞ¸ÄÏàÓ¦½Å±¾£¬ÉÔ΢¼ÓЩÅäÖÃÄÚÈÝ ÔËÐжÔÓ¦µÄ½Å±¾¼´¿ÉÉú³ÉÏàÓ¦µÄ ½»²æ±àÒëÆ÷£¬³ö´íÎó¼¸ÂʽÏС£¬´óÔ¼ÓÃʱ°ë¸ö¶àСʱ¡£
buildroot Õâ¸ö¹¤¾ßÐèÒª½øÐнçÃæµÄÅäÖã¬Ïà¶ÔÉÏÃæµÄ±È½ÏÂ鷳һЩ£¬Ò»°ãºÍuclibc¿â½øÐбàÒëÉú³Éarm-linux-uclibc-gcc ÎÒ±àÒëʱ´íÎó³öÁ˲»ÖªµÀ¶àÉÙ£¬¸ßÁËÒ»ÏÂÎ磡²Å±àÒë³É¹¦¡£
EldkÎÒÓõÄʱ4.1 µÄiso £¬ÊǸö°²×°¹¤¾ß£¬°²×°ºÃÁ˾ͿÉÒÔÖ±½ÓʹÓÃarm-linux-gccÁË£¬°²×°²½ÖèºÜ¼òµ¥£¬¶øÇÒ²»ºÄʱ ´óÔ¼20·ÖÖоÍÄܸ㶨£¡
crosstoolÉú³ÉµÄlib¿â ´óÔ¼24M
buildroot Éú³ÉµÄ uclibc¿âºÜС ×ܹ²¾Í13M×óÓÒ
Eldk Õâ¸ö¿âÒ²²»ÊǺܴó Íü¼Ç¶àÉÙÁË£¡