tiny-c-compiler一、从 git 获取源码(http://repo.or.cz/tinycc.git/bundles)windows 版 tcc 下载Instructions0. Quick Overview1. Download the Bundle2. Create a Repository from the Bundle3. Reset the Origin4. Fetch Updates5. Checkout二、路径三、神人网站四、具体应用实践
Downloadable Git bundle information for project tinycc as of 2018-02-03 05:56:31 UTC:
| Project | Bundle | Size | Expires | Behind |
|---|---|---|---|---|
| tinycc | tinycc-d3ecfd20.bundle tinycc-d3ecfd20.bundle | 3.4 MiB | 5 days | current |
xxxxxxxxxx玩客云 》分区1 》onecloud 》tools 》TinyCCompiler-win10.rar
Download the tinycc-d3ecfd20.bundle file using your favorite method.
Web browsers typically provide one-click pause and resume. The curl command line utility has a --continue-at option that can be used to resume an interrupted download.
Please note that it may not be possible to resume an interrupted download after the “Expires” time shown above so plan the bundle download accordingly.
Subsequent instructions will assume the downloaded bundle tinycc-d3ecfd20.bundle is available in the current directory – adjust them if that’s not the case.
It is possible to use the git clone command to create a repository from a bundle file all in one step. However, that can result in unwanted local tracking branches being created, so we do not use git clone in this example.
This example creates a Git repository named “tinycc” in the current directory, but that may be adjusted as desired:
xgit init tinycccd tinyccgit remote add origin ../tinycc-d3ecfd20.bundlegit fetch
Assuming the current directory is still set to the newly created “tinycc” repository, we set the origin to a suitable fetch URL. Any valid fetch URL for the repository may be used instead of the one shown here:
xxxxxxxxxxgit remote set-url origin http://repo.or.cz/tinycc.git
Note that the tinycc-d3ecfd20.bundle file is now no longer needed and may be kept or discarded as desired.
Assuming the current directory is still set to the newly created “tinycc” repository, this example fetches the current HEAD symbolic ref (i.e. the branch that would be checked out by default if the repository had been cloned directly from a fetch URL instead of a bundle) and any changes made to the repository since the bundle was created:
xxxxxxxxxxgit fetch --prune origingit remote set-head origin --auto
The amount retrieved by the fetch command depends on how many changes have been pushed to the repository since the bundle was created.
The set-head command will be very fast and may be omitted if one’s not interested in the repository’s default branch.
Assuming the current directory is still set to the newly created “tinycc” repository, the list of available branches to checkout may be shown like so:
xxxxxxxxxx# git branch -r$ git branch -r origin/HEAD -> origin/mob origin/master origin/mob origin/mob-stuff origin/tcc-xrefNote that if the repository has a default branch it will be shown in the listing preceded by “origin/HEAD ->”.
In this case, however, the default branch is most likely “mob” and may be checked out like so:
xxxxxxxxxx# git checkout mob$ git checkout mobAlready on 'mob'Your branch is up-to-date with 'origin/mob'.Note that the leading “origin/” was omitted from the branch name given to the git checkout command so that the automagic DWIM (Do What I Mean) logic kicks in.
The repository is now ready to be used just the same as though it had been cloned directly from a fetch URL.
xxxxxxxxxx一、玩客云 > 分区1 > onecloud > tools > tcc-0.9.27.tar.bz2二、http://download.savannah.gnu.org/releases/tinycc/三、http://ftp.twaren.net/Unix/NonGNU/tinycc/
https://bellard.org