MorphOS Developer
Posts: 619 from 2005/8/27
From: the land with ...
Quote:
When I run fd2pragma (assuming thats the right tool) I only get either empty files that just point to another (non-existing) header or some big header that includes #ifdefs for everything back to MaxonC but will do sweet hugging nothing for MorphOS.
It's not the right tool. ;)
Quote:
Or in short what do I have to do with fd-files ....
Use cvinclude.pl that comes with the SDK, something like this:
cvinclude.pl --fd=fd/foo.fd --proto=proto/foo.h --clib=clib/foo_proto.h --inline=ppcinline/foo.h
..which will autogenerate proto/foo.h and ppcinline/foo.h for you, you will have to provide a clib/foo_proto.h with function prototypes yourself though if you don't already have one.
- CISC
[ Edited by CISC on 2010/3/1 15:17 ]