bayoumi

Feature Request: link br functions calls to C under windows

Discussion created by bayoumi on Apr 15, 2008
Latest reply on Apr 17, 2008 by michael.chu
Hi,
In order to be able to use br as function and call it from a C code (originally written for (Linux), I needed to put manually into the C++ file generated by brook:
extern "C" {
function calling brook kernel
}

This works fine, but when I try to add it in brook, it gives syntax error. Unless there is a better way to do it, I suggest letting brook compiler accept the "extern "C" . This will help us use makefiles for large programs. Otherwise, I will have to go manually after each make iteration, stop the makefile and change files every time

Best Regards
Amr

Outcomes