Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 501 Bytes

readme.md

File metadata and controls

5 lines (3 loc) · 501 Bytes

simple test for linking a file to an executable

Call the golinktest program with 2 arguments: the data file which you want to link, and the new executable program. Then you can call the new executable with one argument, which specifies the name of the data file to which the linked data is extracted.

See the test script to see for an example and how to use it. It compiles the program, creates a new executable with it, then extracts the test data and compares it with the original.