I'm trying to compile a library to use with delphi, i can compile the library perfectly on GCC, but unfortunately GCC .o files are not compatible with delphi

so i tried compiling with BCC5.5 , it compiles nice, generates a .obj file for each .c,

i used {$link xxx.obj} on all generated .obj , declared all needed C missing routines,

but Delphi complains about functions not declared

Unsatisfied forward or external declaration: '_bitindex'
etc..

but these functions are under the C files i compiled :roll:

how to solve the problem? :?