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

Ivan Maidanski ivmai at mail.ru
Mon Jul 1 13:26:01 PDT 2013


 Hi Yi,

I haven't tried compiling GC for OSX for a long time. As I recall, you should pass "-arch i386" both to CFLAGS and LDFLAGS.

Someone on the list should know better.

Regards,
Ivan

Tue, 25 Jun 2013, 11:46 +10:00 from Yi Lin <qinsoon at gmail.com>:
>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
>
>_______________________________________________
>Gc mailing list
>Gc at linux.hpl.hp.com
>http://www.hpl.hp.com/hosted/linux/mail-archives/gc/


-- 
Иван Майданский
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/gc/attachments/20130702/a3f65589/attachment.htm


More information about the Gc mailing list