[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: -embedded and main()
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Re: -embedded and main() |
Date: |
Mon, 31 Aug 2009 08:41:14 +0200 |
On Sun, Aug 30, 2009 at 7:16 PM, Derrell Piper<address@hidden> wrote:
> Ah. I was using 3.4.0 but I started off with the trunk. Doesn't seem to
> matter.
>
> What I'm trying to do is compile the C from within an XCode project. The
> target is the iPhone Simulator for now. I take it I just need to make sure
> C_EMBEDDED is defined when the resulting .c is compiled?
>
I think so, yes. You should pass the output of `csc -e -cflags` to C files
(also check out "-ldflags -libs").
cheers,
felix