LinuxÏÂÅäÖúÍʹÓÃACE±Ê¼Ç
1. ÏÂÔØ ACE 5.7.
´Ó http://download.dre.vanderbilt.edu/ ÏÂÔØ ACE+TAO+CIAO-5.7.tar.gz°ü¡£
2. ½âѹ
½«Ñ¹Ëõ°ücopyµ½linuxĿ¼/data/ACEÀȻºó½âѹ, tar -zxvf ACE+TAO+CIAO-5.7.tar.gz¡£
½âѹºóµÄĿ¼ÊÇ /data/ACE_wrappers.
3. ÅäÖÃconfig.hºÍplatform_macros.GNU¡£
¹Ù·½ÎĵµÉÏÊÇÕâôдµÄ£º
Create a configuration file, $ACE_ROOT/ace/config.h, that includes the appropriate platform/compiler-specific header configurations from the ACE source directory. For example:
#include "ace/config-linux.h"
Create a build configuration file, $ACE_ROOT/include/makeinclude/platform_macros.GNU, that contains the appropriate platform/compiler-specific Makefile configurations, e.g.,
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
ÔÚʵ¼Ê²Ù×÷ÖÐÒ²¿ÉÒÔÖ±½Ó´´½¨Ò»¸öÈíÁ´½Ó£º
cd $ACE_ROOT/ace
ln -s config-linux.h config.h
cd $(ACE_ROOT)/include/makeinclude/
ln -s platform_linux.GNU platform_macros.GNU
3. configure
cd ACE_wrappers/
mkdir build
../configure
µÈ¼¸·ÖÖÓºóconfigureÍê³É¡£
4. make
ÔÚACE_wrappers/buildĿ¼Ï£¬ Ö´ÐÐ$make
makeÍêÒÔºó£¬ÔÚ/data/ACE/ACE_wrappers/build/ace/.libs/Ŀ¼Ï£¬ÄÜÕÒµ½libACE.soºÍlibACE-5.7.so.
makeÌØ±ðÂý£¬ÓÈÆäÊÇACE+TAO+CIAOÔÚÒ»ÆðµÄÕâ¸ö°ü£¬makeÒªºÃ¼¸¸öСʱ¡£Èç¹ûTAOºÍCIAOÓò»×ŵϰ£¬Ö»ÏÂÔØACEµÄ¾Í¿ÉÒÔÁË£¬¿ÉÒÔÊ¡µãʱ¼ä¡£
5. install
ÔÚACE_wrappers/buildÏÂÖ´ÐÐ#make install
make installÖ®ºó£¬»áÔÚ/usr/local/includeÏÂÕÒµ½ºÃ¼¸¸öaceÏà¹ØµÄÎļþ¼Ð£¬ÀïÃæÓÐincludeÐèÒªµÄÍ·Îļþ¡£
ÔÚ/usr/local/libÏÂÕÒµ½Ò»¶ÑACEÏà¹ØµÄ.soÎļþ£¬°üÀ¨libACE.soµÈµÈ¡£
linuxÏÂϵͳ²éÕÒincludeÎļþµÄ˳ÐòÊÇ£¨Õâ¶ÎÊÇÍøÉÏÕª³µÄ£©:
/usr/include
/usr/local/include
/usr/lib/gcc-lib/i386-linux/2.95.2/include
/usr/lib/gcc-lib/i386
Ïà¹ØÎĵµ£º
1¡£ÒªÊ¹Óÿí×Ö·ûÖ§³Ö£¬Ê¹ÓÃw¿ªÍ·µÄһϵÁж«Î÷£¬Èçwstring£¬wofstreamµÈ¡£ÔÚʹÓÃwstringµÄʱºò£¬³£Á¿×Ö·û´®Ç°ÃæÒª¼ÓÉÏL£¬ÕâÑù²ÅÄÜת»»³Éwchar_tÐ͵Ä
else if(fileName.substr(fileName.rfind(L"."))==L".prj")
2¡£Ò»¸öÎļþÁ÷£¨ÎÞÂÛÊÇofstream»¹ÊÇwofstream£©£¬Ö»Ö§³Öconst char*×÷ΪÎļþÃû£¬¶ÔÓÚ¿í×Ö·ûµÄwstringµÄÎļþÃû ......
Ŀ¼½á¹¹ÈçÏ£º
|
|---- YourProject
| |-------- WebRoot
| | |---- WEB ......
package: download from:
Èí¼þ¼¯³É¿ª·¢»·¾³£¨´úÂë±à¼¡¢ä¯ÀÀ¡¢±àÒë¡¢µ÷ÊÔ£©
Emacs http://www.gnu.org/software/emacs/
Source-Navigator 5.2b2 http://sourceforge.net/projects/sourcenav
Anjuta http://anjuta.sourceforge.net(¿ÉÓÃyum°²×°)
´úÂëË÷Òý¹¤¾ß
Cscope http://cscope.sourceforge.net/
KScope http:/ ......
×÷Õߣºlch
matlab
for
Linux
°²×°
(
°²×°·½·¨ÎĵµÊÇ´ÓÍøÉϲé×ÊÁÏ+
ʵ¼ùµÃµ½µÄ )
Ò».
°²×°
1.
Ê×ÏÈÐèÒª½¨Á¢°²×°Ä¿Â¼
[wzh@localhost ~]$ su
[root@localhost ~]$ mkdir /usr/matlab
2.
È»ºó¼ÓÔØ¹âÅÌÓ³Ïñ
[root@localhost wzh]# mount -o loop -t iso9660
/mnt/hda7 ......
1.JDK1.6°²×°×¼±¸
¡¡¡¡´Ósun¹«Ë¾ÍøÕ¾www.sun.comÏÂÔØlinux°æ±¾µÄjdk,ÎÒÏÂÔØµÄ°æ±¾ÊÇJDK 6 Update 7,
¡¡¡¡µØÖ·http://java.sun.com/javase/downloads/index.jsp
¡¡¡¡jdk-6u7-linux-i586.bin,´ò¿ªÖÕ¶Ë£¬ÓÃcdÃüÁî½øÈëjdkËùÔÚĿ¼,Ö´Ðи´ÖÆÃüÁî
¡¡¡¡sudo cp jdk-6u7-linux-i586.bin /usr
¡¡¡¡¼´½ ......