Mail Archives: djgpp/2002/05/23/04:57:21
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
- Raw text -