[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Problem compiling static executable on Mac OS X
From: |
Henrik Tramberend |
Subject: |
[Chicken-users] Problem compiling static executable on Mac OS X |
Date: |
Mon, 2 May 2005 16:38:56 +0200 |
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