openlibm icon indicating copy to clipboard operation
openlibm copied to clipboard

i387 asm does not compile under djgpp

Open user1095108 opened this issue 2 years ago • 0 comments

i586-pc-msdosdjgpp-gcc -nostdinc -fno-gnu89-inline -fno-builtin -O3 -fPIC -march=i586 -std=gnu99 -Wall -I.. -I../include -I../src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -I../ld80 -c s_cos.S

-fPIC ignored (not supported for DJGPP) s_cos.S: Assembler messages: s_cos.S:10: Error: invalid character '(' in mnemonic s_cos.S:27: Error: invalid character '(' in mnemonic

I traced the problem to the file bsd_asm.h. Trying to fix it did not help. There is a problem with ENTRY() and END() macro definitions.

user1095108 avatar May 15 '23 12:05 user1095108