Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.oberon > #726

Re: Error compiling a simple Hello World program

From cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups comp.lang.oberon
Subject Re: Error compiling a simple Hello World program
Date 2026-01-15 21:36 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <10kbmku$nnq$1@reader2.panix.com> (permalink)
References <20260110234635.aec15496f9b94e281c2f4410@gmail.com> <20260114143002.3d31cab189c9233042e579f1@gmail.com> <10k98lj$fs$1@reader2.panix.com> <20260114193220.d50eac7413973752c6cd6ec9@gmail.com>

Show all headers | View raw


In article <20260114193220.d50eac7413973752c6cd6ec9@gmail.com>,
Sidney Reilley  <sidney.reilley.ii@gmail.com> wrote:
>On Wed, 14 Jan 2026 23:25:39 -0000 (UTC)
>cross@spitfire.i.gajendra.net (Dan Cross) wrote:
>
>> The output of, `ls -Rla` may be interesting.
>
>Nothing extra showed up!
>
>[snip]

Hmm.

>> I wonder if the oo2crc.xml file has anything illuminating in it;
>> I'm not sure where it may be on your system, though (I should
>> have mentioned it, but my testing has been on FreeBSD).
>
>Freebsd!! My old stomping grounds. I'm thinking of installing v15 right quick.
>LOL

You had mentioned that you're using Linux; what distribution, if
I may ask?

>Anyway, here's my `/usr/local/lib/oo2c/oo2crc.xml'
>
>Is it any different than yours?
>
>[quote]
><!-- -*-mode: xml-*- -->
><configuration>
>  <options>
>    <set name='cc'>gcc</set>
>    <set name='cppflags'></set>
>    <set name='cflags'>-g -O2</set>
>    <set name='ldflags'></set>
>    <set name='libs'>-L/usr/local/lib</set>
>
>    <set name='libtool'>yes</set>
>    <set name='libdir'>/usr/local/lib</set>
>
>    <set name='install'>/usr/bin/install -c</set>
>    <set name='installProgram'>/usr/bin/install -c</set>
>    <set name='installData'>/usr/bin/install -c -m 644</set>
>    <set name='uninstall'>rm -f</set>
>    <set name='bindir'>/usr/local/bin</set>
>    <set name='oocdir'>/usr/local/lib/oo2c</set>
>
>    <set name='xsltproc'>/usr/bin/xsltproc</set>
>  </options>
>
>  <pragmas>
>    <set name='Warnings'>TRUE</set>
>    <set name='Assertions'>TRUE</set>
>    
>    <set name='IndexCheck'>TRUE</set>
>    <set name='DerefCheck'>TRUE</set>
>    <set name='OverflowCheck'>FALSE</set>  <!-- not supported -->
>    <set name='CaseSelectCheck'>TRUE</set>
>    <set name='FunctResult'>TRUE</set>
>    <set name='TypeGuard'>TRUE</set>
>    <set name='ConformantMode'>FALSE</set>  <!-- not supported -->
>  </pragmas>
>
>  <repositories>
>    <file-system>/usr/local/lib/oo2c</file-system>
>    <file-system>.</file-system>
>  </repositories>
></configuration>
>[/quote]

Mine is not substantially different, no.

Hmm.  I'm sorry, but I've got no idea what's up.

You could try removing the sym and obj directories and
rebuilding; there may be some reason the binary is not being
created that has to do with that, though I think that's a long
shot: perhaps the build state is considered sufficiently new so
as to not require emitting a binary.

As a last thing, you may try running `strace` or something to
see what it's doing.  Something like,
`strace -f oo2c -M src/hello.mod` and look for `exec` and `exit`
calls:

  strace -f oo2c -M src/hello.mod | grep -E '(exec|exit)'

If nothing else, you might catch the `ld` invocation; maybe it's
just giving a weird pathname to the output executable.

	- Dan C.

Back to comp.lang.oberon | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-10 23:46 -0700
  Re: Error compiling a simple Hello World program cross@spitfire.i.gajendra.net (Dan Cross) - 2026-01-12 21:29 +0000
    Re: Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-14 09:59 -0700
    Re: Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-14 11:39 -0700
      Re: Error compiling a simple Hello World program cross@spitfire.i.gajendra.net (Dan Cross) - 2026-01-14 21:09 +0000
        Re: Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-14 14:30 -0700
          Re: Error compiling a simple Hello World program cross@spitfire.i.gajendra.net (Dan Cross) - 2026-01-14 23:25 +0000
            Re: Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-14 19:32 -0700
              Re: Error compiling a simple Hello World program cross@spitfire.i.gajendra.net (Dan Cross) - 2026-01-15 21:36 +0000
                Re: Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-15 16:12 -0700
                Re: Error compiling a simple Hello World program cross@spitfire.i.gajendra.net (Dan Cross) - 2026-01-16 13:18 +0000
                Re: Error compiling a simple Hello World program Sidney Reilley <sidney.reilley.ii@gmail.com> - 2026-01-16 08:54 -0700

csiph-web