CLibrary makefile not compiling
Chris Mahoney (1684) 2165 posts |
Hi, Can someone with DDE 25 please try running Sources.DDE-Examples.Skeletons.examplelib.Mk and see whether it actually runs cc? With my install it’s making some directories, and then calls “libfile -c -o o.examplelib” without having actually compiled c.examplelib in the first place. Does it work for anyone else? My install’s a bit of a mess so I’m trying to figure out whether this problem is specific to my system or something more “global”. Thanks :) |
David Pitt (102) 743 posts |
There does seem to be an issue, a dummy examplelib is created but is devoid of actual content. The library can be compiled with |
Rick Murray (539) 13840 posts |
Trying to compile as is results in this:
It lies. The library made is useless, empty. Comparing the MakeFile with one of the others, I wondered if the problem was that the OBJS was not set to tell the thing what the file should be? So I added this…
Well, the plus side is that it appears to build something. Sort of. ;-)
I looked at the MakeFile (AcornC/C++.MakeFiles.CLibrary) and figured this is the point where I’d probably put together my own MakeFile to get the job done. This is crappy (and simplistic) but it will build the library. :-P
|
Chris Mahoney (1684) 2165 posts |
Right, so it’s not just me… another one for the bug tracker then! |
Chris Mahoney (1684) 2165 posts |
Bug tracker’s still down so I finally got around to reporting this the old-fashioned way! :) |