• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OK, I give up... help a dumb newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OK, I give up... help a dumb newbie


  • Subject: OK, I give up... help a dumb newbie
  • From: Cath Lawrence <email@hidden>
  • Date: Tue, 27 Jul 2004 14:56:30 +1000

I'm trying to use XCode to build a pure C/C++ project, no cocoa, no GUI, just plain text command line style stuff. And I'm failing hopelessly.

The problem:
I need multiple targets and I can't for the life of me figure this out.

I have a make file which will happily build from the command line, with any number of targets and dependencies. I have about 5 files with a main function. They test different aspects of the code. Naturally each target uses one and only one of those options. Then there is a large set of other common files, organised in a sensible directory structure. They are all useful, they are not all made by me as this is a shared project (with another guy working on Win32 and Visual C++ and another using pure C on a mac with no C++ and no IDE, just a makefile.)

Do I need mutliple projects, one for each main??

And then when I start a project it insists on generating a main.cpp, and when I import my files it gets upset to find that my file in TestCode/Tester.cpp also has a main function, and likewise gets upset when I try to remove the main.cpp file.

I realise that this is beginner getting-started stuff - but all the tutorials and guides I can find have been no help at all. I'm getting desperate. Must I go back to emacs and gdb and make??? Will the Visual C++ guy laugh at my puny Mac?

All help much appreciated,
thanks
Cath
Cath Lawrence,                       email@hidden
Senior Scientific Programmer,  Centre for Bioinformation Science,
John Curtin School of Medical Research (room 4088)
Australian National University,  Canberra ACT 0200
ph: (02) 61257959   mobile: 0421-902694   fax: (02) 61252595
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Disabling a Processor (From: Scott Rasche <email@hidden>)

  • Prev by Date: Extra Junk in Library
  • Next by Date: Newbie question (from Bonny Scotland)
  • Previous by thread: Re: Disabling a Processor
  • Next by thread: Re: Disabling a Processor
  • Index(es):
    • Date
    • Thread