Mail Archives: djgpp/2000/11/06/03:10:07
>
> I just searched the Allegro folder for irq_wrapper_0
> and got this
>
> Searching for 'irq_wrapper_0'...
> c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(39):extern void _irq_wrapper_0(),
> _irq_wrapper_1(),
> c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(43): _irq_wrapper_0_end();
> c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(56): LOCK_FUNCTION(_irq_wrapper_0);
> c:\ALLEGWIP\ALLEGRO\src\dos\djirq.c(109): case 0: addr.offset32 =
> (long)_irq_wrapper_0; break;
>
c:\ALLEGWIP\ALLEGRO\src\dos\wat.c(468):END_OF_STATIC_FUNCTION(irq_wrapper_0)
> ;
> c:\ALLEGWIP\ALLEGRO\src\dos\wat.c(479): LOCK_FUNCTION(irq_wrapper_0);
> c:\ALLEGWIP\ALLEGRO\src\dos\wat.c(488): case 0: _dos_setvect(num,
> irq_wrapper_0); break;
> 7 occurrence(s) have been found.
>
> which suggests to me the function is defined differently for each
compiler.
> Are you sure you are including the one you want?
>
>
>
Thanks for the reply. I'm using the DJGPP version of the files with djgpp
version of gcc. I think that this is what I want? The problem seems to be
that
gcc(linker) doesn't appear to see the _irq_wrapper... labels as global from
irqwrap.S.
Paul
- Raw text -