pascal x C
Posted: Mon Oct 29, 2007 4:39 pm
Hi,
i'm a brazilian programmer and i'm reading about OS development.
Initially, i write my own OS using asm and C. I write a lot of functions, and now I started a new OS using asm and Pascal (I prefer)...
My question: How can I use a function written in C in a pascal code?
I don't wanna write it again...
(I generated the .o file using: gcc -Wall -O -nostdlib -fno-builtin -fno-exceptions -I./include -c -o isrs.o isrs.c).
(Sorry for my english..)
Thanks!
i'm a brazilian programmer and i'm reading about OS development.
Initially, i write my own OS using asm and C. I write a lot of functions, and now I started a new OS using asm and Pascal (I prefer)...
My question: How can I use a function written in C in a pascal code?
I don't wanna write it again...
(I generated the .o file using: gcc -Wall -O -nostdlib -fno-builtin -fno-exceptions -I./include -c -o isrs.o isrs.c).
(Sorry for my english..)
Thanks!