Building shared objects in Xcode?
Building shared objects in Xcode?
- Subject: Building shared objects in Xcode?
- From: Anand Patil <email@hidden>
- Date: Sun, 25 Dec 2005 11:42:29 -0800
Hi all,
I'm a novice C programmer trying to turn C function libraries into shared
objects that can be loaded by the statistical language R.
I know how to compile them as 'external targets' using Make, but Xcode 1.1
doesn't seem to actually show any compiler errors for external targets or
allow you to load them in the debugger, so I'd like to build them as native
Xcode projects.
A Makefile that works follows. How would I build an equivalent shored
object in Xcode?
Thanks very much in advance,
Anand
CC = gcc -O3 -Wall
RPP = g++ -bundle -flat_namespace -undefined suppress
OBJS = marcdemo_c_file.o
all: marcdemo_shared_object
clean:
- rm -i *.o
marcdemo.o: ${OBJS} marcdemo_c_file.c
${CC} -c marcdemo_c_file.c
marcdemo_shared_object: ${OBJS} marcdemo_c_file.o
${RPP} -o marcdemo_shared_object.so ${OBJS}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden