Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > Re: Adapting fr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 11 Topic 73 of 149
Post > Topic >>

Re: Adapting from pm3 to cm3

by Olaf Wagner <wagner@[EMAIL PROTECTED] > Dec 18, 2003 at 10:38 PM

Robin Garner <robin.garner@[EMAIL PROTECTED]
> wrote:
> "Carl C. Hoff" <choff@[EMAIL PROTECTED]
> wrote 
>> What I do to share the common files among the programs for my research
is
>> include a symbolic link in the "src" directory.  The m3makefile in that
>> directory contains "include_dir ("COMMON")".  COMMON is a symbolic link
to
>> "../../COMMON".
>> 
>> I am using the SRC compiler, not pm3 or cm3.  If I tried your approach
with
>> the SRC compiler, I do not recall.  I think I am using the symbolic
link
>> approach because it works and it was the first to come to mind.
>> 
>> Carl C. Hoff

> Thanks - that does the trick.  Now to debug the application itself ...

I'd just like to add one more comment. Of course it's an error that the
compiler crashes with a runtime error and does not issue a proper
error message. But the problem arises due to some mis-use of the
package building and ****pping mechanism. Where should code that is
located outside a package be ****pped to? The proper approach would
be to put code that is used by multiple clients into its own
package. The whole M3 build system is based on the concept of
packages and not on arbitrarily arranged single files, that can
be compiled on their own.

Olaf
-- 
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|| Olaf Wagner           | wagner(at)luthien.in-berlin.de (priv.)|
|| Cranachstrasse 7      | wagner(at)elego.de (business)         |
|| D-12157 Berlin        | phone: +49 30  85 60 26 70            | 
|| Germany / Deutschland | fax:   +49 30  85 58 01 88            | 
\/////////////////////////////////////////////////////////////////
 




 11 Posts in Topic:
Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-02 08:58:38 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-03 08:12:42 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-04 02:11:05 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-04 21:35:38 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-08 00:30:40 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-08 21:33:15 
Re: Adapting from pm3 to cm3
"Carl C. Hoff"   2003-12-09 19:54:53 
Re: Adapting from pm3 to cm3
robin.garner@[EMAIL PROTE  2003-12-16 01:01:15 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-18 22:38:32 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-22 03:19:03 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-04 02:25:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:27:31 CDT 2008.