chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Using csc with clang


From: Jim Ursetto
Subject: Re: [Chicken-users] Using csc with clang
Date: Wed, 3 Oct 2012 10:30:05 -0500

Upgrade to 4.7.0.6 or 4.8.0, the fix to work with clang wasn't in until after 
4.7.0.  4.6.0 is very old at this point.

Also I would build chicken with "make PLATFORM=linux C_COMPILER=clang" and then 
all your eggs and code will automatically be built with clang.  I doubt it is 
safe to use "-cc clang" just for one file.

On Oct 3, 2012, at 8:08 AM, bn wrote:

> Hello,
> 
> I'd like to know if it is possible to use csc with clang as a C compiler. I 
> started with a simple scheme "program" hello,scm
> (write 42)
> csc hello.scm compiled fine and really printed 42 !
> csc -cc clang hello.scm
> also compiled fine but the resulting executable did nothing
> but to use almost 100% CPU.
> 
> I tested this on Linux/Ubuntu with
> csc
> Version 4.6.0
> linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
> compiled 2011-05-01 on crested (Linux)
> 
> and clang
> clang version 2.9 (tags/RELEASE_29/final)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> 
> as well as on Windows 7 with cygwin.
> 
> Any idea what's wrong?
> 
> Burkhard
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]