[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Modula-3 Libraries for CVSup on SPARC port - This is Insain!



> I'm trying to compile the modula-3 library so I can use CVSup on
> OpenBSD and I'm finding the module-3 build tress a candidate for
> this years obfucication award in Makefiles and build environments.
>
> Does anyone know how to compile this monster on SPARC openbsd?

I hate to tell you, but I don't know of any existing Modula-3 ports
to OpenBSD/SPARC.  If you really want to use it on that platform,
you're faced with porting Modula-3 to it.  It could be quite a lot of
work.  You first have to configure the modified gcc that it uses for
its backend properly.  Then you have to steal and/or modify a bunch of
Modula-3 "interface" files (like C's .h files) to make them match the
reality of the way things work under OpenBSD. (libc structure layouts
and so forth.)  Finally, *on a system that already supports Modula-3*
you have to cross-compile the base M3 system into assembly language
sources for OpenBSD/SPARC.  You are looking at quite a bit of work.  I
don't know how much help I could be, because I've never ported it to a
new platform myself.  If you value your time, you might prefer to buy
yourself an i386 system or a Solaris/SPARC system. :-(

Sorry, but that's the bad news.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth