Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i387 asm does not compile under djgpp #277

Open
user1095108 opened this issue May 15, 2023 · 0 comments
Open

i387 asm does not compile under djgpp #277

user1095108 opened this issue May 15, 2023 · 0 comments

Comments

@user1095108
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant