Linking object codes
Linking object codes
- Subject: Linking object codes
- From: Rich Frazin <email@hidden>
- Date: Wed, 7 Dec 2005 13:59:14 -0600
I'm new to Xcode and I've found that Apple's documentation does
not have enough examples for me to get started with building C
applications. Here is an example problem that I would like
to solve
with Xcode instead of using a Makefile:
I have two source files, main.c and brent.c. How do I use Xcode to perform the equivalent of these two unix commands?
rich>gcc -c -o brent.o brent.c
rich>gcc -lm -o myapp brent.o main.c
I have already started the Project in Xcode and I have the two .c
source files in the project. I don't know how to tell Xcode that
myapp depends on brent.o, how to build brent.o, or how to link
them.
Also, where does Xcode put the object files?
Thanks,
Rich
_______________________________________________
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