LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   need a archive creator and management library (https://www.linuxquestions.org/questions/programming-9/need-a-archive-creator-and-management-library-650893/)

linuxsavar 06-22-2008 11:04 AM

need a archive creator and management library
 
hi all
I am in developing a programm.it should works with many files and i have to union all of them in a single archive.
so please introduce me a library in c or c++ with this features:
1)Cross platform(gcc in linux and msys+mingw in window$)

2)Ability to append a file to existing archive

3)Ability to remove a file from existing archive

4)Format of archive is'nt important but for speed reason it should not be compressed

5)If it support compressing for my future developing is cool
thanks.

osor 06-22-2008 01:02 PM

What about libtar?

linuxsavar 06-23-2008 12:33 AM

i cant compile libtar on msys+mingw and cant find any precompiled on internet
if anybody has a dll of libtar for msys not cygwin and help me i am pleased him

gnashley 06-23-2008 01:43 AM

Maybe libarchive?

linuxsavar 06-23-2008 03:14 AM

i studied libarchive manually and its example three days but in its manually i dont find how can i append file or remove file from existing archive if anybody know about this abilities in libarchive please say about it to me
thanks

osor 06-23-2008 03:02 PM

Quote:

Originally Posted by linuxsavar (Post 3192277)
i cant compile libtar on msys+mingw

You haven’t specified what goes wrong when you try. Give us some error messages.

linuxsavar 06-24-2008 03:32 AM

Quote:

You haven’t specified what goes wrong when you try. Give us some error messages.
this link explaines all problems
http://translate.google.com/translat...%3Den%26sa%3DN


All times are GMT -5. The time now is 08:48 PM.