[gnome-devel-docs] Added instructions on compiling C using valac.
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Added instructions on compiling C using valac.
- Date: Fri, 8 Jun 2012 01:43:57 +0000 (UTC)
commit 8b0764710e9c0145a9e3062b4f6b46cf9e1acb3e
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date: Thu Jun 7 21:43:08 2012 -0400
Added instructions on compiling C using valac.
platform-demos/C/beginner.c.page | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/beginner.c.page b/platform-demos/C/beginner.c.page
index be2fe79..80daafb 100644
--- a/platform-demos/C/beginner.c.page
+++ b/platform-demos/C/beginner.c.page
@@ -49,7 +49,17 @@
<p>
For more information about compiling Gtk+ programs see <link href="http://developer.gnome.org/gtk3/3.4/gtk-compiling.html">Compiling Gtk+ Applications on UNIX</link>.
</p>
-</note> <section id="windows" style="2column"><title>Windows</title>
+ </note>
+ <p>You can also use the Vala compiler to compile these samples:</p>
+ <steps>
+ <item><p>In the terminal type:</p>
+ <screen>valac --pkg gtk+-3.0 <var>filename</var>.c</screen>
+ </item>
+ <item><p>To run:</p>
+ <screen>./<var>filename</var></screen>
+ </item>
+ </steps>
+ <section id="windows" style="2column"><title>Windows</title>
<p></p>
</section>
<section id="display-widgets" style="2column"><title>Display widgets</title>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]