gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] About libraries and directories


From: Gaius Mulley
Subject: Re: [Gm2] About libraries and directories
Date: Mon, 29 Nov 2010 07:56:13 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Christoph Schlegel <address@hidden> writes:

> Hello Gaius,
>
> I just built gm2 from the cvs-latest tarball - now I have a question. I built 
> the iso/socket example and it compiled fine. Executing the resulting program 
> I get:
>
> address@hidden:~/Sources/gm2examples/iso/socket$ ./a.out
> ../../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/gm2-libs-iso/EXCEPTIONS.mod:57:3:IOLink.RAISEdevException:
>  channel does not belong to device in RAISE
>
> Now it is not the raised exception which makes me wonder but the location of 
> the file EXCEPTIONS.mod which is used: I installed gm2 to $HOME/gm2 as usual 
> but the compiler still uses the files from the downloaded and unpacked 
> tarball. Shouldn't it use the files from the make-installed compiler - in my 
> case under $HOME/gm2?
>
> Just wondering...
>
> Christoph

Hi Christoph,

the location is derived from the symbol __FILE__ which is expanded when
compiled.  Maybe it would be helpful if the exception print should strip
the path from the filename given the mismatch between source file and
installed library?

Is the behaviour of the socket correct?

regards,
Gaius



reply via email to

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