Linux EMC


What is missing!  I seem to be in over my head
Can someone give me a hint?

When I run "sim.run", I get the following:
inited emcmot
starting emc...
starting steppermod.o...done
starting bridgeportio...done
starting bridgeporttask...done
running xemc...
Version:  1.29
Machine:  Stepper Stand
Version:  1.29
Machine:  Stepper Stand
exited emcmot

The only hint of an error when running "compile" is during "depend".  I
get the following warning on six files:
"warning: <file> 13: #error architecture not supported by the Linux C
Library"
The file names are:
emc.cc
amplifier.c
cubic.c
minimillaux.c
rs274ngc.cc
emccanon.cc


Platform:
Linux Slackware Version 3.5
RT_Linux 1.3 installed
/usr/local/jdk1.1.3 installed as /usr/local/jdk
emc software for kernel 2_0_36 dated Nov 12,1999

Linux changes I have made:

real path to gcc-lib files:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29
Add symbolic links to make path appear to be:
/usr/lib/gcc-lib/ i386-linux/2.7.2.1

Defined DBL_MAX in /usr/lib/gcc-lib/ i386-linux/2.7.2.1/include/limits.h

The ONLY change I have made to EMC code:
Reason: A floating point math function was not in /usr/lib/libm.a
Made the symbolic link libgcc.a in /usr/lib
pointing to:
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29/libgcc.a
In file:/use/local/nist/emc/src/emcmot/Makefile
after each -lm (I added  -lgcc ) so the linker could find the missing
math function.

Jim Hopkins

Custom Computer Software
http://www.jimhopkins.com
voice 540-972-3027
fax    540-972-4750


--
Custom Computer Software
http://www.jimhopkins.com
voice 540-972-3027
fax    540-972-4750





Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact