[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[rtl] How do I link?????
Hi....
Um forgive my stupidity/ignorance if i am wrong.....
I am under the impression I can '#include <stdio.h>' and other
standard c libraries into rt_process.c .....
however the compiler says that the stadard 'C' function calls such as
'printf' are undefined symbols... this led me to the asumption that
rt_linux needed all linux function calls statically linked not dynamically
linked as is the norm..... So i manually linked a few shared libraries... only
to have rmeoved all the standard 'C' function calls, and get lower level
function calls
as undefined functions.... perhaps there is an easier way to do this, say
with a simple
flag at build time for 'gcc' or linker flag..... One of my head lecturers
has informed
that i am not worthy for not knowing this, but i am but a mear under-grad....
any assitance will be greatly appreciated....
before i get asked why i want to do this, i shoudl explain i guess.... um
well what we are doing is developed a satellite tracking station... i have
mentioned this before... So we have got basic rt-linux stuff happening...
but we want to place the sequence which controls the stae-machine of the
dish in rt-linux, for which we need to call stdio.h along with a few other
std libs.... Plus we want to setup a controller at priority 1, control all
the real time tasks below it... this way should any of our processes clog
up the linux box, then the priority '1' task which superceeds them all
should be able to step in and terminate the all, without a reboot.... I
have no problems with placing all this code free-to-web once it is all
developed.. I actually plan to have extensive documentation available with
chunks of code followed by chucks of explanation.... this has been a
downfall of the project in past years....
Thanks in advance
Niroshan
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/