先来看看Linux软g扩展名。Y件后~?rpm最初是Red Hat Linux提供的一U包装格式Q现在许多Linux发行版本都用;后缀?deb是Debain Linux提供的一U包装格式Q后~?tar.gz、tar.Z、tar.bz2?tgz是用Unixpȝ打包工具tar打包的;后缀?bin 的一般是一些商业Y件。通过扩展名可以了解Y件格式,q而了解Y件安装?
deb 是Debian Linux提供的一个包理器,它与RPM十分cM。但׃RPM出现得早Qƈ且应用广泛,所以在各种版本的Linux中都常见刎ͼ而Debian的包理器dpkg只出现在Debina Linux中。它的优Ҏ不用被严格的依赖性检查所困扰Q缺Ҏ只在Debian Linux发行版中才能见到q个包管理工兗?
.bin文g的卸载,以RealONE for LinuxZQ如果采用普通安装方式的话,在用户主目录下会有Real和Realplayer9两个文g夹,把它们删除即可?
Linuxl色软g
Linux 也有一些绿色YӞ不过不是很多。Linuxpȝ提供一U机Ӟ自动响应软gq行q程的要?为它讑֮好可以马上运行的环境。这U机制可以是一U接口,或者是中间件。程序员~写的程序可以直接拷贝分发,不用安装Q只要点ȝ序的图标Q访问操作系l提供的接口Q设定好可以工作。若要删除YӞ直接删除可?不用链接文g。这是最单的软g安装、卸载方式?
###################################### # # Generic makefile # # by George Foot # email: george.foot@merton.ox.ac.uk # # Copyright (c) 1997 George Foot # All rights reserved. # 保留所有版? # # No warranty, no liability; # you use this at your own risk. # 没保险,不负? # 你要用这个,你自己担风险 # # You are free to modify and # distribute this without giving # credit to the original author. # 你可以随便更改和散发q个文g # 而不需要给原作者什么荣誉? # Q你好意思?Q? # ######################################
### Customising # 用户讑֮ # # Adjust the following if necessary; EXECUTABLE is the target # executable's filename, and LIBS is a list of libraries to link in # (e.g. alleg, stdcx, iostr, etc). You can override these on make's # command line of course, if you prefer to do it that way. # # 如果需要,调整下面的东ѝ?EXECUTABLE 是目标的可执行文件名Q?LIBS # 是一个需要连接的E序包列表(例如 alleg, stdcx, iostr {等Q。当然你 # 可以?make 的命令行覆盖它们Q你愿意没问题? #
EXECUTABLE := mushroom.exe LIBS := alleg
# Now alter any implicit rules' variables if you like, e.g.: # # 现在来改变Q何你x动的隐含规则中的变量Q例?
# The next bit checks to see whether rm is in your djgpp bin # directory; if not it uses del instead, but this can cause (harmless) # `File not found' error messages. If you are not using DOS at all, # set the variable to something which will unquestioningly remove # files. # # 下面先检查你?djgpp 命o目录下有没有 rm 命oQ如果没有,我们使用 # del 命o来代替,但有可能l我?'File not found' q个错误信息Q这? # 什么大。如果你不是?DOS Q把它设定成一个删文g而不废话的命令? # Q其实这一步在 UNIX cȝpȝ上是多余的,只是方便 DOS 用户?UNIX # 用户可以删除q5行命令。)
我希望这文章够详l的解释了多文g目是怎么q作的,也说明了 怎样安全而合理的使用它。到此,你应该可以轻杄利用 GNU Make ?h理型的项目,如果你完全理解了后面几个部分的话Q这些对?你来说应该没什么困难? GNU Make 是一件强大的工具Q虽然它主要是用来徏立程序,它还有很?别的用处。如果想要知道更多有兌个工L知识Q它的句法,函数Q?和许多别的特点,你应该参看它的参考文?(info pages, 别的 GNU 工具也一P看它们的 info pages. )?
GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.14 (i486-slakware-linux), Copyright 1995 Free Software Foundation, Inc. (gdb)
Watchpoint 2, string2[size - i] Old value = 0 `\000' New value = 104 `h' my_print2(string = 0xbfffdc4 "hello there") at greeting.c:23 23 for (i=0; i<size; i++)