Comments (4)
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.
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.
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.
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)
- Links to .git files HOT 1
- is there a way to define a pointer to reside fixed in Zeropage? HOT 2
- static variables placed in the wrong segment HOT 1
- c64 fputc ( gcc-6502-bits/libtinyc/c64/fputc.c ) HOT 1
- Rebase to GCC 6/code generation improvements HOT 1
- [question][install][cygwin] Is it possible to install gcc-6502 under Cygwin? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcc-6502-bits.