Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

From Sharp minds come... pointed heads. -- Bryan Sparrowhawk


devel / comp.sys.apple2.programmer / Re: ORCA/C 2.2.0 B7

SubjectAuthor
* ORCA/C 2.2.0 B7Stephen Heumann
`* Re: ORCA/C 2.2.0 B7Antoine Vignau
 `* Re: ORCA/C 2.2.0 B7Pierre Durant
  `* Re: ORCA/C 2.2.0 B7stephen...@gmail.com
   `* Re: ORCA/C 2.2.0 B7Pierre Durant
    `* Re: ORCA/C 2.2.0 B7Pierre Durant
     `* Re: ORCA/C 2.2.0 B7stephen...@gmail.com
      `* Re: ORCA/C 2.2.0 B7Pierre Durant
       `* Re: ORCA/C 2.2.0 B7stephen...@gmail.com
        `* Re: ORCA/C 2.2.0 B7Pierre Durant
         `- Re: ORCA/C 2.2.0 B7Pierre Durant

1
ORCA/C 2.2.0 B7

<u0q9oa$106q5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=296&group=comp.sys.apple2.programmer#296

  copy link   Newsgroups: comp.sys.apple2.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: stephen....@gmail.com (Stephen Heumann)
Newsgroups: comp.sys.apple2.programmer
Subject: ORCA/C 2.2.0 B7
Date: Fri, 7 Apr 2023 18:42:02 -0500
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <u0q9oa$106q5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="8d8a4095e5a0927ea15b8066cc0dbc8a";
logging-data="1055557"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9h0GNVj25yOIVMdJJPjS1EqQfK8H6qtM="
User-Agent: Unison/2.2
Cancel-Lock: sha1:y67m80kRKHAZZHANSSMyD9u24Ac=
 by: Stephen Heumann - Fri, 7 Apr 2023 23:42 UTC

Hi folks,

I've just released ORCA/C 2.2.0 B7. The full source code is available
on GitHub, and a binary update package is on the releases page:

https://github.com/byteworksinc/ORCA-C/releases/tag/orcac-220b7

This is the latest version of ORCA/C, the C compiler for the Apple
IIGS. In addition to various bug fixes, this release includes a number
of new features:

* Support for new language features from C99 and C11
- Designated initializers
- Anonymous structures and unions
- `_Pragma` preprocessing operator
- `__STDC_VERSION__` macro
- C99-compliant `inline` semantics (but no actual inlining)
- C11-compliant `_Thread_local` specifier (but no multithreading)
* Other compiler features
- C standard selection, including strict conformance modes
- Debugging option to detect illegal use of null pointers
- Lint check for unused variables
- Lint check for implicit conversions that change constant values
- Small improvements to compiler performance and generated code
* New library features
- Optional support for time zone handling using the Time Tool
- `timespec_get` function
- `erf`, `erfc`, `fma`, and `tgamma` math functions
* Auto-segmenting linker

ORCA/C 2.2.0 B7 now supports nearly all the features required by C17,
apart from wide character support and some floating-point library
features.

Note that this update must be applied on top of an existing copy of
ORCA/C 2.1 or later. If you don't already have that, it's available as
part of the Opus ][ collection sold by Juiced.GS.

There is also a corresponding update to the GNO-specific version of
ORCALib, which you should get if you are using ORCA/C under GNO:

https://github.com/byteworksinc/ORCALib/releases/tag/gno-orcalib-220b7

Re: ORCA/C 2.2.0 B7

<4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=297&group=comp.sys.apple2.programmer#297

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:622a:4c6:b0:3e4:e076:c4a9 with SMTP id q6-20020a05622a04c600b003e4e076c4a9mr2229079qtx.10.1680982911287;
Sat, 08 Apr 2023 12:41:51 -0700 (PDT)
X-Received: by 2002:a25:3086:0:b0:b78:1b26:a642 with SMTP id
w128-20020a253086000000b00b781b26a642mr1431251ybw.1.1680982910913; Sat, 08
Apr 2023 12:41:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 8 Apr 2023 12:41:50 -0700 (PDT)
In-Reply-To: <u0q9oa$106q5$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=82.124.249.180; posting-account=c4quJwoAAABUj_DOmUN3HIuXxN1tF7gT
NNTP-Posting-Host: 82.124.249.180
References: <u0q9oa$106q5$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: ntn.vig...@gmail.com (Antoine Vignau)
Injection-Date: Sat, 08 Apr 2023 19:41:51 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1112
 by: Antoine Vignau - Sat, 8 Apr 2023 19:41 UTC

When will you call it 2.2.1 or 2.3?
av

Re: ORCA/C 2.2.0 B7

<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=304&group=comp.sys.apple2.programmer#304

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:6214:4a51:b0:5ef:5f68:83ef with SMTP id ph17-20020a0562144a5100b005ef5f6883efmr3659392qvb.2.1682451304868;
Tue, 25 Apr 2023 12:35:04 -0700 (PDT)
X-Received: by 2002:a25:bfc7:0:b0:b8b:f5fb:598d with SMTP id
q7-20020a25bfc7000000b00b8bf5fb598dmr17003ybm.6.1682451304594; Tue, 25 Apr
2023 12:35:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Tue, 25 Apr 2023 12:35:04 -0700 (PDT)
In-Reply-To: <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a03f:68ec:7000:e803:61ee:f240:c011;
posting-account=4XxPYgoAAABlJrZIPWPoeYvqxSi-hxSQ
NNTP-Posting-Host: 2a02:a03f:68ec:7000:e803:61ee:f240:c011
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: pierre.d...@gmail.com (Pierre Durant)
Injection-Date: Tue, 25 Apr 2023 19:35:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1538
 by: Pierre Durant - Tue, 25 Apr 2023 19:35 UTC

Le samedi 8 avril 2023 à 21:41:51 UTC+2, Antoine Vignau a écrit :
> When will you call it 2.2.1 or 2.3?
> av
I updated but now REZ compilation is not possible anymore ?????

Re: ORCA/C 2.2.0 B7

<086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=305&group=comp.sys.apple2.programmer#305

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:622a:18a:b0:3f0:abe7:24a7 with SMTP id s10-20020a05622a018a00b003f0abe724a7mr325669qtw.6.1682472827372;
Tue, 25 Apr 2023 18:33:47 -0700 (PDT)
X-Received: by 2002:a81:7e4d:0:b0:54c:2409:c306 with SMTP id
p13-20020a817e4d000000b0054c2409c306mr8815930ywn.6.1682472827179; Tue, 25 Apr
2023 18:33:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Tue, 25 Apr 2023 18:33:46 -0700 (PDT)
In-Reply-To: <b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.51.196.74; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.51.196.74
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Wed, 26 Apr 2023 01:33:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1652
 by: stephen...@gmail.com - Wed, 26 Apr 2023 01:33 UTC

On Tuesday, April 25, 2023 at 2:35:05 PM UTC-5, Pierre Durant wrote:
> Le samedi 8 avril 2023 à 21:41:51 UTC+2, Antoine Vignau a écrit :
> > When will you call it 2.2.1 or 2.3?
> > av
> I updated but now REZ compilation is not possible anymore ?????

The update should not have any effect on Rez. What error are you seeing?

--
Stephen Heumann

Re: ORCA/C 2.2.0 B7

<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=310&group=comp.sys.apple2.programmer#310

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ae9:c10c:0:b0:74e:2de8:c802 with SMTP id z12-20020ae9c10c000000b0074e2de8c802mr4673804qki.9.1682536795451;
Wed, 26 Apr 2023 12:19:55 -0700 (PDT)
X-Received: by 2002:a0d:ec48:0:b0:54f:899f:890f with SMTP id
r8-20020a0dec48000000b0054f899f890fmr11492539ywn.9.1682536795188; Wed, 26 Apr
2023 12:19:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Wed, 26 Apr 2023 12:19:55 -0700 (PDT)
In-Reply-To: <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a03f:68ec:7000:5d81:9de6:30ca:1eb7;
posting-account=4XxPYgoAAABlJrZIPWPoeYvqxSi-hxSQ
NNTP-Posting-Host: 2a02:a03f:68ec:7000:5d81:9de6:30ca:1eb7
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: pierre.d...@gmail.com (Pierre Durant)
Injection-Date: Wed, 26 Apr 2023 19:19:55 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2116
 by: Pierre Durant - Wed, 26 Apr 2023 19:19 UTC

Le mercredi 26 avril 2023 à 03:33:47 UTC+2, stephen...@gmail.com a écrit :
> On Tuesday, April 25, 2023 at 2:35:05 PM UTC-5, Pierre Durant wrote:
> > Le samedi 8 avril 2023 à 21:41:51 UTC+2, Antoine Vignau a écrit :
> > > When will you call it 2.2.1 or 2.3?
> > > av
> > I updated but now REZ compilation is not possible anymore ?????
> The update should not have any effect on Rez. What error are you seeing?
>
> --
> Stephen Heumann
for example I open the example "Prob.14.1.rez" of the Toolbox c examples provided which is clearly identified as a REZ in menu Languages
I "compile to disk"
and I recieve an error box "a compiler is not available for this language"

Re: ORCA/C 2.2.0 B7

<a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=311&group=comp.sys.apple2.programmer#311

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ae9:f81a:0:b0:74d:f12b:75c9 with SMTP id x26-20020ae9f81a000000b0074df12b75c9mr378834qkh.10.1682615902888;
Thu, 27 Apr 2023 10:18:22 -0700 (PDT)
X-Received: by 2002:a25:1183:0:b0:b8f:4f1d:be06 with SMTP id
125-20020a251183000000b00b8f4f1dbe06mr1191732ybr.11.1682615902625; Thu, 27
Apr 2023 10:18:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Thu, 27 Apr 2023 10:18:22 -0700 (PDT)
In-Reply-To: <84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a03f:68ec:7000:f1b5:dca6:638a:542b;
posting-account=4XxPYgoAAABlJrZIPWPoeYvqxSi-hxSQ
NNTP-Posting-Host: 2a02:a03f:68ec:7000:f1b5:dca6:638a:542b
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: pierre.d...@gmail.com (Pierre Durant)
Injection-Date: Thu, 27 Apr 2023 17:18:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Pierre Durant - Thu, 27 Apr 2023 17:18 UTC

Le mercredi 26 avril 2023 à 21:19:55 UTC+2, Pierre Durant a écrit :
> Le mercredi 26 avril 2023 à 03:33:47 UTC+2, stephen...@gmail.com a écrit :
> > On Tuesday, April 25, 2023 at 2:35:05 PM UTC-5, Pierre Durant wrote:
> > > Le samedi 8 avril 2023 à 21:41:51 UTC+2, Antoine Vignau a écrit :
> > > > When will you call it 2.2.1 or 2.3?
> > > > av
> > > I updated but now REZ compilation is not possible anymore ?????
> > The update should not have any effect on Rez. What error are you seeing?
> >
> > --
> > Stephen Heumann
> for example I open the example "Prob.14.1.rez" of the Toolbox c examples provided which is clearly identified as a REZ in menu Languages
> I "compile to disk"
> and I recieve an error box "a compiler is not available for this language"

Sorry Stephen, I made an error during the installation of the B7 version ! Now it's OK , no more issue to compile a REZ file ! :-)

But I want to take this opportunity to ask you a little question for which I didn't find the answer in the documentation.
So, I have a Desktop App with multiple .cc and .h files.
I succeed to write a make file which compile and link all the sources.
The compile/link works fine and I'm able to execute the app without error.
But.... How to run it in debug mode ???
If I open the main source and push on "trace" for example it try to link again this souce but it fails like it was trying to link the app with the main source only.... :-/
So, how to debug an app for which you have multiple .cc/h modules ???

thanks :-)

Pierre

Re: ORCA/C 2.2.0 B7

<e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=312&group=comp.sys.apple2.programmer#312

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:6214:14ed:b0:5ef:4c58:1a57 with SMTP id k13-20020a05621414ed00b005ef4c581a57mr373094qvw.3.1682621561393;
Thu, 27 Apr 2023 11:52:41 -0700 (PDT)
X-Received: by 2002:a05:6902:188d:b0:b96:a18:1b4c with SMTP id
cj13-20020a056902188d00b00b960a181b4cmr980565ybb.13.1682621561199; Thu, 27
Apr 2023 11:52:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Thu, 27 Apr 2023 11:52:40 -0700 (PDT)
In-Reply-To: <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.51.196.74; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.51.196.74
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com> <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Thu, 27 Apr 2023 18:52:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 23
 by: stephen...@gmail.com - Thu, 27 Apr 2023 18:52 UTC

On Thursday, April 27, 2023 at 12:18:23 PM UTC-5, Pierre Durant wrote:

> But I want to take this opportunity to ask you a little question for which I didn't find the answer in the documentation.
> So, I have a Desktop App with multiple .cc and .h files.
> I succeed to write a make file which compile and link all the sources.
> The compile/link works fine and I'm able to execute the app without error..
> But.... How to run it in debug mode ???
> If I open the main source and push on "trace" for example it try to link again this souce but it fails like it was trying to link the app with the main source only.... :-/
> So, how to debug an app for which you have multiple .cc/h modules ???

If you want to debug a program built using a script, you need to make sure it is built with debug code enabled, either by using the +D flag on the compile commands in the script or by using #pragma debug in the code.

Then you can execute it using the Run->Execute... menu option to debug it. The debug mode to use can be set under Run->Execute Options...

--
Stephen

Re: ORCA/C 2.2.0 B7

<5802b860-8759-412a-9653-4518ab29c8b8n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=313&group=comp.sys.apple2.programmer#313

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:622a:1b9f:b0:3ef:9f74:46b0 with SMTP id bp31-20020a05622a1b9f00b003ef9f7446b0mr1001724qtb.4.1682624130593;
Thu, 27 Apr 2023 12:35:30 -0700 (PDT)
X-Received: by 2002:a25:dbd2:0:b0:b99:cd69:cc32 with SMTP id
g201-20020a25dbd2000000b00b99cd69cc32mr4529417ybf.0.1682624130377; Thu, 27
Apr 2023 12:35:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Thu, 27 Apr 2023 12:35:30 -0700 (PDT)
In-Reply-To: <e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a03f:68ec:7000:58b5:3790:704:7d4c;
posting-account=4XxPYgoAAABlJrZIPWPoeYvqxSi-hxSQ
NNTP-Posting-Host: 2a02:a03f:68ec:7000:58b5:3790:704:7d4c
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com> <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
<e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5802b860-8759-412a-9653-4518ab29c8b8n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: pierre.d...@gmail.com (Pierre Durant)
Injection-Date: Thu, 27 Apr 2023 19:35:30 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3118
 by: Pierre Durant - Thu, 27 Apr 2023 19:35 UTC

Le jeudi 27 avril 2023 à 20:52:41 UTC+2, stephen...@gmail.com a écrit :
> On Thursday, April 27, 2023 at 12:18:23 PM UTC-5, Pierre Durant wrote:
>
> > But I want to take this opportunity to ask you a little question for which I didn't find the answer in the documentation.
> > So, I have a Desktop App with multiple .cc and .h files.
> > I succeed to write a make file which compile and link all the sources.
> > The compile/link works fine and I'm able to execute the app without error.
> > But.... How to run it in debug mode ???
> > If I open the main source and push on "trace" for example it try to link again this souce but it fails like it was trying to link the app with the main source only.... :-/
> > So, how to debug an app for which you have multiple .cc/h modules ???
> If you want to debug a program built using a script, you need to make sure it is built with debug code enabled, either by using the +D flag on the compile commands in the script or by using #pragma debug in the code.
>
> Then you can execute it using the Run->Execute... menu option to debug it.. The debug mode to use can be set under Run->Execute Options...
>
> --
> Stephen

The option +D was already specified in my make file. The "run-> execute options" is set to "trace".
I can use "run->execute"... but don't see any "menu option" ? I can switch between the app and orca but no window of my source appear even if I set a breakpoint before the loop of the app...

Re: ORCA/C 2.2.0 B7

<d17f1604-a7fa-4c5e-881a-04288654d2afn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=314&group=comp.sys.apple2.programmer#314

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:620a:164a:b0:74e:ec0:435 with SMTP id c10-20020a05620a164a00b0074e0ec00435mr411574qko.2.1682627602871;
Thu, 27 Apr 2023 13:33:22 -0700 (PDT)
X-Received: by 2002:a81:4425:0:b0:54c:bf7:1853 with SMTP id
r37-20020a814425000000b0054c0bf71853mr1896691ywa.6.1682627602648; Thu, 27 Apr
2023 13:33:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Thu, 27 Apr 2023 13:33:22 -0700 (PDT)
In-Reply-To: <5802b860-8759-412a-9653-4518ab29c8b8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.51.196.74; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.51.196.74
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com> <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
<e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com> <5802b860-8759-412a-9653-4518ab29c8b8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d17f1604-a7fa-4c5e-881a-04288654d2afn@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Thu, 27 Apr 2023 20:33:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2435
 by: stephen...@gmail.com - Thu, 27 Apr 2023 20:33 UTC

On Thursday, April 27, 2023 at 2:35:31 PM UTC-5, Pierre Durant wrote:

> The option +D was already specified in my make file. The "run-> execute options" is set to "trace".
> I can use "run->execute"... but don't see any "menu option" ? I can switch between the app and orca but no window of my source appear even if I set a breakpoint before the loop of the app...

You need to open windows with your source files manually before you run the program with Run->Execute.... If you set the breakpoints before compiling the code, I believe it should stop at the first breakpoint, but if you are having trouble you might want to set it to Step mode, which should let you just step through starting from the first statement in your program.

--
Stephen

Re: ORCA/C 2.2.0 B7

<bcdc958c-1f0c-404c-9a0c-f9773546bad6n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=315&group=comp.sys.apple2.programmer#315

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:ac8:5b87:0:b0:3e4:ed8e:6dd8 with SMTP id a7-20020ac85b87000000b003e4ed8e6dd8mr1070853qta.6.1682629863605;
Thu, 27 Apr 2023 14:11:03 -0700 (PDT)
X-Received: by 2002:a25:d711:0:b0:b96:7676:db47 with SMTP id
o17-20020a25d711000000b00b967676db47mr1150633ybg.13.1682629863268; Thu, 27
Apr 2023 14:11:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Thu, 27 Apr 2023 14:11:03 -0700 (PDT)
In-Reply-To: <d17f1604-a7fa-4c5e-881a-04288654d2afn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a03f:68ec:7000:58b5:3790:704:7d4c;
posting-account=4XxPYgoAAABlJrZIPWPoeYvqxSi-hxSQ
NNTP-Posting-Host: 2a02:a03f:68ec:7000:58b5:3790:704:7d4c
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com> <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
<e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com> <5802b860-8759-412a-9653-4518ab29c8b8n@googlegroups.com>
<d17f1604-a7fa-4c5e-881a-04288654d2afn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bcdc958c-1f0c-404c-9a0c-f9773546bad6n@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: pierre.d...@gmail.com (Pierre Durant)
Injection-Date: Thu, 27 Apr 2023 21:11:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Pierre Durant - Thu, 27 Apr 2023 21:11 UTC

Le jeudi 27 avril 2023 à 22:33:23 UTC+2, stephen...@gmail.com a écrit :
> On Thursday, April 27, 2023 at 2:35:31 PM UTC-5, Pierre Durant wrote:
>
> > The option +D was already specified in my make file. The "run-> execute options" is set to "trace".
> > I can use "run->execute"... but don't see any "menu option" ? I can switch between the app and orca but no window of my source appear even if I set a breakpoint before the loop of the app...
> You need to open windows with your source files manually before you run the program with Run->Execute.... If you set the breakpoints before compiling the code, I believe it should stop at the first breakpoint, but if you are having trouble you might want to set it to Step mode, which should let you just step through starting from the first statement in your program.
>
> --
> Stephen
When I do that, I come to a "blue screen of death".....

Re: ORCA/C 2.2.0 B7

<fd39501e-b388-4b21-bf41-b99f1c8501cdn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=316&group=comp.sys.apple2.programmer#316

  copy link   Newsgroups: comp.sys.apple2.programmer
X-Received: by 2002:a05:620a:640f:b0:74d:5916:9ce8 with SMTP id pz15-20020a05620a640f00b0074d59169ce8mr3269336qkn.2.1682802427569;
Sat, 29 Apr 2023 14:07:07 -0700 (PDT)
X-Received: by 2002:a25:13c1:0:b0:b39:b0d3:9a7f with SMTP id
184-20020a2513c1000000b00b39b0d39a7fmr3705838ybt.7.1682802427320; Sat, 29 Apr
2023 14:07:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!fdn.fr!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2.programmer
Date: Sat, 29 Apr 2023 14:07:07 -0700 (PDT)
In-Reply-To: <bcdc958c-1f0c-404c-9a0c-f9773546bad6n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:a03f:68ec:7000:3598:a96e:22fa:d54f;
posting-account=4XxPYgoAAABlJrZIPWPoeYvqxSi-hxSQ
NNTP-Posting-Host: 2a02:a03f:68ec:7000:3598:a96e:22fa:d54f
References: <u0q9oa$106q5$1@dont-email.me> <4930e4b0-b837-42c3-ab5b-0e22150e2c77n@googlegroups.com>
<b44f286f-8238-44f4-8892-a40e6ec1c404n@googlegroups.com> <086fd627-1559-4a3f-bba5-9c3cff32cf22n@googlegroups.com>
<84425dcb-85a2-429d-9263-101bb60d7475n@googlegroups.com> <a91fd0e0-0468-47df-8445-00970f4e0b18n@googlegroups.com>
<e517784d-1e07-4552-901b-4c875cc0b918n@googlegroups.com> <5802b860-8759-412a-9653-4518ab29c8b8n@googlegroups.com>
<d17f1604-a7fa-4c5e-881a-04288654d2afn@googlegroups.com> <bcdc958c-1f0c-404c-9a0c-f9773546bad6n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fd39501e-b388-4b21-bf41-b99f1c8501cdn@googlegroups.com>
Subject: Re: ORCA/C 2.2.0 B7
From: pierre.d...@gmail.com (Pierre Durant)
Injection-Date: Sat, 29 Apr 2023 21:07:07 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Pierre Durant - Sat, 29 Apr 2023 21:07 UTC

Le jeudi 27 avril 2023 à 23:11:04 UTC+2, Pierre Durant a écrit :
> Le jeudi 27 avril 2023 à 22:33:23 UTC+2, stephen...@gmail.com a écrit :
> > On Thursday, April 27, 2023 at 2:35:31 PM UTC-5, Pierre Durant wrote:
> >
> > > The option +D was already specified in my make file. The "run-> execute options" is set to "trace".
> > > I can use "run->execute"... but don't see any "menu option" ? I can switch between the app and orca but no window of my source appear even if I set a breakpoint before the loop of the app...
> > You need to open windows with your source files manually before you run the program with Run->Execute.... If you set the breakpoints before compiling the code, I believe it should stop at the first breakpoint, but if you are having trouble you might want to set it to Step mode, which should let you just step through starting from the first statement in your program.
> >
> > --
> > Stephen
> When I do that, I come to a "blue screen of death".....

UPDATE: it's OK now ! The problem came from the bad conversion of the source text from windows to prodos ! Now I use CiderPress and the conversion is correct ! Interesting to know that a bad text format can have an impact on the debug process !

Thanks again Stephen for all your work !!! :-) It's great to have an C compiler up-to-date on the II GS ! :-)

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor