[Top][All Lists]

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

Re: [Chicken-users] csc -static on OS X

From: felix winkelmann
Subject: Re: [Chicken-users] csc -static on OS X
Date: Tue, 30 Nov 2004 07:13:35 +0100

On Mon, 29 Nov 2004 16:52:00 -0500, Ed Watkeys <address@hidden> wrote:
> Hi,
> Do we have any OS X folks here? I'm trying to build a single-file
> executable with csc that can be given to anyone with OS X (10.3)
> without requiring them to install Chicken. csc -c foo.scm doesn't work;
> it results in the following error messages:
> ld: can't locate file for: -lcrt0.o
> *** Shell command terminated with exit status 1: gcc -o foo foo.o
> /usr/local/lib/libstuffed-chicken.a /usr/local/lib/libsrfi-chicken.a
> /usr/local/lib/libchicken.a -L/usr/local/lib -static  -ldl -lpcre -lm

Does this message appear on the target machine (i.e. the machine
that doesn't have chicken installed)? 
You should try

$ csc foo.scm -o foo -static

(add the -v option to see what the compiler/linker is doing,
this might be helpful, in case it doesn't work)


reply via email to

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