============================================================
module foo
strategies
main = !2
============================================================
mcflurry:~/stratego/StrategoXT-trunk-StrategoXT/concrete-syntax/xtc t$ /Users/t/strategoxt-test1/bin/strc -i foo.str
compiling foo.str

** Warning: Starting with Stratego 0.9.3 the calling convention of
strategies has been changed such that the current term is the last
argument. For most strategy definitions this is not a problem. Only
strategies which explicitly declare the type of a higher-order
strategy argument are affected. The argument declarations should be
changed such that the current term is the last argument. This change
is currently done automatically by the compiler. In the future source
programs are expected to incorporate this change.

front-end succeeded: user 0.25 system 0.31
optimization succeeded: user 0.08 system 0.33
back-end succeeded: user 0.13 system 0.18
ld: -L: directory name missing
compilation failed (1.43 secs)
==========================================================

Problem 1: Why the warning?
Problem 2: there seems to be a problem in the invocation gcc/linker.

Submitted on 2 June 2004 at 11:12

On 2 June 2004 at 11:35 Jira commented:

STR-107, martin:
Ah, this is easy to solve:


; (“-CL”, [“-L”, ( “SRTS”, “/lib/srts”),
“-lstratego-lib.opt”, “-lstratego.opt”,
“-L”, ( “ATERM”, “/lib”),
—————————————————————-

The -L should not be a separate parameter: concatenate it to the directory.

Log in to post comments