gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] First time user needs help


From: Duke Normandin
Subject: Re: [Gm2] First time user needs help
Date: Tue, 19 Oct 2010 12:57:30 -0600 (MDT)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Tue, 19 Oct 2010, Gaius Mulley wrote:

[snip]

> Hi,
>
> the -I. says look in the current directory for definition modules before
> looking in the system directories (this the default).  The -g option
> turns on generation of symbolic debugging information so that gdb can
> make sense of the source code.

Noted!

> gm2 needs the option '-c' to compile
> as without '-c' it only links the module.  Also a module name must match
> its filename.
>
> So with your example:
>
> $ gm2 -c FirstEx.mod
> $ gm2 FirstEx.mod
> $ ./a.out
>
> should work - hope this helps,

It sure does help! Thank you. Now that I can start up the compiler,
and put it into 1st gear, I can learn some Modula-2, and down the road
learn to put the compiler into higher gears. :) Thanks a lot!
-- 
Duke



reply via email to

[Prev in Thread] Current Thread [Next in Thread]