[omniORB] Where is powerpc_linux_2.2_glibc.mk?

Duncan Grisby dgrisby@uk.research.att.com
Mon, 04 Dec 2000 11:39:09 +0000


On Friday 1 December, Craig Rodrigues wrote:

> I checked the latest omniORB out of CVS and am trying to build it on PowerPC 
> Linux.  Where is the mk file for: powerpc_linux_2.2_glibc.mk?

It appears not to exist!  It was there in omniORB 2.8. Based on that,
it should work if you copy i586_linux_2.0_glibc.mk (or
i586_linux_2.0_glibc2.1.mk if you have glibc 2.1). Then change the
line which says

  x86Processor = 1

to

  PowerPCProcessor = 1

and

  IMPORT_CPPFLAGS += -D__x86__ -D__linux__ -D__OSVERSION__=2

to

  IMPORT_CPPFLAGS += -D__powerpc__ -D__linux__ -D__OSVERSION__=2


Let me know if that works, and I'll add it to the tree.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --