delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/23/23:25:45

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199607240322.AA199528522@relay1.geis.com>
Date: Wed, 24 Jul 96 03:06:00 UTC 0000
To: alowcock AT mail DOT input DOT co DOT uk
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Hmmmm beginner Alone

Reply to message 5118292    from ALOWCOCK AT MAIL on 07/23/96  2:51PM


>Being very new at this game - where do I place my libaries (they are in
>dj/lib currently. Try to compile hello.c i have no library for <stdio>
>where is this????

Read the file 'readme.1st' and go through all the steps it outlines
there to set up your djgpp installation.  It looks like either you didn't
configure your computer right or you didn't download all the
necessary files.  (if you didn't get readme.1st, you can get it from
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2/readme.1st, or any
other SimTel mirror.)

In brief, you must have do the following:

Obtain the appropriate djgpp files and unzip them with -d (to recreate
the directory structure).

Edit your autoexec.bat to add the following line:

SET DJGPP=C:\DJ\DJGPP.ENV

Also add C:\DJ\BIN to your PATH.  Of course, this assumes (like you
posted) that you installed DJGPP in C:\DJ.  If this isn't the case,
then change the above accordingly.

Reboot so the changes take effect.

Also, make sure that you are typing #include <stdio.h>, not just
#include <stdio>.

I recommend that you download the FAQ (faq201b.zip) from DJ's
web site or your friendly simtel ftp site and read at least the first
4-5 chapters.  Also, find a good C programming book.

John

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019