[Gc] Fwd: unable to compile GC using Apple's llvm-gcc(from XCode4)

Asst. Prof. Dmitrii (Dima) Pasechnik dima at ntu.edu.sg
Sun Apr 10 07:29:08 PDT 2011


omg, I thought it's some insanely clever (auto)configure trick that
should define it :-)

On 10 April 2011 21:24, Ivan Maidanski <ivmai at mail.ru> wrote:
> Hi,
>
> It should be set in your scripts. I typically compile GC (for my project) directly calling gcc from app script w/o any GC configure/make. Eg.:
>
> llvm-gcc --emit-llvm -g -Wall -I include -I libatomic_ops/src -DGC_THREADS -DAO_XCHGB_RET_WORD -c extra/gc.c
>
> If you (or somebody else) want to add some configuration option in configure, send me please a patch for.
>
> Regards.
>
> Sun, 10 Apr 2011 21:12:35 +0800  "Asst. Prof. Dmitrii (Dima) Pasechnik" <dima at ntu.edu.sg>:
>
>> sorry, I don't understand. I can only find
>> AO_XCHGB_RET_WORD
>> in exactly 3 places in the GC source:
>> libatomic_ops/ChangeLog:        Recognize AO_XCHGB_RET_WORD new macro (to
>> workaround a bug).
>> libatomic_ops/src/atomic_ops/sysdeps/gcc/x86.h:# ifdef AO_XCHGB_RET_WORD
>> libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h:# ifdef AO_XCHGB_RET_WORD
>>
>> Where is it getting set?
>> Am I missing something?
>>
>> Thanks,
>> Dmitrii
>>
>> On 10 April 2011 20:01, Ivan Maidanski <ivmai at mail.ru> wrote:
>> > AO_XCHGB_RET_WORD
>>
>>
>>
>> --
>> Dmitrii Pasechnik
>> -----
>> DISCLAIMER: Any text following this sentence does not constitute a
>> part of this message, and was added automatically during transmission.
>>
>> CONFIDENTIALITY: This email is intended solely for the person(s) named and may
>> be confidential and/or privileged. If you are not the intended recipient,
>> please delete it, notify us and do not copy, use, or disclose its content.
>> Thank you.
>>
>> Towards A Sustainable Earth: Print Only When Necessary
>



-- 
Dmitrii Pasechnik
-----
DISCLAIMER: Any text following this sentence does not constitute a
part of this message, and was added automatically during transmission.



More information about the Gc mailing list