Mail Archives: djgpp/1998/09/18/10:10:51
"Rylan" <rylan AT intekom DOT co DOT za> wrote:
> I've ran into a situation where attempting to use -O3 and even -O2 with ANY
> code that calls NASM compiled functions (in their own, seperate .O) compiles
> fine but crashes the moment the NASM code is reached. This happens without a
> stack trace, nothing - the whole program just stops. Unoptimized compiles of
> the same code runs 100%.
>
> Any ideas why, and how I can get NASM code to coexist with optimised DJGPP
> code?
Narrow it to the smallest possible program (main calling a simple assembler
routine for example), then if it crash disassemble it with objdump and look
what a hell is wrong. Post the assembler if you can't figure out (cut the
unneeded stuff! just the main and the NASM routine).
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -