www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/22/09:47:06

Message-ID: <004e01bdfdcb$0ded8420$33ddefcf@chiacomp>
From: "Chia" <chia AT top DOT net>
To: <djgpp AT delorie DOT com>
Subject: Re: Library Creation && Dos Shells
Date: Thu, 22 Oct 1998 09:48:37 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Reply-To: djgpp AT delorie DOT com

>The DJGPP User Guide on www.delorie.com has a section on libraries, but
>I can't access it just now to find the URL.  Check for that.


Ok, I found that and it says to first compile my sources into object files,
but I'm not sure how to do this becuase my files are all dependent on each
other.

The library I'm trying to make is using Allegro, and is mostly classes which
are derrived from one another. For instance the button class requires the
component class, the window class requires the panel class, etc.  Each class
is in a separate file, so how do I compile them into object code?

If I try

    gxx -c file1.cpp

It gives me all sorts of errors becuase of these dependencies.

Thanks!

// chia AT top DOT net -- http://www.top.net/chia/

- Raw text -


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