{"id":13810807,"url":"https://github.com/bazelment/lrte","last_synced_at":"2025-04-15T01:27:04.047Z","repository":{"id":19139516,"uuid":"22369534","full_name":"bazelment/lrte","owner":"bazelment","description":"Build cross compiler(gcc,clang) for amd64 to allow multiple versions of glibc and toolchains","archived":false,"fork":false,"pushed_at":"2023-03-14T05:36:20.000Z","size":114,"stargazers_count":12,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T13:21:17.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bazelment.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}},"created_at":"2014-07-29T06:09:37.000Z","updated_at":"2024-10-24T04:39:20.000Z","dependencies_parsed_at":"2024-01-18T02:37:05.068Z","dependency_job_id":"40212d92-0c05-423f-a15c-669d1de890e6","html_url":"https://github.com/bazelment/lrte","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Flrte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Flrte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Flrte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Flrte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelment","download_url":"https://codeload.github.com/bazelment/lrte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248987771,"owners_count":21194289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-04T03:00:27.092Z","updated_at":"2025-04-15T01:27:04.030Z","avatar_url":"https://github.com/bazelment.png","language":"Shell","readme":"LRTE\n====\n\nFork of https://code.google.com/p/google-search-appliance-mirror/downloads/detail?name=grte-1.2.2-src.tar.bz2\u0026amp;can=2\u0026amp;q=\n\nOriginal source code downloaded from:\n\nhttps://google-search-appliance-mirror.googlecode.com/files/grte-1.2.2-src.tar.bz2\nhttps://google-search-appliance-mirror.googlecode.com/files/crosstoolv13-gcc-4.4.0-glibc-2.3.6-grte-1.0-36185.src.rpm\nhttps://google-search-appliance-mirror.googlecode.com/files/grte-python2.4-2.4.6-7.src.tar.bz2\n\nChangeLog\n=========\n\n - grte-1.2.2-src.tar.bz2 -\u003e grte with sources stripped\n\n\nInstall and Usage\n=================\n\nIt's recommended to just install the precomiled packages from release\npage. For example, to install lrtev2 with crosstool v2:\n\n```\napt-get update\napt-get install -y apt-transport-https\necho 'deb https://github.com/bazelment/lrte/releases/download/v3.0_0 ./' \u003e\u003e /etc/apt/sources.list\napt-get update\napt-get install -y --force-yes lrtev3-crosstoolv2-gcc-4.9 lrtev3-crosstoolv2-clang-4.0\n\n```\n\nOn the production machines, you should need to install\n```lrtev3-runtime``` package, which contains the glibc and libstdc++\nlibraries.\n\nThen gcc and clang under /usr/crosstool/v3/gcc-4.9.2-lrtev3/x86/bin\ncan be used to produce binaries that only work with LRTE, which means\nthese binaries only depend on glibc and libstdc++ coming from LRTE\nruntime, so they can be shipped without worrying about the system's\nglibc version.\n\nBtw: the gcc and clang inside crosstool are linked against LRTE\nruntime they can pretty much run on any release of ubuntu or redhat.\n\nFor example:\n\n```\n# /usr/lrte/v3/bin/ldd /usr/crosstool/v3/gcc-4.9.2-lrtev3/x86/bin/clang\n        linux-vdso.so.1 (0x00007ffc388cf000)\n        libdl.so.2 =\u003e /usr/lrte/v3/lib64/libdl.so.2 (0x00007f6e55453000)\n        libpthread.so.0 =\u003e /usr/lrte/v3/lib64/libpthread.so.0 (0x00007f6e55236000)\n        libz.so.1 =\u003e /usr/lrte/v3/lib64/libz.so.1 (0x00007f6e5501c000)\n        libstdc++.so.6 =\u003e /usr/lrte/v3/lib64/libstdc++.so.6 (0x00007f6e54d12000)\n        libm.so.6 =\u003e /usr/lrte/v3/lib64/libm.so.6 (0x00007f6e54a0a000)\n        libgcc_s.so.1 =\u003e /usr/lrte/v3/lib64/libgcc_s.so.1 (0x00007f6e547f4000)\n        libc.so.6 =\u003e /usr/lrte/v3/lib64/libc.so.6 (0x00007f6e54431000)\n        /usr/lrte/v3/lib64/ld-linux-x86-64.so.2 (0x00007f6e55657000)\n```\n\nYou can also refer to [build\nguide](https://github.com/bazelment/lrte/wiki/Build-Guide) if you prefer\nbuilding everything from source code for further customization.","funding_links":[],"categories":["Misc"],"sub_categories":["Google projects"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelment%2Flrte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelment%2Flrte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelment%2Flrte/lists"}