From: broeker AT physik DOT rwth-aachen DOT de Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro and interrupts: Again! Date: 31 Mar 2000 15:45:08 GMT Organization: Aachen University of Technology (RWTH) Lines: 28 Message-ID: <8c2h64$ohj$1@nets3.rz.RWTH-Aachen.DE> References: <38E3B107 DOT 52690C10 AT tiscalinet DOT it> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 954517508 25139 137.226.32.75 (31 Mar 2000 15:45:08 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 31 Mar 2000 15:45:08 GMT Originator: broeker@ To: djgpp AT Delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com [Why post this as a new thread? You should've followed up on the existing articles...] night DOT walker AT tiscalinet DOT it wrote: > Hans-Bernard Broeker wrote: >>...you can always lookup the size of the sin() function... > How? > Allegro uses a fake function... I can't add a fake func on a library > func... > I have to compile my own sin() from the libm src? No. Just have a look at the contents of libm.a: ar tv c:/djgpp/lib/libm.a sin.o or a bit more accurately: size c:/djgpp/lib/libm.a | grep sin This only works if sin() is a single function. You can also checkout an 'objdump' of your executable: search for the position of '_sin', and the next symbol that follows it. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.