Linux£¨Ubuntu£©°²×°Trace32
Trace32-ICDÊÇÄ¿Ç°¹¦ÄÜ×îÇ¿´óµÄ·ÂÕæÆ÷£¬Ö§³Ö¸÷ÖÖCPU£¬°üÀ¨ARM/X86µÈ¡£Trace32Êǵ¹úlauterbach¹«Ë¾µÄ²úÆ·£¬¹¦ÄÜÇ¿´ó£¬Ö§³Ö¸÷ÖÖ²Ù×÷ϵͳµ÷ÊÔ£¬Èçlinux/vxworks/winceµÈ£¬²»¹ý¼Û¸ñÒ²±È½Ï¸ß£¬Òª3-5ÍòRMB£¬ÏÖÔÚÒ²ÓÐЩ·ÂÖƵÄTrace£¨ÈçTrace32-ICP£©£¬¼Û¸ñ±È½Ï±ãÒË£¬´ó¸Å1Íò¶àRMB¡£Trace32ÓÉÓÚÆ书ÄÜÇ¿´ó£¬ÌرðÊʺϴóÐÍǶÈëʽÈí¼þ¿ª·¢£¨°üÀ¨²Ù×÷ϵͳµÄ£©¡£
Trace32·ÂÕæÆ÷°üÀ¨Ó²¼þ·ÂÕæÆ÷Trace32-ICDºÍµ÷ÊÔÈí¼þTrace32, µ÷ÊÔÈí¼þTrace32¿ÉÒÔÖ§³Ö¶àÖÖ²Ù×÷ϵͳ£¬°üÀ¨WINDOWS/LINUX/SOLARIS/HP-UXµÈ¡£ÒÔÇ°ÆäÔÚwindowsÏÂÓùýTrace32,°²×°ºÍʹÓÃÏà¶Ô¼òµ¥; ×î½üÒòÒªÔÚLinux£¨Ubuntu£©Ï¿ª·¢£¬ÐèÒªÔÚubuntuÏÂʹÓÃTrace32, ÕâÀï°ÑLinuxϵÄTrace32°²×°ÒªµãдÀ´£¬¹©²Î¿¼£º
1.Ê×ÏÈÒª×Ðϸ¿´°²×°ÅÌϵÄreadme.txtÎļþ£¬ÀïÃæдÁËÔÚpc_linuxϵݲװ²½Ö裬ÈçÏ£º
INSTALLATION ON PC_LINUX
Copy the /files directory structure from the CD to your disk.
The utility "filecvt" should be used to convert the files to unix format.
The host specific files can be found in the /bin/pc_linux directory.
1. mount /mnt/cdrom
2. mkdir /home/t32 (or similar)
mkdir /home/t32/bin
cd /home/t32
3. cp -r /mnt/cdrom/files/* .
cp -r /mnt/cdrom/bin/pc_linux ./bin
cp /mnt/cdrom/bin/pc_linux/config.t32 .
chmod -R u+w *
4. /home/t32/bin/pc_linux/filecvt /home/t32
5. Install the Acrobat Reader from http://www.adobe.com if it isn't already installed on the system
6. Set the environment variable "ACROBAT_PATH" to the Acrobat installation path
export ACROBAT_
Ïà¹ØÎĵµ£º
MySQL :: Linux ÏÂ×Ô¶¯±¸·ÝÊý¾Ý¿âµÄ shell ½Å±¾
Linux ·þÎñÆ÷ÉϵijÌÐòÿÌ춼ÔÚ¸üРMySQL Êý¾Ý¿â£¬ÓÚÊǾÍÏëÆðдһ¸ö shell ½Å±¾£¬½áºÏ crontab£¬¶¨Ê±±¸·ÝÊý¾Ý¿â¡£Æäʵ·Ç³£¼òµ¥£¬Ö÷Òª¾ÍÊÇʹÓà MySQL ×Ô´øµÄ mysqldump ÃüÁî¡£
½Å±¾ÄÚÈÝÈçÏ£º
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
DB_NAME=" ......
°²×°mysql
sudo apt-get install mysql-servel-5.0 mysql-client-5.0
ÏÂÔØ°²×°¹ý³ÌÖУ¬»áÌáʾÊäÈërootÃÜÂë
°²×°CÓïÑÔ±à³Ì½Ó¿Ú£º
sudo apt-get install libmysqlclient15-dev
¸ü¶àapi ²é¿´£ºhttp://dev.mysql.com/doc/refman/5.0/en/c.html
Ïà¹ØmysqlÍ·ÎļþºÍ¿âÎļþ°²×°ÔÚ/usr/include/mysql/ºÍ/usr/lib/mysqlÄ¿ ......
¿ÉÒÔ½«Õâ¸ö½Å±¾·Å½øcrontab£¬ËûµÄÅäÖÆÎļþÔÚ /etc/crontabÖÐÿÌìÁ賿ִÐÐÒ»´Î£¬×Ô¶¯±¸·Ý Õâ¸ö½Å±¾Ã¿Ìì×î¶àÖ»Ö´ÐÐÒ»´Î£¬¶øÇÒÖ»±£Áô×î½üÎåÌìµÄ±¸·ÝÔÚ·þÎñÆ÷ÉÏ¡£
#!/bin/bash
#This is a ShellScript For Auto DB Backup
#Powered by aspbiz
#2004-09
#Setting
#ÉèÖÃÊý¾Ý¿âÃû£¬Êý¾Ý¿âµÇ¼Ãû£¬ÃÜÂ룬±¸·Ý·¾¶£¬ÈÕ־ ......
ÍêÈ«ÓÃLinux¹¤×÷£¬±÷ÆúWindows(ÍõÛó)
ÍêÈ«ÓÃLinux¹¤×÷£¬±÷ÆúWindows
×÷ÕߣºÍõÛó
ÎÒÒѾ°ëÄêûÓÐʹÓà Windows µÄ·½Ê½¹¤×÷ÁË¡£Linux ¸ßЧµÄÍê³ÉÁËÎÒËùÓеŤ×÷¡£
GNU/Linux ²»ÊÇÿ¸öÈ˶¼ÏëÓõġ£Èç¹ûÄãÖ»ÐèÒª´¦ÀíÒ»°ãµÄÊÂÎñ£¬´òÓÎÏ·£¬ÄÇôÄã²»ÐèÒªÁ˽âÏÂÃæÕâЩÁË¡£
ÎÒ²»ÊÇÒ»¸ö¿ñÈȵÄ×ÔÓÉÈí¼þ·Ý×Ó£¬ËäÈ»ÎÒºÜϲ»¶×ÔÓÉ ......
±àÒëµ¥¸öÔ´Îļþ
ΪÁ˽øÐвâÊÔ£¬Äã¿ÉÒÔ´´½¨“Hello World”³ÌÐò£º
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
printf(”Hello world!\n”);
exit(0);
}
ʹÓÃÈçÏÂÃüÁî±àÒë²¢²âÊÔÕâ¸ö´úÂ룺
# gcc -o hello hello.c
# ./hello
Hello wordl!
ÔÚÄ ......