LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   develop[ment (https://www.linuxquestions.org/questions/linux-newbie-8/develop%5Bment-813831/)

prateek.k0209 06-13-2010 03:53 AM

develop[ment
 
Hey,
I am new to Linux but I know the c under Linux .
I have developed a code using c,which i wish to
use as a software...but don't know the complete information about
same.I know only some part of it but not clearly..so anyone please
give me idea about how should i start developing it ??

Nylex 06-13-2010 05:19 AM

Can you explain your question in more detail please, because I don't really understand it. I understand that you've written a program in C and then I don't really understand the problem. Do you not know how to compile your software, or how to run it, or both?

prateek.k0209 06-13-2010 05:28 AM

actually...
just like a normal software..i have all the necessary
*.c and *.h files but i dont know how to link them together
and get my software installed on my machine.
like any other package, you download to install, has
files such as configure,conf*.ac,install-sh,missing,makefile etc...
so how to create them and all related information to this , i need...
can you help me? also i googled everything but still its not clear to me.

MrCode 06-13-2010 06:15 AM

So basically you're wondering how to build your software, then install it as a package? for compiling, you should familiarize yourself with the likes of gcc, ld, make, etc. These are the standard compilation/linking tools used by most GNU/Linux distributions.

As for compiling it into a package, you'd need to be familiar with how your distribution packages software (e.g. Debian and derived distros use the .deb format, Red Hat-like distros use the .rpm format, etc.), and the tools used for each.

knudfl 06-13-2010 06:48 AM

'make' and autotools
http://www.gnu.org/software/autoconf/
http://www.gnu.org/software/automake/
http://sourceware.org/autobook/

http://www.freesoftwaremagazine.com/..._gnu_autotools
http://www.freesoftwaremagazine.com/...with_autotools
http://www.freesoftwaremagazine.com/..._with_autoconf

http://www.wlug.org.nz/MakefileHowto
http://www.eng.hawaii.edu/Tutor/Make/


All times are GMT -5. The time now is 07:31 AM.