chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Build attempt for the iPhone


From: Kon Lovett
Subject: Re: [Chicken-users] Build attempt for the iPhone
Date: Fri, 6 Jun 2008 17:52:25 -0700


On Jun 6, 2008, at 9:55 AM, john wrote:

I had a go at building Chicken 3.2.0 for the iPhone.

It goes through compilation ok but fails linking:

arm-apple-darwin-gcc  -dynamiclib -compatibility_version 1
-current_version 1.0 -install_name libchicken.dylib  \
         -o libchicken.dylib library.o eval.o data-structures.o
extras.o lolevel.o utils.o tcp.o srfi-1.o srfi-4.o srfi-13.o srfi-14.o
srfi-18.o srfi-69.o posixunix.o regex.o scheduler.o profiler.o stub.o
match.o runtime.o pcre/pcre_compile.o pcre/pcre_config.o
pcre/pcre_dfa_exec.o pcre/pcre_exec.o pcre/pcre_fullinfo.o
pcre/pcre_get.o pcre/pcre_globals.o pcre/pcre_info.o
pcre/pcre_maketables.o pcre/pcre_newline.o pcre/pcre_ord2utf8.o
pcre/pcre_refcount.o pcre/pcre_study.o pcre/pcre_tables.o
pcre/pcre_try_flipped.o pcre/pcre_ucp_searchfuncs.o
pcre/pcre_valid_utf8.o pcre/pcre_version.o pcre/pcre_xclass.o
pcre/pcre_chartables.o -lm
/usr/local/bin/arm-apple-darwin-ld: Undefined symbols:
___eprintf

I had a go at hacking in a some code to resolve this function but then
got another similar error for _fiprintf so decided that was not a good
move.

Any pointers?

I haven't looked at the iPhone SDK but I suspect it "encourages" Objective-C & Cocoa programming. Look into Std C library support.

Chicken uses the C runtime for many operations.



Cheers,

John.


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon






reply via email to

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