Skip to content

robinsonb5/zpugcc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

zpugcc

This repository contain the gcc, which is adapted for https://github.com/zylin/zpu CPU, the worlds smallest 32 bit CPU with GCC toolchain.

ZPU toolchain source code

The ZPU toolchain is too big to be hosted together with the HDL and the idea is that most HDL or normal users would not want to download and build their own toolchain.

ZPU build instructions to build unstable on linux (same for CygWin32)

git clone https://github.com/zylin/zpugcc.git
cd toolchain/toolchain
sh fixperm.sh
. env.sh
sh build.sh
tar -cjvf zpugcclinux_unstable.tar.bz2 install 

Build a different version

git log => shows log entries
git checkout 322875263beccb1d75936bd1dd9150c1647dc9c0 => checkout a version
Note that build.sh is only present in the later versions, but that it should work fine for those versions in git where it is absent. 

Cygwin build problems

If you are having problems building with Cygwin, try erasing the entire c:\cygwin folder and try again.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 52.5%
  • Ada 14.3%
  • Java 5.8%
  • C++ 5.6%
  • Assembly 4.6%
  • Roff 4.4%
  • Other 12.8%