{"id":31985720,"url":"https://github.com/rudschuck/gpc-legacy","last_synced_at":"2026-02-19T11:32:33.950Z","repository":{"id":318331961,"uuid":"1070836366","full_name":"Rudschuck/GPC-Legacy","owner":"Rudschuck","description":"Lecacy binaries of the GNU Pascal Compiler.","archived":false,"fork":false,"pushed_at":"2025-10-07T07:49:07.000Z","size":63736,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-25T01:42:08.042Z","etag":null,"topics":["compiler","gpc","pascal","pascal-compiler","pascal-lang","pascal-language"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rudschuck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-06T13:56:29.000Z","updated_at":"2025-10-07T07:49:11.000Z","dependencies_parsed_at":"2025-10-06T16:25:42.794Z","dependency_job_id":null,"html_url":"https://github.com/Rudschuck/GPC-Legacy","commit_stats":null,"previous_names":["rudschuck/gpc-legacy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rudschuck/GPC-Legacy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rudschuck%2FGPC-Legacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rudschuck%2FGPC-Legacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rudschuck%2FGPC-Legacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rudschuck%2FGPC-Legacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rudschuck","download_url":"https://codeload.github.com/Rudschuck/GPC-Legacy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rudschuck%2FGPC-Legacy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29611097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler","gpc","pascal","pascal-compiler","pascal-lang","pascal-language"],"created_at":"2025-10-15T06:34:51.429Z","updated_at":"2026-02-19T11:32:33.923Z","avatar_url":"https://github.com/Rudschuck.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPC-Legacy /  GNU Pascal Compiler (GPC) — Binary Archive Repository\n\nThis repository hosts **precompiled binary distributions** of the **GNU Pascal Compiler (GPC)** for archival and legacy use.  \nNo source code is included here — the focus is on preserving **functional binaries** for systems and projects that still depend on GPC.\n\n\nFurther information regarding GPC can be found at:\n\n* [\u003e\u003e\u003e GNU Pascal Homepage \u003c\u003c\u003c](https://www.gnu-pascal.de)\n\n\n---\n\n## 🏛️ Background and Motivation\n\nThe **GNU Pascal Compiler (GPC)** was once an official front end for the **GNU Compiler Collection (GCC)**, providing ISO-compliant Pascal support tightly integrated with GCC’s backend.  \nDevelopment of GPC effectively ceased around **2005**, and since then, no maintained or modernized binary packages have been available for most platforms.\n\nNevertheless, a considerable number of **legacy systems and scientific, industrial, or academic projects** still rely on GPC for building and maintaining their Pascal codebases.  \nIn many of these cases, recompiling with modern compilers (such as Free Pascal or modern GCC versions) is not feasible due to **incompatibilities or strict reproducibility requirements**.\n\nThis repository exists to **preserve functional GPC binaries** and make them easily available for legacy maintenance, historical research, and software archiving.\n\n\nOriginal binaries can be found at:\n\n* [\u003e\u003e\u003e GNU GPC Binaries for Linux \u003c\u003c\u003c](https://www.bndhep.net/Software/Pascal/Pascal.html)\n* [\u003e\u003e\u003e GNU GPC Binaries for Cygwin \u003c\u003c\u003c](http://www.foyeh.org/gpc.htm)\n\n\n\n---\n\n## ⚙️ Technical Characteristics\n\nThe binaries included here are compiled with specific options to ensure **maximum compatibility** and **linking flexibility**.  \nNotably, they are built to produce **relocatable code**, enabling use in **shared libraries** and dynamic linking scenarios — a feature that many older GPC builds lacked.\n\n### Key build properties:\n- ✅ Compiled with `-fPIC` or equivalent flags for **position-independent code**  \n- ✅ Fully compatible with **shared object generation** and dynamic linking  \n- ✅ Based on stable GCC backends (e.g., GCC 3.x series) for reproducibility  \n- ✅ Includes runtime libraries necessary for GPC-based builds  \n- ✅ Tested to support **cross-compilation scenarios** (in selected builds)  \n\nThese characteristics make the provided binaries particularly suitable for:\n- Building **legacy scientific applications**  \n- Maintaining **embedded or industrial systems** dependent on old Pascal code  \n- **Reverse-engineering** or **rebuilding historical software** that relied on GPC  \n- Ensuring **build reproducibility** in long-term archival environments\n\n\n---\n\n## 📦 Repository Contents\n\nEach release folder or tag contains precompiled binary distributions for specific platforms.\n\nTypical contents include:\n- Precompiled GPC executables for selected platforms  \n- Associated `libgpc` runtime libraries\n- Header and include files (`*.h`, `*.gpi`, etc.)\n- Example scripts or configuration files for integration with GCC\n- Licensing information (`COPYING`, `README.gpc`)\n\n\nAll binary distributions are released as tar-packed files.\n\n\n### 🚫 No Working Source Code\n\nTo satisfy GPL the original source code is added to this repository (gpc-20070904-build.tar.gz). As GPC is outdated since 2005 there is no guarantee that the source code will compile successfully on modern systems. The official source (historically hosted on GNU mirrors) is publicly available through the **GNU archives** or **SourceForge snapshots**:\n\n\n* [\u003e\u003e\u003e GNU Pascal Homepage \u003c\u003c\u003c](https://www.gnu-pascal.de/gpc/h-index.html)\n\n---\n\n## 🧩 Platform Compatibility\n\n| Platform | Architecture | Link | Tested | Notes |\n|-----------|---------------|----------------|---------|--------|\n| GNU/Linux     | x86_64      | [(download)](https://raw.githubusercontent.com/Rudschuck/GPC-Legacy/master/gpc-20070904-slc-6.5-64bit.tar.gz) | ✅ | Recommended and most complete |\n| GNU/Linux     | i686        | [(download)](https://raw.githubusercontent.com/Rudschuck/GPC-Legacy/master/gpc-20070904-slc-3.0-32bit.tar.gz) | ✅ |  Legacy 32-bit systems only |\n| Windows       | x86 (MinGW) | [(download)](https://raw.githubusercontent.com/Rudschuck/GPC-Legacy/master/gpc-20070904-windows-7-32bit.tar.gz)  | ✅ | Tested with MinGW32 environments |\n\n\nIf your system’s `glibc` or `libstdc++` versions differ significantly from those used during compilation, **dynamic linking issues** may occur.  \nIn such cases, static linking or containerized environments are recommended.\n\n---\n\n## 🧰 Usage\n\n### Basic invocation\n\n\n\nExample for an installation of the 64 bit GPC binary:\n\n```bash\n# Download from GitHub:\ncurl 'https://raw.githubusercontent.com/Rudschuck/GPC-Legacy/master/gpc-20070904-slc-6.5-64bit.tar.gz' --output gpc-master-64.tar.gz\n\n# Extract into local directory:\ntar -zxvf gpc-master-64.tar.gz\n\n# Start from local directory:\n./usr/local/bin/gpc myprogram.pas -o ./myprogram\n\n```\n\n\n## 📜 License \u0026 Copyright\n\nGNU Pascal Compiler (GPC) and its runtime components are distributed under the **GNU General Public License (GPL)**.  \nSee the `COPYING` file included with the binaries for full details.\n\n\nFor issues related to using these binaries (installation, linking, etc.), please open an **Issue** in this repository.  \nFor historical or source-related information, refer to the archived GPC project pages or the GNU mailing lists.\n\n(c) Dr. Michael Rudschuck\n   \n\n---\n\n## Rev:\n* 0.1: First release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudschuck%2Fgpc-legacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudschuck%2Fgpc-legacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudschuck%2Fgpc-legacy/lists"}