kurt godel wrote:
> Ok, I give up; I knew that linux has 'make' and 'make install' all 
> over the place, but, until this afternoon,
> I never knew that dos has it. While attempting to install some parts 
> of HX and GEM to djgpp, I was struck
> by this: "use 'make' to configure the includes(headers) and libraries, 
> and use 'make install' to install them
> in the djgpp". Never heard of 'make' in dos; went to dosbox(XP) and 
> freedos, typed 'make' and was returned
> "make [option] [target]". lovely. Did make -help, and got a list of 
> options, none of them called 'install'.
> Typing 'make install -help', got the same thing, with 'install' 
> treated as a bogus argument. I cannot fathom
> the commandline syntax here; does 'target' refer to the djgpp includes 
> and libraries I guess I'm trying
> to enrich? Then where does the 'source' go on the commandline? Is the 
> source called a 'makefile'?
> Then, amazingly, when trying to google this up, nobody has this 
> info(instead:"here are some of the most
> common dos commands"). *come ON*, what gives 
> here???-kurt<wb2...@gmail.com <mailto:wb2...@gmail.com>>.
Hi Kurt,
"make" is not specific to DOS, but is a way of running a series of 
processes, usually compiling source code, but can be many other 
processes. A bit like a shell (or batch) script that invokes programs to 
do specific things. If you look in the "Makefile" (the usual name for 
the file that "make" processes), you will see sections that do things 
that are probably familiar to you, like

cc -o hello.exe hello.c

in the section named "install", you are likely to see files being moved 
to the locations where they can be invoked without specifying the path 
to them. Yeah, make can be cryptic, but the best way to learn about it 
is to write a simple makefile yourself and use make to build a toy program.

Jim


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to