This was originally a query from ygdura
what causes this?
$ vpc smvp
java -Xmx250m -jar D:\SourceForge\VP\vectorpascalcom\mmpc/mmpc.jar smvp -felf
system not up to date
1357 parsed D:/SourceForge/VP/vectorpascalcom/mmpc/systemPentium
intermediateFile set to false
examined
60 parsed smvp
intermediateFile set to false
examined
59 generated compiled
nasm -felf -lasm.lst -g -o p.o p.asm
gcc -g -o smvp p.o D:/SourceForge/VP/vectorpascalcom/mmpc/rtl.c
ERROR>p.o:p.asm:131: undefined reference to `paramcount'
ERROR>p.o:p.asm:146: undefined reference to `cstringassign'
.....
...... etc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I note that you are using -felf in the nasm assembler line
the elf format is incompatible with djgpp which requires .coff format
check if you are running
vpc
or
vpc.bat
vpc.bat specifies -fcoff to be compatible with djgpp
vpc specifies -felf to be compatible with Linux
in either case, you can, I think, override it on the command line
the other flag to check is the -U flag, you need that if
you are to have underbars in front of global variables which
tends to be required under linux
type
vpc -help
for the flags
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This was originally a query from ygdura
what causes this?
$ vpc smvp
java -Xmx250m -jar D:\SourceForge\VP\vectorpascalcom\mmpc/mmpc.jar smvp -felf
system not up to date
1357 parsed D:/SourceForge/VP/vectorpascalcom/mmpc/systemPentium
intermediateFile set to false
examined
60 parsed smvp
intermediateFile set to false
examined
59 generated compiled
nasm -felf -lasm.lst -g -o p.o p.asm
gcc -g -o smvp p.o D:/SourceForge/VP/vectorpascalcom/mmpc/rtl.c
ERROR>p.o:p.asm:131: undefined reference to `paramcount'
ERROR>p.o:p.asm:146: undefined reference to `cstringassign'
.....
...... etc
I note that you are using -felf in the nasm assembler line
the elf format is incompatible with djgpp which requires .coff format
check if you are running
vpc
or
vpc.bat
vpc.bat specifies -fcoff to be compatible with djgpp
vpc specifies -felf to be compatible with Linux
in either case, you can, I think, override it on the command line
the other flag to check is the -U flag, you need that if
you are to have underbars in front of global variables which
tends to be required under linux
type
vpc -help
for the flags