⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linux.txt

📁 虚拟机设计与实现——C/C++
💻 TXT
字号:
Overview of HEC on Linux------------------------There are 4 script files which you can use to build and maintain HEC1) bldall.sh 	- makes all the Linux binaries2) mvbin.sh  	- moves all the Linux binaries to the ${BLDROOT}/bin directory3) wipe.sh   	- deletes all the Linux binaries4) bldapps.sh   - builds the test application .RUN files 
Mount the CD-ROM and copy the linux directory tree to your filesystem	mount  /dev/cdrom  /root/cdrom	cp -r  /root/cdrom/linux   ./hec	umount /dev/cdromOnce you have copied the linux directory tree from the CD to your harddrive, you will need to use the chmod command to make these scripts executable.For example:		chmod +x ./bldall.sh
Also, to run these scripts you will need to edit them so that $BLDROOTenvironmental variable points to the linux directory ( i.e. the directory containing the bin, hasm, hecvm subdirectories ). For example:		BLDROOT=/root/hec/linuxBuilding HEC------------From the ${BLDROOT} directory, run the following scripts in the order specified				i) bldall.sh		ii) mvbin.shThis will build all the native Linux binaries and move them to the ${BLDROOT}/bin directory. It may be a wise idea to add the ${BLDROOT}/bindirectory to your $PATH.Taking HEC for a spin---------------------
Go to the ${BLDROOT}/hasm/testapps and run the bldapps.sh script. This willinvoke the HASM assembler and assemble all the applications. If you want to assemble a HEC assembly source file, you will need to issuea command similar to:	..\..\bin\hasm  timedate.asm	( in general,  path\hasm  asmfile.asm )Note, you will need to issue this command from the directory containing theassembly source file. In addition, you cannot prefix the file name.	..\..\bin\hasm  ./timedate.asm   ( this is INVALID ) To run an application, you will need to issue a command similar to:	..\..\bin\hecvm  timedate.RUN

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -