delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/22/12:39:25

From: "Rafal 'Raf256' Maj" <admin AT raf256 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: makefile
Date: 22 May 2002 16:05:48 GMT
Organization: news.onet.pl
Lines: 24
Sender: raf256 AT poczta DOT onet DOT pl@62.233.182.179
Message-ID: <Xns9216B89F7DDC3adminraf256com@213.180.128.20>
NNTP-Posting-Host: 62.233.182.179
Mime-Version: 1.0
X-Trace: news.onet.pl 1022083548 8235 62.233.182.179 (22 May 2002 16:05:48 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 22 May 2002 16:05:48 GMT
User-Agent: Xnews/5.03.24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I build library from my project using .bat 
  call _comp1 u_mem "Basic memory"
  call _comp1 u_str "Basic strings"
  ar crs upi.a u_mem.o u_str.o 

where comp1.bat is :
  gcc -g -s -c %1.cpp -o %1.o

And I have two questions

1) what should I do when there will bo to much objects, so last command 
line (ar crs upi.a u_mem.o 2.o 3.o etc...) will be longer then 255 
characters ? 

2) I looked into final .a file, it had many imho unnecessary informations, 
how can I shrink it ? 

Thanks in advice

-- 
Rafał 'Raf256' Maj
GG-1175498

- Raw text -


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