[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linkar arquivos *.o para arquivos *.a



On Wed, Sep 10, 2003 at 08:20:13AM -0300, tales wrote:
> Bom dia Pessoal !!!!!
> 
> 
> 
> Como faço para linkar um arquivo *.o        a   um arquivo *.a,
> 
> compilei um programa em c :
> 
> # gcc -c teste.c
> 
> Ele me gerou teste.o
> 
> Agora preciso linkar este *.o   a  uma biblioteca *.a.

man ar(1)
man ranlinb(1) 
e as entradas de binutils no Info

> Se alguem puder me ajudar 
> 
> Tales Rodrigo de macedo
-- 
Mario O.de Menezes, Ph.D.    "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                is the Lord's purpose that prevails"
http://www.ipen.br/~mario                  Prov. 19.21
    



Reply to: