-------------- Original message from [email protected]: -------------- 
>My next problem is with C function calls.  I am only defining one simple call:
>
>c-function DeviceIoControl DeviceIoControl n n a n a n a a -- n
>
>This gives me the following errors:
>
>Compiling RAM 19 13 12 
>/cygdrive/c/emacs/.gforth/libcc-tmp/gforth_c_7FCD27B4.c:1:32: 
>>gforth/0.7.0/libcc.h: No such file or directory
<snip>
>It looks like the reference to libcc.h is not being built properly.

Now this is getting complicated.  I found where to change it, in libcc.fs:

\ s" #include <gforth/" version-string s+ s" /libcc.h>" append ( c-addr u )
s" #include </usr/local/include/gforth/0.7.0-20081108/libcc.h>" ( c-addr u )
  2dup save-c-prefix-line drop free throw

I get the right thing when I make the system, but then when I make install it 
reverts back to:

gforth/0.7.0/libcc.h

Arg!!!!

DaR


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to