Message-Id: <5.1.0.14.0.20020522133806.00bab6d0@pop.hotpop.com> X-Sender: jlsgarrido AT pop DOT hotpop DOT com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 22 May 2002 13:42:44 -0500 To: djgpp AT delorie DOT com From: =?iso-8859-1?Q?=22Jos=E9_L=2E_S=E1nchez=22?= Subject: Re: makefile In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g4N8qjN22828 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 04:05 p.m. 22/05/2002 +0000, you wrote: >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 ? On May 6, 2002, I wrote > Then the best solution for you is keep apart the library project. This is easy with RHIDE, as explain in previous post. > If, as you say, need recompile often, maybe you need use 'make' program. >2) I looked into final .a file, it had many imho unnecessary informations, >how can I shrink it ? Take into account that you are compile with debug information. >Thanks in advice > >-- >Rafał 'Raf256' Maj >GG-1175498