JuliaMath / openlibm

High quality system independent, portable, open source libm implementation
https://openlibm.org
Other
507 stars 139 forks source link

i387 asm does not compile under djgpp #277

Open user1095108 opened 1 year ago

user1095108 commented 1 year ago

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.