Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unRAR success and a couple concerns



Well, I got the unRAR port to compile and run.  Seems to work fine.  A
couple things I'd like to try and figure out, tho they don't seem to
affect the program:

1.  in the c++ line in the makefile I had to remove the -s option or I'd
get an error about having only indirect symbols in a file.  Then I run
strip on the binary.  After comparing this binary to other unix builds
and to the older MOSX version, mine is WAY to big (200K vs ~60K).  any
ideas on how to get this working?

2.  The author used some macros that are defined in system headers:
BIG_ENDIAN and LITTLE_ENDIAN, but only one of those.  To get this to run
right (I was getting CRC errors) I had to undefine LITTLE_ENDIAN after
the system headers were loaded.  This doesn't seem to affect the
operation of the program, but I'm concerned that something might crop up
since I didn't trace the trail back to the unrar source.

-----
William Kyngesburye <email@hidden>
http://webpages.charter.net/kyngchaos/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what
the universe is for and why it is here, it will instantly disappear and
be replaced by something even more bizarrely inexplicable.  There is
another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro
RIP Douglas Adams 1952-2001
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.





Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.