Click to See Complete Forum and Search --> : What is needed to compile/make programs?
MuffinRemnant
06-27-2003, 06:20 AM
Since I'm using a mini distribution (University Linux) that doesn't include the tools needed to compile source, can someone tell me exactly what I will need when I get round to it?
All the docs about compiling source seem to make the assumption that a compiler/linker etc is already installed.
TIA
GaryJones32
06-27-2003, 02:14 PM
Hi,
http://gcc.gnu.org/
then after you get the compiler you need the developement files
or (includes) (header *.h) files for every library you want to use --
(compile in) or link too.
MuffinRemnant
06-27-2003, 02:26 PM
Hi Gary
Thanks for that. Presumably I need to review the source for anything I intend to compile then go find all the <include>'s and check I have all the required libs? I take it gcc comes with a set of 'standard ' header files (like stdio.h etc)?
sploo22
06-27-2003, 02:32 PM
I would think stdio.h would be included in the standard C library - libc or glibc. I've never actually checked to see if it's included in the binary distributions, though. I use debian, and I think it has a package called "libc-dev" which has the include files.
Most programs you download will have either a readme file or a configuration script which will tell you if you need any libraries.
MuffinRemnant
06-27-2003, 02:37 PM
Thanks sploo22 - since i'll be compiling pretty basic stuff for console mode hopefully I won't have to do too much hunting around.
Is it a small distro? The most importants libs to compile are libc and glibc I think. And both plus some other important libs are included in most distros.
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.