Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1106 > unrolled thread

Makefiles & Wimpslots

Started byRobert Heaton <rob@robheaton.co.uk>
First post2011-11-30 10:42 +0000
Last post2011-12-01 07:35 +0000
Articles 7 — 6 participants

Back to article view | Back to comp.sys.acorn.programmer


Contents

  Makefiles & Wimpslots Robert Heaton <rob@robheaton.co.uk> - 2011-11-30 10:42 +0000
    Re: Makefiles & Wimpslots David Pitt <pittdj@pittdj.co.uk> - 2011-11-30 11:03 +0000
      Re: Makefiles & Wimpslots druck <news@druck.org.uk> - 2011-11-30 21:05 +0000
        Re: Makefiles & Wimpslots Erik G <erikg@noname.invalid> - 2011-11-30 22:58 +0100
    Re: Makefiles & Wimpslots Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-11-30 11:37 +0000
    Re: Makefiles & Wimpslots Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-11-30 21:25 +0000
      Re: Makefiles & Wimpslots Robert Heaton <rob@robheaton.co.uk> - 2011-12-01 07:35 +0000

#1106 — Makefiles & Wimpslots

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-11-30 10:42 +0000
SubjectMakefiles & Wimpslots
Message-ID<7cca343a52.rob@rob.robheaton.co.uk>
Hello,
When using the Norcroft C tools, and double clicking on a Makefile, I 
keep getting the error: AMU *** No writable memory at this address ***

Is there a way to tell the C tools to setup a wimpslot for this?

As at the moment, I keep having to manually run each line of the 
makefile that calls 'cc' either from a * prompt or an obey file!

Thanks,
Rob.

[toc] | [next] | [standalone]


#1107

FromDavid Pitt <pittdj@pittdj.co.uk>
Date2011-11-30 11:03 +0000
Message-ID<b1b7363a52.pittdj+@iyonix.home>
In reply to#1106
In message <7cca343a52.rob@rob.robheaton.co.uk>
  Robert Heaton <rob@robheaton.co.uk> wrote:

> Hello,
> When using the Norcroft C tools, and double clicking on a Makefile, I
> keep getting the error: AMU *** No writable memory at this address ***

> Is there a way to tell the C tools to setup a wimpslot for this?

> As at the moment, I keep having to manually run each line of the
> makefile that calls 'cc' either from a * prompt or an obey file!

Increasing the 'Next' slot in the Task Manager should suffice. There 
is no science involved here I just take a large handful usually in 
excess of 6MB.

-- 
David Pitt

MessengerPro 6 on an ARMini running RISC OS 5

[toc] | [prev] | [next] | [standalone]


#1114

Fromdruck <news@druck.org.uk>
Date2011-11-30 21:05 +0000
Message-ID<jb65ri$i7m$1@dont-email.me>
In reply to#1107
On 30/11/2011 11:03, David Pitt wrote:
> In message<7cca343a52.rob@rob.robheaton.co.uk>
>    Robert Heaton<rob@robheaton.co.uk>  wrote:
>
>> Hello,
>> When using the Norcroft C tools, and double clicking on a Makefile, I
>> keep getting the error: AMU *** No writable memory at this address ***
>
>> Is there a way to tell the C tools to setup a wimpslot for this?
>
>> As at the moment, I keep having to manually run each line of the
>> makefile that calls 'cc' either from a * prompt or an obey file!
>
> Increasing the 'Next' slot in the Task Manager should suffice. There
> is no science involved here I just take a large handful usually in
> excess of 6MB.

That wont work. !AMU uses the FrontEnd module and the AMU task it 
creates gets the amount of memory configured in the Desc file if 
specified, a default if not. I can't remember the exact format off hand, 
but if you look at the Desc files in the other DDE applications, you 
should find one with a memory allocation line, which you can transplant 
in to AMU's.

---druck

[toc] | [prev] | [next] | [standalone]


#1117

FromErik G <erikg@noname.invalid>
Date2011-11-30 22:58 +0100
Message-ID<4ed6a6fb$0$7966$e4fe514c@dreader35.news.xs4all.nl>
In reply to#1114
On 30-11-2011 22:05, druck wrote:
> On 30/11/2011 11:03, David Pitt wrote:
>> In message<7cca343a52.rob@rob.robheaton.co.uk>
>>    Robert Heaton<rob@robheaton.co.uk>  wrote:
>>
>>> Hello,
>>> When using the Norcroft C tools, and double clicking on a Makefile, I
>>> keep getting the error: AMU *** No writable memory at this address ***
>>
>>> Is there a way to tell the C tools to setup a wimpslot for this?
>>
>>> As at the moment, I keep having to manually run each line of the
>>> makefile that calls 'cc' either from a * prompt or an obey file!
>>
>> Increasing the 'Next' slot in the Task Manager should suffice. There
>> is no science involved here I just take a large handful usually in
>> excess of 6MB.
> 
> That wont work. !AMU uses the FrontEnd module and the AMU task it
> creates gets the amount of memory configured in the Desc file if
> specified, a default if not. I can't remember the exact format off hand,
> but if you look at the Desc files in the other DDE applications, you
> should find one with a memory allocation line, which you can transplant
> in to AMU's.

Indeed. Sample from a !AMU.Desc file:

----
tool_details_start
   name          "Amu";
   version        "5.27" ;
   filetype      &FE1;
   wimpslot      1024k;
   has_extended_cmdline;
tool_details_end
----

Note the "wimpslot" line.

Just for good measure: it is advisable to ignore the !Make tool, and use
!AMU directly. The makefiles created by !Make are simply horrible and
will give troubles sooner or later.

-- 
Erik G.
From address is fake
See http://erikgrnh.home.xs4all.nl/

[toc] | [prev] | [next] | [standalone]


#1109

FromChris Johnson <chrisjohnson+news@spamcop.net>
Date2011-11-30 11:37 +0000
Message-ID<523a39c1f7chrisjohnson+news@spamcop.net>
In reply to#1106
In article <7cca343a52.rob@rob.robheaton.co.uk>,
   Robert Heaton <rob@robheaton.co.uk> wrote:
> Is there a way to tell the C tools to setup a wimpslot for this?

Set your Next Slot to 5MB?

-- 
Chris Johnson

[toc] | [prev] | [next] | [standalone]


#1116

FromAlex Macfarlane Smith <nospam@archifishal.co.uk>
Date2011-11-30 21:25 +0000
Message-ID<4ed69f58$0$292$14726298@news.sunsite.dk>
In reply to#1106
On 30/11/2011 10:42, Robert Heaton wrote:
> Hello,
> When using the Norcroft C tools, and double clicking on a Makefile, I
> keep getting the error: AMU *** No writable memory at this address ***
>
> Is there a way to tell the C tools to setup a wimpslot for this?
>
> As at the moment, I keep having to manually run each line of the
> makefile that calls 'cc' either from a * prompt or an obey file!
>
> Thanks,
> Rob.

I think the way I used to do it with Nettle was a TaskObey file, 
containg something like:

Wimpslot -min 8192K -max 8192K
amu

But it's been quite a while since I did that, so I could be 
misremembering :)

Alex.

[toc] | [prev] | [next] | [standalone]


#1122

FromRobert Heaton <rob@robheaton.co.uk>
Date2011-12-01 07:35 +0000
Message-ID<be82a73a52.rob@rob.robheaton.co.uk>
In reply to#1116
In message <4ed69f58$0$292$14726298@news.sunsite.dk>
          Alex Macfarlane Smith <nospam@archifishal.co.uk> wrote:

> I think the way I used to do it with Nettle was a TaskObey file,
> containg something like:

> Wimpslot -min 8192K -max 8192K
> amu

> But it's been quite a while since I did that, so I could be
> misremembering :)

Thanks for the suggestions everyone, as yet, increasing the next slot 
has solved my problem.
I've made a note of the issue with !AMU, so when that crops up I don't 
have to seek more advice here!

Many Thanks,
Rob.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.acorn.programmer


csiph-web