[eresi-dev] libasm Makefile problem

Julien F. Vanegue jfv at cesar.org.br
Mon Aug 18 20:50:58 UTC 2008


You are right. Not just we link a .o and a library, but the library
is linked twice. This is not necessary. I have changed this in the
Makefile and just commited. Let me know if my change resolves
your problem.

zadig bru wrote:
>> This is incorrect. First libasm is linked entirely as a single .o
>> (for inclusion in the libe2dbg), then libasm is linked as a shared
>> library (for linking with the top-level executables).
>>     
>
> mmm, it seems that the opposite is done. On line 143 there is:
>         $(LD) -L../libaspect/ -laspect32 -shared ${OBJS32_libasm} -o libasm32.so
>
> This builds the shared library, and then line 148 there is:
>         $(LD) -r $(OBJS32_libasm) -o ${NAME32_libasm_o}
> That builds the relocatable object. The remaining lines near "ifeq
> ($(IRIX),1)" seem redondant (and incomplete) with the first build
> command to me.
>   



-- 
Julien F. Vanegue - System Engineer
CESAR (Recife Center for Advanced Studies and Systems)
Tel: (+55 81) 3425 4649





More information about the eresi-dev mailing list