[Anjuta-list] Re: How to execute file in Anjuta?
- From: Anthony Mak <anthony mak nicta com au>
- To: anjuta-list lists sourceforge net
- Subject: [Anjuta-list] Re: How to execute file in Anjuta?
- Date: Mon Jul 26 23:04:15 2004
I have finally found out how to build and execute a simple file in Anjuta.
Anjuta is pretty cool except you have to be careful and manually do
somethings
(see Steps 3 and 4 below).
Lets say I have a program "helloworld.c".
How to run helloworld.c in Anjuta:
1. Create directory e.g. /usr/local/project/helloworld and
file /usr/local/project/helloworld/helloworld.c.
2. Open Anjuta and select "Open Existing Project" (when prompted at
splash screen) by
browsing to the helloworld.c file.
3. **Create makefile using any editor inside the above directory for
the above c file.
4. **Make sure the target filenme is correct at Project->Configure
Project->General (tab)->Target
e.g. set to a.out or helloworld depends on the target/executable
filename set at makefile.
5. Build->Build
6. Build->Execute
Anthony Mak wrote:
Dear all,
Are there any Anjuta expert out there?
My problem is I am trying to Execute a simple c file inside Anjuta.
I have create a makefile and successfully Build the program. But when
I try to click Build->Execute, it complains "The target executable
does not exist for this Project". I have looked through the
documentation in the Help menu, but they all says it is a simple
matter of clicking the Compile then the Build and then the Execute and
wharla! Also, I can't find any thing about this problem on the net.
Any idea?
Thankz!
Anthony
Anthony
--
Anthony Mak
Research Programmer
Logic and Computation
National ICT Australia (Canberra)
http://www.nicta.com.au
Phone: +61 02 6125 1371
E-mail: anthony mak nicta com au
Web page:
Address:
Room B123, RSISE(Building 115),
Australian National University, Canberra ACT
0200, AUSTRALIA.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]