On 11 Nov, John-Mark Bell <jmb(a)netsurf-browser.org> wrote:
On Tue, 11 Nov 2008, Michael Gerbracht wrote:
> added "c" and "h" directories, copied the
files into it and removed
> the /c and /h ending
If you checked the sources out using SVN, then this should have been
Ok, that's good to know for the next time. In this case there were only a
few files so it was ok.
> - trying to compile with: "gcc pencil_build.c -o
This won't work, as you've discovered. You're only
building one of the
library source files here. pencil_test.c is the source file for the test
Yes, "penciltest" was probably a confusing name. I expected that
pencil_build will be compiled and saved as a file called penciltest. I did
not confuse it with pencil_test. But I was not aware that you have to use
two source files together to build one library file. (You do not have to
explain. If I use C more often then I am sure I can read this in every C
Something like: [...]
will give you the library.
will give you the test binary.
With your help I was able to build both the library and test binary
without problems and ended up with a draw file. So for me my problem is
Thank you very much!