WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=61b5e9df2b2d398ee3e534a9199d59e29ddf43ee
commit 61b5e9df2b2d398ee3e534a9199d59e29ddf43ee Author: Andrew Williams <a...@andywilliams.me> Date: Fri Jan 5 07:33:23 2018 -0800 Wiki page start.md changed with summary [This is about dev] by Andrew Williams --- pages/develop/setup/c/start.md.txt | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/pages/develop/setup/c/start.md.txt b/pages/develop/setup/c/start.md.txt index ded3a877c..fdb5c299b 100644 --- a/pages/develop/setup/c/start.md.txt +++ b/pages/develop/setup/c/start.md.txt @@ -4,14 +4,23 @@ # Setting Up a C Development Environment # -Installing the Enlightenment Foundation Libraries for C development is a simple task on common platforms. The following documentation walks you through the process step-by-step, beginning with selecting your development platform's operating system. +[Installing the Enlightenment Foundation Libraries](https://www.enlightenment.org/docs/distros/start) for C development is a simple task on common platforms. -## Operating Systems ## +The following documentation adds to that by describing how to install and run the right tools and prepare for building apps using EFL. +## Compiling EFL Applications ### -* [Ubuntu](ubuntu.md) -* [Arch Linux](arch.md) -* [Debian](debian.md) -* [Fedora](fedora.md) -* [FreeBSD](freebsd.md) -* [openSUSE](opensuse.md) -* [macOS](macos.md) \ No newline at end of file +With EFL installed, you can start compiling the applications you write using Enlightenment technologies: + +```bash +gcc -o your_app your_app.c `pkg-config --cflags --libs eina efl elementary` +``` + +Where ``your_app`` is the name of the app you want to build and ``your_app.c`` contains the source code of your application. + +If the compilation is successful, this will create an executable application called *your_app* in the directory. You can run this app like any other program. + +## Troubleshooting ## + +If you get errors when you compile the examples in this guide, you may be using an out of date version of EFL. Update your libraries installing from [EFL's git repository](#Installing_from_Git). + +If you are having problems compiling and installing EFL, you can come and seek advice on the [any of our IRC channels](https://www.enlightenment.org/contact) or [post a ticket to our Phabricator](https://phab.enlightenment.org). \ No newline at end of file --