#Floating Point
14-Feb-90 21:27:08
Sb: #90200-#Floating Point
Fm: Rob Salmon 71420,471
To: Mike Spille/Manx 71545,1466
Mike, here's some code that works with -ff/-lmf and doesn't with -f8/-lm8:
#include <stdio.h>
main()
{ float number;
scanf("%f", &number);
printf("%f", number);
}
Pretty basic, huh? I tried compiling with "cc -f8 test.c" and linking with
"ln test.o -lm8 -lc". Adding -c2 to the compile line seems not to matter. I
also tried variations with the -mcd and -lm8l options. BTW, I *DO* have a
68020/68881 board installed.