www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/06/13:45:03

From: "Greg K" <iosys AT uswest DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <BX117.547$ju4 DOT 248900 AT news DOT uswest DOT net> <1438-Fri06Jul2001113522+0300-eliz AT is DOT elta DOT co DOT il>
Subject: Re: Configuring DJGPP
Lines: 61
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <vKm17.2087$iR4.272716@news.uswest.net>
Date: Fri, 6 Jul 2001 10:42:09 -0700
NNTP-Posting-Host: 63.225.202.192
X-Trace: news.uswest.net 994441243 63.225.202.192 (Fri, 06 Jul 2001 12:40:43 CDT)
NNTP-Posting-Date: Fri, 06 Jul 2001 12:40:43 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> (I'm not saying that you didn't read the docs, nor am I saying that
> your particular problem is in the docs.  But the fact that most
> questions here are already covered in the documentation is a serious
> dumper on any desire to add more books.)
>

Well, I guess I'm looking for more of a "Point A to Point Z" type of doc.  I
really am a beginner when it comes to basic compiler operation, and the
terminology involved is rather heady.  I'm not formally trained, and it's
hard to look stuff up in faqs and things, and try to correlate what my
problem is with other problems in the list, when I don't even know the
"correct" way to describe my problem.  I've come across other people
occasionally with the same kinds of problems I have, and I think they're in
the same boat as I am, awash in a sea of technical terms we haven't learned
yet.  I feel kinda sorry for you guys really, having to answer them so much.



> The header files only have the functions' prototypes.  In contrast,
> the linker needs the _body_ (i.e. the code) of those functions, which
> is in liballeg.a, the library.  You should find out why does the
> linker miss the library.

Well, that shed more light on it than anything, and man do I feel stupid.
Why isn't the liballeg library there?  What is the liballeg library?  Who is
the liballeg library?  How is the liballeg library?

::reading, reading::

Oh, you have to MAKE the library!  And that's because it's NOT something
called "binaries"   Ohhhhh!  I did not know that. (I am a beginner you know)
::typing "make" at the dos prompt, in the allegro directory::

::Watching::   Wow, look at all that makin'.   ::falling out of chair from
watching scrolling dos box::

Lessee here... ::changing to the directory where my source file is, typing
"gcc setgmode.c -o setgmode.exe -lalleg"::

What the?  Where'd all the funny errors go?  I miss them already!

::typing "setgmode"::

Well, I'll be darned...


Okay.  Works fine now.  : )


I guess my problem was a starting point.  All of the things to get it going
seemed to be in various places.   I think I'm going to have to submit a doc
titled "Absolutely clueless people who have no idea how to get a library
working with a compiler, begin here!" (In bold type)

Thanks for the help Eli.  : )





- Raw text -


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