Porting Tools Pro.h++ 1.1.2 to Linux

Article ID: 1196
Last updated: 29 Jan, 2008
Article ID: 1196
Last updated: 29 Jan, 2008
Revision: 1
Views: 3185
Posted: 24 Feb, 2000
by --
Updated: 29 Jan, 2008
by
Problem


Tools Pro.h++ 1.1.2 is not supported (and will not compile) on Linux


Cause


There are a few changes that need to be made to get Tools Pro to compile. PLEASE NOTE THAT THESE CHANGES ARE NOT SUPPORTED!! The suggestions made here are meant as a starting point for your own porting work.

 




Action


Change the following source files:

 

$(SPMDIR)/parts/tpr0112u /source/src/rw/toolpro/socket.h:
Lines 92 and 93

  • Change #include <sys/fillio.h> to read #include <asm/ioctls.h>
  • Change #include <sys/sockio.h> to read #include <linux/sockios.h>

$(SPMDIR)/parts/tpr0112u/examples/etc/UNIX/makefile.in:

  • Remove -lsocket from the RWOSLIBS line

$(SPMDIR)/parts/tpr0112u/source/src/rw/toolpro/jtypes.h:

  • Add LINUX defs for Int8 -> char, etc. typedefs. Just copy another OS's typedefs

Then build Tools pro and the examples. This should work. Otherwise, it's a good place to begin.

Again, these changes are not supported and are not guarunteed to make Tools Pro 1.1.2 work with Linux.

 

 

 


This article was:   Helpful | Not helpful
Report an issue
Article ID: 1196
Last updated: 29 Jan, 2008
Revision: 1
Views: 3185
Posted: 24 Feb, 2000 by --
Updated: 29 Jan, 2008 by

Others in this category