delorie.com/archives/browse.cgi | search |
From: | "Rafal Maj (Raf256)" <raf256 AT go2 DOT pl> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Library as .o and .h ? [UPT] |
Date: | Thu, 12 Jul 2001 19:37:36 +0200 |
Organization: | Academic Computer Center CYFRONET AGH |
Lines: | 35 |
Message-ID: | <9iknlm$smo$1@info.cyf-kr.edu.pl> |
NNTP-Posting-Host: | d-94-53-19.cyfronet.krakow.pl |
X-Trace: | info.cyf-kr.edu.pl 994959863 29400 149.156.1.179 (12 Jul 2001 17:44:23 GMT) |
X-Complaints-To: | news AT cyf-kr DOT edu DOT pl |
NNTP-Posting-Date: | Thu, 12 Jul 2001 17:44:23 +0000 (UTC) |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, I have written program, or rather library and I want to distribute it to other programmers. I dont know how to make library from it. I'm using DJGPP, Rhide, Allegro What do You think about current situation : main.cc conatins void main() and calls appl(); appl.h contains only declaration of void appl(); gui.h gui.cc and meany other *.cc - my library To programmers I send only .o and .h And programmer that wants to use my library - UPT : in project hi includes : - appl.cc - that files includes gui.h and appl.h, it's written by programmer, it's calling functions from gui.o - gui.o - main.o everything works OK, but I wantd to have one files LIKE alleg.a and allegro.h not 100 separated .o files so programmer can use my library same as allegro with for example -lupt option (UPT is my libary name) how can I do it ? -- | \ C++ TP 3DSM __ __ __ IF U NEED ANY program/3D/WWW/etc => job256 AT go2 DOT pl | / ^ .-- / ||__ /_ .-----------------------------------------------. |\ /=\ |-- / \| \ | raf256 AT go2 DOT pl SMS 504-727-464 www.raf256.com | | \/ \| :-) /__ __/\_/ | UPT service : upt256 AT hotmail DOT com upt AT go2 DOT pl |
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |