[Gc] Re: Build with -m32 on 64bits OSX

Yi Lin qinsoon at gmail.com
Mon Jun 24 18:46:39 PDT 2013


I think my question should be how to get a static library (gc.a) from 
configure/make.
I used to use Makefire.direct to generate gc.a

Thanks very much.

Regards,
Yi

On 24/06/13 14:59 , Yi Lin wrote:
> Hi,
>
> I am trying to build gc with -m32 flag under 64bits OSX. I use 
> 'CFLAGS=-m32 LDFLAGS=-m32 ./configure;make'. However, no error 
> message, but no 'gc.a' was generated.
>
> I noticed there were some complaints during building:
> /opt/local/bin/ranlib: file: .libs/libgc.a(checksums.o) has no symbols
> /opt/local/bin/ranlib: file: .libs/libgc.a(gc_dlopen.o) has no symbols
> /opt/local/bin/ranlib: file: .libs/libgc.a(pcr_interface.o) has no 
> symbols
> /opt/local/bin/ranlib: file: .libs/libgc.a(real_malloc.o) has no symbols
> /opt/local/bin/ranlib: file: .libs/libgc.a(specific.o) has no symbols
> /opt/local/bin/ranlib: file: .libs/libgc.a(backgraph.o) has no symbols
> /opt/local/bin/ranlib: file: .libs/libgc.a(pthread_stop_world.o) has 
> no symbols
>
> Can anyone give a hint?
>
> I want to get a 32bits library so I can link it with my program (32 
> bits). Thanks very much.
>
> Regards,
> Yi Lin



More information about the Gc mailing list