Mail Archives: djgpp/2001/10/10/11:03:56.1
ROLAND <roland_asmann AT yahoo DOT com> wrote in
news:20011010144313 DOT 31015 DOT qmail AT web9103 DOT mail DOT yahoo DOT com:
> I installed the whole package of djcrx203.
> I just used some header files which are on my sparc.
Do you realize that your sparc and djgpp are different platforms?
> Do I need to rewrite my program?
You need to identify the platform dependent parts of your program. Then
write those parts with what is available on the particular platform.
> Or can I solve this
> by downloading some header files myself.
> A few headers it looks for are:
> - signal.h (partially, it is there, but not the same
> as the one on my sparc)
Again, the platforms are different, run-time libraries are different etc
etc. This is like asking "hi, the cpu on my mac is dead, can i chop some
pins off of a pentium iii and use that?"
> - time.h (again it is there, but different)
> - inttypes.h (I don't know where this one is, only my
> sparc has it)
this is easier to deal with.
inttypes.h contains typedefs fo integers of various sizes on the specific
platform. so copying it is inviting disaster. however, you can replicate
functionality by providing the necessary typedefs. i do not know if the
inttypes.h on your sparc is the one prescribed by c9x, for that you can
check out http://www.dinkumware.com/htm_cl/inttypes.html.
sinan.
--
--------------------------------
A. Sinan Unur
http://www.unur.com/
- Raw text -