*BSD News Article 39624


Return to BSD News archive

Xref: sserve comp.lang.modula3:3010 comp.os.386bsd.apps:1551
Newsgroups: comp.lang.modula3,comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!agate!howland.reston.ans.net!Germany.EU.net!netmbx.de!logware.de!olaf
From: olaf@logware.de (Olaf Wagner)
Subject: M3 for FreeBSD 1.1 binary distribution
Message-ID: <7WEVBTGH@logware.de>
Organization: Logware GmbH, Germany
X-Newsreader: TIN [version 1.1 PL9]
Date: Fri, 16 Dec 1994 16:53:26 GMT
Lines: 93


I have put some binaries compiled for FreeBSD 1.1.5, containing the
DEC SRC Modula-3 compiler, standard libraries, tools, debugger, and
trestle library on

   ftp://ftp.vlsi.polymtl.ca/pub/m3/freebsd

Here are the contents of the README in that directory:

------------------------
SRC Modula-3 for FreeBSD
------------------------
This is the binary distribution of DEC SRC's Modula-3 system for
FreeBSD 1.1[.5].

IMPORTANT
---------
The binaries contained in these archives won't run on FreeBSD 2.0,
you really needn't try it (I did). It is not as easy as expected
to get a port to FreeBSD 2.0 working, but I hope to have something
early next year.

The system works quite fine on 1.1.5, though. It supports threads,
incremental and generational garbage collection, stack protection
and - for the brave of heart - shared libraries.

SHARED LIBRARIES
----------------
The shared libs are really a hack, and if you're using them, you 
should expect hundreds of warning messages from the assembler and
the linker. This seems to be a problem of incompatibility with the
older versions of as and ld distributed with FreeBSD. Newer versions
won't work, though. In spite of the lot of warnings, I haven't
found any malfunction when using shared libs, so I hope everything
is all right.

There is a central configuration file in 
   /usr/local/lib/m3/pkg/m3build/templates/FreeBSD

If you want to use shared libs, you should use FreeBSD.shlibs-hack
instead. There will be symbolic links for the generated shared libraries
in /usr/local/lib/m3/FreeBSD, so your LIBPATH environment variable 
should point there.

What is available
-----------------
libm3-shared.tar.gz      libm3 compiled for shared libraries
libm3.tar.gz             libm3 compiled for static linking
m3gdb.tar.gz             gnu debugger for m3 (not the newest version, sorry)
srcdiffs.tar.gz          the diffs to the compiler and library sources
                         of SRC M3 release 3.3
system.tar.gz            compiler, linker, driver, quake, m3build, ...
tools.tar.gz             m3bundle, m3tohtml, m3totex, showheap, shownew,
                         showthread
trestle.tar.gz           the trestle library (not shared)


What you need
-------------
You need the system-archive and either libm3-shared or libm3 to have
a working system. If you want to compile the compiler, get the source diffs
and apply them with patch. Using the compiler and one of the libm3-versions,
you can compile all the packages found at gatekeeper.dec.com, including
network objects and obliq.

How to install
--------------
Everything MUST be installed under /usr/local/{bin|lib}. The easiest way
is

   cd /usr/local
   tar xzf archive.tar.gz

If you want the stuff at another location, you must either edit the
compiler template files or make a symbolic link.

Problems
--------
Of course there won't be any problems ;-)
If you are really at your wits end, you can send me email to

   wagner@luthien.in-berlin.de
or
   olaf@logware.de

I will try to answer all your questions, but it may take some days.

I hope you enjoy using Modula-3 on FreeBSD!
-- 
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\ Olaf Wagner              at Logware GmbH       Schwedenstrasse 9     \
\ olaf@logware.de (work)                         13359 Berlin 65       \
\ wagner@luthien.in-berlin.de (private)          Germany / Deutschland \