Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler crashes when generating assembly for some targets #83

Open
bitglitcher opened this issue Jun 11, 2020 · 0 comments
Open

Compiler crashes when generating assembly for some targets #83

bitglitcher opened this issue Jun 11, 2020 · 0 comments

Comments

@bitglitcher
Copy link

The compiler fails to produce assembly output for some of the following targets.

  • avr
  • example
  • m68k
  • mcs6500
  • riscv
  • stm8

Test Function
int main() { return 0; }

Makefile

FLAGS = --freestanding -S
ARCH = x86_64
CC = ppci-cc
FILES = main.c

all: compile

compile:
        $(CC) $(FLAGS) --machine $(ARCH) $(FILES)

test: f.out
        cat f.out

clean: f.out
        rm f.out

I tried without compiler flags and still the compiler crashes.

@bitglitcher bitglitcher changed the title Compiler crashes when generating code for some targets Compiler crashes when generating assembly for some targets Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant