Opened 3 years ago

Closed 6 weeks ago

#332 closed defect (invalid)

(add_)search_rules not properly working

Reported by: em@… Owned by: Eric Swenson
Priority: minor Milestone:
Component: General Version: MR12.8
Keywords: Cc:

Description

Using asr on a path and then calling an executable on that path does not work, instead it outputs:
"calc_costs skrewed up. file a trouble report (tr)"
Calling the executable using its full path and then calling it as if it were on the search path works.

To reproduce / example:
On a freshly coldbooted Multics installation (with a test.c file):

! asr >sl3p>c_compiler>e
<READY MESSAGE>
! cc test.c
calc_costs skrewed up. file a trouble report (tr)
! >sl3p>c_compiler>e>cc test.c
<READY MESSAGE>
! cc test.c
<READY MESSAGE>

I don't believe this happened in R12.7

Change History (1)

comment:1 by Eric Swenson, 6 weeks ago

Resolution: → invalid
Status: new → closed

The issue is the order of the search paths. Do a “psp linker” and you will probably find that >aml is before >sl3p>c_compiler>e.

There is a cc in >aml.

When you add the c compiler path to your linker search paths (search rules is an old term), you can put it before >aml to address your issue.

asp linker >sl3p>c_compiler>e -before >aml

Note: See TracTickets for help on using tickets.