Thread: How to make tarball (.tgz) for app?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    9
    Hi brewbuck!
    Please breaf me in!
    So I do not need the configure script?
    It is generated by autoconfig, how does it work, what does autoconfig generate?
    I am about to finish a terminal program with no dependencies of other apps.
    The way I have understood it I need a confígure script when I have dependencies of other apps, like for instance if I need a SQL-server I specify it in a configure script, am I right?
    How do I write my makefile file? What is needed in it? Please point me in the right direction!

    Many, many thanks for all the help!!

  2. #2
    Registered User divineleft's Avatar
    Join Date
    Jul 2006
    Posts
    158
    Quote Originally Posted by Marcux View Post
    Hi brewbuck!
    Please breaf me in!
    So I do not need the configure script?
    It is generated by autoconfig, how does it work, what does autoconfig generate?
    I am about to finish a terminal program with no dependencies of other apps.
    The way I have understood it I need a confígure script when I have dependencies of other apps, like for instance if I need a SQL-server I specify it in a configure script, am I right?
    How do I write my makefile file? What is needed in it? Please point me in the right direction!

    Many, many thanks for all the help!!
    the configure executable is just for the makefiles to know where the libraries are located, if certain libraries are even installed, where to install the program, what features to include / exclude, etc... You don't need it, but if you're looking to distribute your code to others, you might want to look into a program that automatically configures the makefiles and stuff.

    as for makefiles, they are pretty much standard gnu stuff. you can look into them here. all they do is automate the compiling process, including linking, removing old object files, installing files, etc..

    You technically don't need either makefiles or autoconfigurations, but there's nothing bad about `make` that i can think of and it makes your life as a developer a hell of a lot easier. autoconf on the other hand... well, only use it if you have to.
    Gentoo Linux - 2.6.22.1
    GCC version 4.2.0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Makefile Problem: None rule to make target
    By chris24300 in forum Linux Programming
    Replies: 25
    Last Post: 06-17-2009, 09:45 AM
  2. Establishing 'make clean' with GNU make
    By Jesdisciple in forum C Programming
    Replies: 9
    Last Post: 04-11-2009, 09:10 AM
  3. How to make a Packet sniffer/filter?
    By shown in forum C++ Programming
    Replies: 2
    Last Post: 02-22-2009, 09:51 PM
  4. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  5. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM