LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-22-2008, 11:04 AM   #1
linuxsavar
Member
 
Registered: May 2007
Distribution: slackware
Posts: 34

Rep: Reputation: 15
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.
 
Old 06-22-2008, 01:02 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
What about libtar?
 
Old 06-23-2008, 12:33 AM   #3
linuxsavar
Member
 
Registered: May 2007
Distribution: slackware
Posts: 34

Original Poster
Rep: Reputation: 15
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
 
Old 06-23-2008, 01:43 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Maybe libarchive?
 
Old 06-23-2008, 03:14 AM   #5
linuxsavar
Member
 
Registered: May 2007
Distribution: slackware
Posts: 34

Original Poster
Rep: Reputation: 15
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

Last edited by linuxsavar; 06-23-2008 at 03:16 AM.
 
Old 06-23-2008, 03:02 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by linuxsavar View Post
i cant compile libtar on msys+mingw
You havenít specified what goes wrong when you try. Give us some error messages.
 
Old 06-24-2008, 03:32 AM   #7
linuxsavar
Member
 
Registered: May 2007
Distribution: slackware
Posts: 34

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LINUX - linking archive (static library) with shared (dynamic) library gurkama Programming 5 03-04-2007 11:11 PM
Using Package Archive style package management mugwump84 Linux From Scratch 3 08-25-2005 05:19 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
volume management library functions on Linux vtluu Red Hat 0 04-09-2004 02:05 AM
importing an MS Outlook archive archive.pst alloydog Linux - Software 2 08-29-2003 03:02 PM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration