Code Monkey home page Code Monkey logo

Comments (4)

itszor avatar itszor commented on August 26, 2024

Hmm... not sure why that might be. There's an experimental branch in the gcc-6502 repo proper that you could try though, something like:

$ cd gcc-src
$ git checkout m65x-gcc6-virt

then retry the build. Let me know how you get on if you try it!

from gcc-6502-bits.

elminster avatar elminster commented on August 26, 2024

Ah ha. Yes that seems to have done something, using the expr branch it has now compiled on X86_64 Ubuntu.

2972888	May 2 16:37 6502-cpp
2960400	May 2 16:37 6502-gcc
2386616	May 1 01:33 6502-gcc-6.0.0
2960400	May 2 16:37 6502-gcc-6.1.1
108056	May 2 16:37 6502-gcc-ar
108032	May 2 16:37 6502-gcc-nm
108040	May 2 16:37 6502-gcc-ranlib
1844632	May 2 16:37 6502-gcov
1880848	May 2 16:37 6502-gcov-tool

Will see if it now compiles on ARM. And also running some tests to see if I can cross compile anything. Hopefully I can and issue can be closed.

from gcc-6502-bits.

elminster avatar elminster commented on August 26, 2024

Looks okay


	=== gcc Summary ===

 of expected passes		63374
 of unexpected failures	2159
 of unexpected successes	2
 of expected failures		101
 of unresolved testcases	1115
 of unsupported tests		2783

$ 6502-gcc helloworld.c -O2 -o helloworld
$ ../gcc-6502-bits/semi65x/semi65x -l 0x200 ./helloworld
Hello World
$ 

Using
6502-gcc -mmach=bbcmaster -mcpu=65C02 -O2 helloworld.c -o hello2

and a lot of head scratching I managed to get

Hello World

to display on a real BBC Master. For some odd reason it is not displaying on Beebem.

So I guess the issue can be closed with the caveat it is fixed using experimental code.
Thanks.

from gcc-6502-bits.

elminster avatar elminster commented on August 26, 2024

Took a while to compile but fix means it now also builds on Raspberry Pi's ARM as well.

from gcc-6502-bits.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.