Click to See Complete Forum and Search --> : compiling programs (how do I?)


drstrangelove
10-01-2002, 08:43 AM
I need to download some programs (perl 6 for instance). These programs are apparently in original code and not pre-compiled .exe (or even .zip). Where do I get the appropriate tools (are they included with the OS) and how do I do this? I'm not a programmer (don't even play one on TV), but I do need to learn some scripting, and, apparently, how to compile programs. :confused:

Thanks.

rock
10-01-2002, 09:23 AM
Sometimes, it's as simple as:
./configure
make all

Usually it's not that simple though. There should be a README with any and all source code you download that tells you how to compile it. Once you've done it a couple times, it'll get easier.

Afterthought: are you on Windows and downloading tar files?

drstrangelove
10-01-2002, 02:02 PM
This is for Windows 2K. Is there a compiler built into the OS (MS integrates everything else for crying outloud)?

rock
10-01-2002, 02:06 PM
Originally posted by drstrangelove
This is for Windows 2K. Is there a compiler built into the OS (MS integrates everything else for crying outloud)?
Nope, there's no compiler that ships with the OS. Microsoft would rather have everyone buy MS Visual Studio. There are several free C/C++ compilers out there, though, including Dev C++ (http://www.bloodshed.net/devcpp.html).

drstrangelove
10-01-2002, 02:33 PM
where to i get it and how do i use it? (is it easy, intuitive?). remember, i am NOT a programmer by nature, i'm a networker, and have little desire to delve into programming on anything more than a superficial basis. It just so happens that I need a few apps and some Perl for a class I teach. So don't be afraid to dumb this down for me.

rock
10-01-2002, 03:30 PM
You can download it from the link in my previous post (Scroll down to Version 4, since 5 is still Beta). There's a FAQ here (http://www.bloodshed.net/faq.html) and some READMEs and examples to get you started too.