chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Problem compiling static executable on Mac OS X


From: felix winkelmann
Subject: Re: [Chicken-users] Problem compiling static executable on Mac OS X
Date: Mon, 2 May 2005 23:43:39 -0700

Hm... I have no idea (and no OS X system to test it).

Can somebody with access to a Mac confirm this problem?


cheers,
felix

On 5/2/05, Henrik Tramberend <address@hidden> wrote:
> Hi,
> 
> i seem to be unable to compile a static chicken executable on Mac OS X.
> 
>  > csc -v -static static.scm
> /opt/chicken/bin/chicken static.scm -output-file static.c -feature
> chicken-compile-static -quiet
> gcc static.c -o static.o -g -DHAVE_CHICKEN_CONFIG_H -c -
> DC_NO_PIC_NO_DLL -I /opt/chicken/include
> rm static.c
> gcc -o static static.o /opt/chicken/lib/libchicken.a -L/opt/chicken/
> lib -static  -ldl -lm
> /usr/bin/ld: can't locate file for: -lcrt0.o
> collect2: ld returned 1 exit status
> *** Shell command terminated with exit status 1: gcc -o static
> static.o /opt/chicken/lib/libchicken.a -L/opt/chicken/lib -static  -
> ldl -lm
> 
> Any idea what might be wrong here?
> 
> Regards
> Henrik
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>




reply via email to

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