To end part 1 I will summarize what information I have gathered for part 2:
I have learned alot getting to this point in part 1. Firstly, I learned that library files can only be linked by using sudo ldconfig and the files must be in usr/lib. Secondly, I learned how to alter an advanced Makefile's flags from vi instead of command line CFLAGS argument with ./configure. Thirdly, I learned that certain libraries have cflags that must be enabled to compile with that library. In conclusion, this has been very informative and I expect this to be extremely useful in other open source development projects.
- I am optimizing clib, a package manager.
- After benchmarking, it is clear there is a significant time delay in some advanced calls of the SHA1 function, such as ones that call update many times.
- To optimize, I am going to add the -O3 flag and remove a loop condition (currently).
- This project is relatively small with no ./configure for other platforms.
- The Sha1 code is unique and does not conform to the simple sha1 algorithm such as on Wikipedia.
- The documentation (i.e. README) is relatively vague at describing the dependancies. It suggests only syntax that implies installation and isn't clear at documenting development vs. published code.
I have learned alot getting to this point in part 1. Firstly, I learned that library files can only be linked by using sudo ldconfig and the files must be in usr/lib. Secondly, I learned how to alter an advanced Makefile's flags from vi instead of command line CFLAGS argument with ./configure. Thirdly, I learned that certain libraries have cflags that must be enabled to compile with that library. In conclusion, this has been very informative and I expect this to be extremely useful in other open source development projects.
Comments
Post a Comment