[Top][All Lists]

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

[Chicken-users] Using csc with clang

From: bn
Subject: [Chicken-users] Using csc with clang
Date: Wed, 03 Oct 2012 15:08:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1


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
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?


reply via email to

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