Mail Archives: djgpp/1998/08/11/03:51:16
>I program in DJGPP with allegro, but I have a incredible awesome sound
>player libary that I downloaded from the internet. It has libarys for
>C/C++, ASM, Basic, Powerbasic, ETC.
Hi. My advice on the easiest path:
Contact the author and ask him for the C/C++ source code.
Failing that, get a library editor and extract all the .O files from the
C/C++ .lib, then re-link then into a .a file for use with GNU GCC
(DJGPP).
Failing that, disassemble the asm .lib file with Sourcer. Re-label the
entry points into the library calls. Then write an array of pointers to
function which each point to a function containing AT&T assembly code to
load the function arguments from the call into local variables and then
into the assembly language variables, and then call the library function
from the assembly.
There may be easier ways to do what I have described, I am just trying
to be "clear". There may be a better solution.
--Oliver
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
- Raw text -