Ticket #27061 (closed defect: fixed)
spin @5.25 does not work
| Reported by: | eckelmax@… | Owned by: | jann@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | Cc: | ||
| Port: | spin |
Description
when compiled and started with an pml
For example: hello.pml
active proctype main() {
printf("Hello, world\n")
}
it cannot compile the pml because it does not find the cpp directory
$ spin hello.pml sh: /lib/cpp: No such file or directory spin: preprocessing failed
This is because the following flags are missing from the makefile:
-DMAC -DCPP="\"gcc -E -x c -xassembler-with-cpp\""
Attachments
Change History
comment:1 Changed 3 years ago by jmr@…
- Owner changed from macports-tickets@… to jann@…
- Keywords spin removed
- Port set to spin
- Cc jann@… removed
comment:2 Changed 3 years ago by jann@…
Can you provide a patch for this issue? I'm not currently using Spin, so it might be a bit longer until I will have the chance to look into this.
comment:3 Changed 3 years ago by eckelmax@…
I don't know how to make a patch.
Appending
-DMAC -DCPP="\"gcc -E -x c -xassembler-with-cpp\""
to the CFLAG in the makefile is enough.
Note: See
TracTickets for help on using
tickets.


As per the ticket guidelines, please put the name of the port in the Port field.