linux gcc OCI ±àÒëÎÊÌâ
ÔÚlinuxÏ£¬ÔõÑù±àÒëOCIµÄ³ÌÐò£¿ËüµÄgccÖ¸ÁîÊÇʲô£¿ÎÒ´ÓÍøÉÏÕҵĶ¼²»ÄÜÓã¡»¹ÓУ¬ÎÒÔÚlinuxÓÃCÓëoracleÁ¬½Ó£¬ÎÒ¶¼ÐèÒª°²×°oralceµÄÄÄЩÈí¼þ£¿Ö»ÐèÒªoralceµÄ¿Í»§¶Ë£¬ÓëOCIµÄ¿âô£¿±ðµÄ»¹ÐèҪô£¿
Çë¸ßÊÖÖ¸½Ì£¡
°ïÄ㶥һÏ£¬±ÜÃâÄãÌù×Ó³ÁÁË
man gcc
{{
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
´ó¼ÒºÃ£¬±¾ÈËÄ¿Ç°¸Õ¸Õ½Ó´¥Linux¡£ÏÖÔÚ¹«Ë¾µÄÏîÄ¿ÐèÒªËõ¼õLinuxµÄKernelºÍAPP²¿·ÖµÄCode Size¡£Ä¿Ç°ÎÒÃÇʹÓõÄÊÇLinux2.6.22.15°æ±¾£¬Ó¦ÓÃÓÚADSL Modem£¨¼ÒÍ¥Íø¹Ø£©¡£
1.ÎÒÃDzúÆ·Ó¦ÓÃÊÇADSL Gateway£¬Kernel²¿ ......
ÇëÎÊÏÂÔØLinuxÏÂÔõô°²×°cuda visual profiler°¡£¿
ÁíÍ⣬ÎÒÖ»ÏÂÔص½1.0°æ±¾µÄprofiler£¬Ã»ÕÒµ½2.2°æ±¾µÄ£¨ÎÒÓõÄcudaÊÇ2.2°æ±¾µÄ£©£¬²»ÖªµÀÈ¥ÄĶùÏÂÔØ£¿
¶àл£¡
ÎÒÖªµÀÁË£¬ÆäʵÔÚ°²×°cudaµÄʱºò¾ÍÒѾװÁË ......
ÔÚ³ÌÐòÖе÷ÓÃchroot("/mnt");ºó ÎÒÏëÔÙת»Øchroot("/"); Õâ¸öʱºò²»ÄÜÔÙת»Øϵͳ¸ùĿ¼»·¾³ÁË Ó¦¸ÃÔõô×ö£¿£¿
chroot()Ö´Ðгɹ¦Ö®ºó£¬¸ùĿ¼ÊǽøÐÐÁËÇл»£¬µ«Êǵ±Ç°¹¤×÷Ŀ¼ûÓб仯£¬»¹ÊÇchro ......
×î½üÔÚдspider ÐèÒªÒª½â¾ö ±àÂëת»» ÎÊÌâ Óõ½ iconv() º¯Êý
µ«Ò²²»ÖªµÀ ÄÄÀïÓÐÎÊÌâ ÀÏÊÇÕû²»³öÀ´ ÄÄλ´óÏÀ °ï°ïæ
´úÂë ÈçÏ£º£¨Í·Îļþû¸´ÖÆ£ ......