create an object file (extension .o) for each file to bundle compile libsearch4j working out the size of the objects creating wrapper header file compile the wrapper program link the compiled code and bundled files