LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2008, 10:45 PM   #1
hougaga
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
Cross-compile cdrdao in ppc ,cdrdao's size is too large


Hi,everyone
I want to compile cdrdao in ppc ,after I compiled the cdrdao-1.2.2 package,I list the cdrdao's size just compiled.the size is almost 4M,it's too large for ppc ,but I searched in the net.somebody else compiled the cdrdao's size is only 500k-700k,I changed almost all the configure's flags ,the best result is the cdrdao's size up to 2.6M.
Could somebody tell me how to compile it can get smaller size of "cdrdao".
Thanks
 
Old 02-26-2008, 10:52 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian Squeeze, Gentoo
Posts: 1,147
Blog Entries: 1

Rep: Reputation: 48
Try compiling it with whatever features you want then run this command:

Code:
strip cdrdao
in the same directory as the cdrdao executable. This strips out the debugging symbols from an executable. With such a large executable, it's likely that the symbols are in there. This can often reduce the size drastically.
 
Old 02-27-2008, 03:56 AM   #3
hougaga
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot ,it's just this problem.I had solve it

Thanks a lot ,it's just this problem.I had solve it
 
Old 02-27-2008, 09:15 AM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian Squeeze, Gentoo
Posts: 1,147
Blog Entries: 1

Rep: Reputation: 48
No problem. Did that work for you? If its not enough, there may be other things you can try as well.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
glib Error: while building Cross-Compiler for PPC Dhana_pal Linux From Scratch 2 12-28-2006 12:57 AM
Cross platform filesystem for large drives Aerlock Linux - Software 1 04-02-2006 04:07 AM
How to cross-compile? karfei00 Linux - Laptop and Netbook 2 06-03-2004 09:56 AM
cdrdao 1.1.8 compile error TheOneAndOnlySM Linux - Software 2 02-24-2004 06:22 PM
Large drive- too much space lost by large block size? tome Linux - General 5 12-14-2001 01:32 PM


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

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
Open Source Consulting | Domain Registration