home *** CD-ROM | disk | FTP | other *** search
- fd2gcc is a simple and incomplete program to generate gcc inline headers.
- It was written too fast to be general purpose and after all I only needed
- it for reqtools.library anyway.
-
- e.g. for foo.library
-
- join fd:foo_lib.fd include:clib/foo_protos.h as foo.in
-
- fd2gcc <foo.in >foo.out
-
- foo.out should be edited a bit and then moved to inline directory.
-
- fd2gcc is not 100% correct and fails on things like mathXXX.library (2
- return registers) but most libraries pass ok.
-
- So, if you don't have perl, fd2gcc might be just what you need.
-
- Also note that if you use some special names in your foo_protos.h
-
- e.g. LONG FooFunc(struct FooStruct *foostruct, BlahBlah);
- ^^^^^^^^
-
- You'll have to add the string "BlahBlah" to the OTHERS in fd2gcc.l
-
- marc.
-
-