Mail Archives: djgpp/1998/02/05/17:04:11
>global _Test
Here you are declaring a function which would be called Test in C (not C++).
>// extern int Test (void);
> x = Test();
> When I uncomment the extern statement, however, I get a SIGSEGV error,
Here you are telling it to look for _Test__Fv. Here is the call statement
that the compiler generates.
call _Test__Fv
>I've also installed RSXNTDJ, if that
>does anything funky to the compiler. Thanks for any help,
I think the linker for RSX doesn't give you errors about unresolved
externals, which is what you have.
Either rename your function in the nasm module, or specify to use C style
mangling in your extern (extern "C")
HTH
Andy
- Raw text -