Merge pull request #471 from stikonas/mes_0.26.1

Update to mes-0.26.1.
This commit is contained in:
Googulator 2024-06-25 13:26:59 +02:00 committed by GitHub
commit 18da5ad533
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 132 additions and 150 deletions

View file

@ -199,8 +199,8 @@ simple-patch 1.0
text block given to it, and replacing it with another text block. This is
sufficient for the early patching required before we have full proper GNU patch.
mes 0.26
========
mes 0.26.1
==========
GNU ``mes`` is a scheme interpreter. It runs the sister project ``mescc``,
which is a C compiler written in scheme, which links against the Mes C

View file

@ -0,0 +1 @@
f41b2c072464bcb6a609e94eaede8a3b0c1fd7973754738d6244294fef2d801a configurator

View file

@ -0,0 +1 @@
04b129ff98113d1e37ae0b3909ee0e8fd1fcdf5f1253a63d4d581bf75c8948ea configurator

View file

@ -1 +1 @@
1927a357c893d60952616146e788af25e637635b2862650914bf895d27f556a6 script-generator
7499b6cae66f97ff05ec33eb91fdddd5b918fa9a3ac69aeabbd76f6b774739fa script-generator

View file

@ -1 +1 @@
1aa31b29ce0999b6a9cace93bc584020ec78059b9ad37d9aa3da9ad6c3d9af59 script-generator
ac4c59a988ea4219fb9598e2d998b242c23179c1a1a2f165c9a2c2afb96ca94d script-generator

View file

@ -60,7 +60,7 @@ M2LIBC_PATH=/M2libc
# mes envars
NYACC_PKG=nyacc-1.00.2
MES_PKG=mes-0.26
MES_PKG=mes-0.26.1
MES_PREFIX=${SRCDIR}/${MES_PKG}/build/${MES_PKG}
GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${SRCDIR}/${MES_PKG}/build/${NYACC_PKG}/module

@ -1 +1 @@
Subproject commit 18eac1d08535a685c817247fb8c41a1dba9bbf6f
Subproject commit a779ee607a7921876388e6174419fc86d60e53c4

View file

@ -117,7 +117,7 @@ c313520567176dd9bf61a271ee56e06a62e944e862f9dc4564d94b7fc884c8f9 sed-4.0.9_0.ta
e8daec00b2c2de7b18efbec057dc9290eed06668806c6f5a48914d4a5cd95eb4 sed-4.8_0.tar.bz2
ef2f2c791c1ae74f19c98ebcd7edae6ae28bc1d9367cc3a2cdb1ac302a156cb7 shadow-4.14.3_0.tar.bz2
912d8f344104f1322255d6210c7c7e1371413ab530b2c6796e6aa565c74bf647 tar-1.34_0.tar.bz2
60e98c09d9135b0150ed52b71cfbb072335741c0954a9b14bbba850c20564036 tcc-0.9.27_0.tar.bz2
b3675b0d72677f30559386e1756e85a0a5065d738bb6206457a5a8d51b8bd0ce tcc-0.9.27_0.tar.bz2
e2c9ea82a1ebf2d5d4c937fa837ddb6fc6835395cf03f3207df40c96b6cafcd8 tcc-0.9.27_1.tar.bz2
4860223e6960ce976e6ad59aa90b69c18a1473684bce59ec8a8b36535405792b tcc-0.9.27_2.tar.bz2
d4fe9460ca561fc2f546f9730f19f541b17dac0bcc42eb190abba856588c3593 tcc-0.9.27_3.tar.bz2

View file

@ -1 +1 @@
467552a7875bae2086ba0fa9a8d2a253a158984e27b2e89acf2e3bcec539ad54 /usr/bin/bash
366f84242bee042ea0919d06f536d48541175ce6fdcfaa238282867c8b85a300 /usr/bin/bash

View file

@ -1 +1 @@
5a478142a517173180b2030cdd87b5f0f0c077e4b4a152c4b72141febf4d5905 /usr/bin/yacc
34a6457920fd314e198b289d8c4b76f8e6a48178f0a29c6d8ded0f5b9dbf877d /usr/bin/yacc

View file

@ -1 +1 @@
103af2b8cb00efe5ea91266978db548a69cee5883aa6263e1f1b960448065580 /usr/bin/bzip2
005b869252a394d1e4294294fbb340d6db461f6df4edcdae98697de021f587ff /usr/bin/bzip2

View file

@ -1 +1 @@
74656fa0cdd15992f7eee5797ecc33d7e65eb0e41acd3c6636cae45e5d3ce35d /usr/bin/checksum-transcriber
94626d6e11ee52f6c1a60ddf008ee593d3a0aeee20802e251fd0398d25519341 /usr/bin/checksum-transcriber

View file

@ -1 +1 @@
394b4651da547ae43b5de818a4bb9843f3872b2dbc022adf3711c991371d4398 /usr/bin/checksum-transcriber
5547ac40714ca7370c3fbb6bc42989de0b43622ba139dddeab941ef74e8c23c0 /usr/bin/checksum-transcriber

View file

@ -1,61 +1,61 @@
523b51bf51c379c1dfa2d04b69863c02c31f31d54638a03a399bac71c498e302 /usr/bin/install
0b802f4c74c8a2640c84f7a87f010bccdc9858dc9b2ba438c6d3cc3894c3892a /usr/bin/basename
42a8ccb469ffd7e098626c2bd40d7933904a7d152b6b4aaa83512a7d43c8c026 /usr/bin/cat
0dc7228a05afd6956fec228358e38901e9176c8a01307547364f7f3d7df1ae85 /usr/bin/chmod
99d8f566fe26bf0997b32294cf301b8ac90796b79e7fe274bee19b8e5f4a2f2d /usr/bin/cksum
0a0b5e17e778a50637ae0f496232f742ae3748f137b4abaf78639c4278db5fe9 /usr/bin/cp
44d2c5e2d430998efb6260337a780cb730818be82fc1272da50e1dab2fcfb6a1 /usr/bin/csplit
c985d78e11c8a6140569068fcdb8473aaf81dee6a5d5e412bd47f9ae14c0aa8e /usr/bin/cut
7725e05029dd5537c673ca9f8662a70044202f5cce6267c6bbfa8b1bddb9a3e3 /usr/bin/dirname
95a6849907b9baf30168589ba2cfba2e08e760e2624962d8b5abf11f20662dd4 /usr/bin/echo
948341073b85442d6c00bef62360e810219189f2e0ae06b15bf512c9ad5586f6 /usr/bin/expand
ee13822dd21e78374d46671d38375ae8db1126e75c0dbe19bd63f92702ead9ca /usr/bin/expr
6918fd8d5f8a3f80c4f1bbd534c5115033927deb9ba816e12fca45d19eec1bcc /usr/bin/factor
d3c5662d77ad197191b53b88e0ffed4e1659084f41b18736a8deaf16755c17ab /usr/bin/false
83509ff0c83016065ad02086f255620c84ac12d668f7f0ab1b1463b621cd2467 /usr/bin/fmt
7649cb10eb246de6035e5d7db5c900ecaef8d83677452d1f084001962fdd251f /usr/bin/fold
8e26e4f22735c21109b4969ff6e4c8e52cb623198c708c91fc323f9a78d8a9f8 /usr/bin/head
dfa93d89a269ab8bc1a31ac27ae58ca4b57e9e80016c14bdb32560a11b5d2781 /usr/bin/hostname
a85003482887e354b121b2467244b9d8b289d484e888b95e4eac017356a50ca1 /usr/bin/id
a16d179a6252510cc3d7184a3afe03d67a2697f0958c65fc588cdc20540da0ba /usr/bin/join
fa575a974614812d656a739bd7971726c5ef37d9b659302caada5fb98c2d9bd2 /usr/bin/kill
60132054c00316ef9010664b90daeb3aed3edc7daa3492164aaf9cd6dda47385 /usr/bin/link
1422bd7e979aaa6fdb6b885f8befc95537207a6668df2d98f2f3e8b2997e754b /usr/bin/ln
b273ec1b70d14ad732b3843e66b80cc9995d0f064159c7fee06cea50b867414b /usr/bin/logname
dc1fb1d37393741dc72ec83c9ae52498ef0994cb9543c50f94e239f9cf80b30b /usr/bin/mkfifo
5eac78966fb4dbc976c834677eaf3162ed5eb4cfadc7e09693f1d982e9fe855b /usr/bin/mkdir
172edf9d1a9766eed0d836355c0e5f39e941ca0f3db1ee9a2a03a0ea63fa22d5 /usr/bin/mknod
9c9892aa721dc5dd7661c039d015d74525d071ee065df0bc1f6aa06ef0c50fce /usr/bin/nl
2a035b319845e589315a853b50818666c3d1198806430acdb9d5839471812b1f /usr/bin/od
02e8bd0034632d192d562ac6e7a65e1d5d58bdf704879de26dd02a74b4a0d645 /usr/bin/paste
7fcedafbe585d81fb1968c3cf8b3551817f1cdd98461896d1206f954f2d6a1e2 /usr/bin/pathchk
19038aeda999dd42316e08243c55b3d515150fbe11c811bb47f556face7add7f /usr/bin/pr
b990dc4321203613e56b0dabd8f8984dcbd8adc6e72f5e9265376a1911a08cad /usr/bin/printf
f32aaf380592c7ff14bd71515083c75d35d8fa396d600f75ce99be347ee6f387 /usr/bin/ptx
05dbc4ad66caace6dad054bc21ca98c261ef1cdcbd25431e4c82198eda2c12b2 /usr/bin/pwd
56ba3841290c6f5977bb44887b672bee3b97f571c845ea31e2d17f926662ffc5 /usr/bin/readlink
e9a9e3cf2c2908659a03b63b9fa4963d52c7fdf69d699c359855467a19df4756 /usr/bin/rmdir
e30b629fa1fcf35a5f46f5cfd1b1602aa5c7ca184a1ff343452349333b778a6c /usr/bin/seq
c30b559c2efb15b90865600f203f1ea75aa50e728f7dfd4d2a0eaf1aa8ff3924 /usr/bin/sleep
53e4e2c96092489cb2b9e6883e66164c12a228de0420389dd63cad506948487f /usr/bin/sort
b1a1344aaee44f1bf04430b0c0a4a6148af69128160f2bc093fce91d79d6e25f /usr/bin/split
e5de0b1782231a9ce0b0bbcc7c818a39517e419273fe56faddc628b7c0a0e5a6 /usr/bin/sum
df19f0df1b4198e02261b478266ce642c62450114c818c8812249cb1eac473e6 /usr/bin/tail
0b6726576538145c62a7c33994574ff3d2470ed475d612076caf7049a6eb8f7c /usr/bin/tee
311ce27575937ff583e67ee98cd8a64ef6d8a103666de773a0f61c7ba1537cf9 /usr/bin/tr
b4285c93f16b2f1521c2729c20df7176408d27c32a055676fadc34c009b956ba /usr/bin/tsort
5958c475dcee08b42516bf0aeec420e19ea592d56d1781692d2481e273999762 /usr/bin/unexpand
08a550c90975a232311cd2f41c8fabb06e3b32b4c6aa362a35ca038189712f67 /usr/bin/uniq
d33508270e1f86fc959d6abb12ae03ac6643f0138395e1b67586539d5c3dd38b /usr/bin/unlink
7e7526b6970838c620fbcccf8ce295a5d901aa03186da4036d1938ee907d1d46 /usr/bin/wc
ef0041e5daf3b96d6656068c9bc27cde52c11f10177ede1ee7ecc0d1fc09c061 /usr/bin/whoami
794107d42c946b844c84575f80b7fc2ac35bc197555d36ecefd9471a4ce8943e /usr/bin/tac
61624e0509eded80e4539890d33908e8f9b92da3f53685810da6bfa5f749c141 /usr/bin/test
cc16741fbadaeee5ef9427ac96f762c6e7d21ed8b80a625afde5b375443896b3 /usr/bin/touch
3f94bca6093256356dd09d896aa657c2f7aa26b6b337cbde19d59e1bb6ca2e34 /usr/bin/true
6256e12f10ab5e9e199db96fec51809591445d3135cea446e788523c47989504 /usr/bin/yes
f10746a6226e699da42a1a2a4e1a99d36fd7d9d6211a100a8bf0a98b3585321e /usr/bin/ls
e604f08d122e88c1a112c32b59b870f8b0c9000e4821684bc41d0a50d6338214 /usr/bin/md5sum
32aa8dc8b78a0807cdf3867725a529f56b8e0701f2fcd3dc93c5e19e0c8b4f9f /usr/bin/mv
4dcfebaed9312e084e9927ce1bb89ec4a928d668816c8f5f1efd6acaf54d8bbd /usr/bin/rm
e4c326abc31fac0c5bd77d5c2f6bafee9b9a97e6cfb603f55eb6c722bb41e875 /usr/bin/sha1sum
cbe9318754eb4b06f7f56390d62378c9c5ce86377712e89eaeb1454b66e8d186 /usr/bin/install
402a955a994284213a4484224def6f2f59d20159da9e1f03fff3b460d51c50d0 /usr/bin/basename
dc4f955e6140302bff93e4ec1687e4dcb509719c5f0cb91dd6d1e954d27a5f82 /usr/bin/cat
1fd561bf2e18ecccada54a26cf683dbf92deec861607de72cb08dadf48edd4f0 /usr/bin/chmod
abf045c9241fdc495dde76d37c9399a5c79c5bb255d61f2b5fdeaf7b9e23f90c /usr/bin/cksum
67e0dbeb8ccc31d6bb1d5dc63e0c1849095df530ba454815df59e74a2455a842 /usr/bin/cp
e78fc9a834485d6ed028b1a5a8008173689536a308a53808fa268a9d5d498945 /usr/bin/csplit
e97a05251b1c42fd968f3b7f2b492877066b67cca7afcc9c88f82050ba4a78ee /usr/bin/cut
49444b16397172ae6535bfdfeda3dbb76d76ab22369b2b8b4a066d189548d70e /usr/bin/dirname
1d9cc6594f30a1258c6391f12fb8e6dd66f030bb618be07a9be2ff710ff5de81 /usr/bin/echo
09e040e556a00a72dd2c4784eccb184dacc145bbb83d1bdd591a0acb382b8c1b /usr/bin/expand
01667ab584e7a8998087e344f3802b518af35d97a990b68e39cf634748848e84 /usr/bin/expr
34c490db365d687f4ac5ff17f085cbc629e9e935ef44253b8f7d56e7550d3fcf /usr/bin/factor
6f368482f2c17d8576de2576018b12b4a4df9dd10ffe39505e5999c48dc77135 /usr/bin/false
1d0b85f9a5e7af69ebd52496960bb72b35efed86ad2f9189a5ae61f0da496e29 /usr/bin/fmt
bf93f35c9043e7bf9cd8bb56e1fd36c64a681bc6fecf32a26f4343a872d68fee /usr/bin/fold
ac0d25183d6761d6981a10ce3fb30368c742b3931dcc0a57f0209af06bbedf7d /usr/bin/head
4cbc636a3cb0678de72875bf041fa12124fc22face1c44b6b091f40303639932 /usr/bin/hostname
ff78648f1de9ed25774ad84688aaa2dd5f5e20a0246c07fecc7bba5d865637e7 /usr/bin/id
1ac8a2348b20483403295d81ea5e8e8e2884821aa3f52c16fa2ac392a664057b /usr/bin/join
12f00bee3d84b402060549825b558a9ad33e1894ebca711bd664f2549755f567 /usr/bin/kill
14bb3d0d38ab3c9d1509a9629b43aad52832cb0b4a8751ff386fb84205f7227a /usr/bin/link
ba35b6c99c8a4e9afe74a6dcc7eb3d9c91e78a79bdbb29a3910eb1df4839e3d1 /usr/bin/ln
3f27707725f6f40c50d98d81177eea622f2c099c4d438dd7403447cc7ac877a7 /usr/bin/logname
85576d16a8fb90982dc06367f87854d22eb450563412ccdd260f79034a2ca946 /usr/bin/mkfifo
179c974ce2066f82a358251275387256f45aaf32aced1ef0f947eb15fb1f2667 /usr/bin/mkdir
0788a271c5248420cb7a1ca78ab1836adc182107956015b8abc6327fa5185361 /usr/bin/mknod
e818632ad05d3a28729ee59ba358195bbf955031c94937edd85c17cb39fe8a4e /usr/bin/nl
7546b011512a691ca7a002255ab506e0eb3fcee9eaa8ea6a8bdd33c427f1d3a0 /usr/bin/od
d9e5d2f2bd66da7c0a40425fd2a79063922dc65f9624c44479e797402066b3ec /usr/bin/paste
bbdc86c313974a3a4ac6cf15872aef6e5ee64c2b5c20cb0f5a1890d5e7b6546f /usr/bin/pathchk
eb1bc70fa0620a1ac87c68ba020d87b79d6075d6eb11a6b0016cb9e314f3a291 /usr/bin/pr
729348066c315f5e8ca24e2ffd7c0de4b4caebdf0457fc2ac7c700acb212c804 /usr/bin/printf
0088a758bb3cc8c2a6b910e0578caf6b48c9bf038d81ab45590569b3881e8fdc /usr/bin/ptx
636b407b6c3edd1f857c148fe232dfb65bffd41d533cc02f0bdf66920790198c /usr/bin/pwd
54da3831ee3911fef7002343b4ef34985b33c7fbb9db4eec7a9dee375c2e697b /usr/bin/readlink
212fac1b9d1e6823e8405d27e8463c9ef66feef136b3a645ac74abca5b2ab307 /usr/bin/rmdir
195e6b3140af1d9c6acf60a9e4b15aef10bf2af90e3403dc1638432a7b0c8104 /usr/bin/seq
92fccdabbab2944ebf2505a2ca7bee64fbac1e2f416070d32057719c81694577 /usr/bin/sleep
e645b680c87525f7f07f2e4d4a3b45ad46fa1f2c00eebb5df261ad1fac23437a /usr/bin/sort
22e69bc9e53e6a0d1057b9f3fd1b56e5961a0ad3f0872055a9db4484255e00b8 /usr/bin/split
5b7d656ba2bde6a8635a81892f45488d3cfc432539e9e26a658b6cde31f3433e /usr/bin/sum
4283e83e4209c655a234261111ba6baac19872e422dea875d0c3c9d12d237764 /usr/bin/tail
92ada6ccb318026a733ee3876901b72a4368fa8c77cae4bad6bad9768b90a170 /usr/bin/tee
f629249c365e27d1a5adff7084d8b0d6f8e7c0f52cc4f732c274bf22549eea8b /usr/bin/tr
a20e1f50ddb55fabf3fefd0792666333dccf7f009346111af263f26b9713e0ce /usr/bin/tsort
03856386bb8fdc106d7013e43c14d2a4909c60ebfa57126fb2b8bc094abda1b6 /usr/bin/unexpand
5829343aa33965f265a5bf54525fd1628f27b871ee64440e30ba4ef45368f2de /usr/bin/uniq
a75f7c368f1b1bf04df9a750fb9fb26af853db6d27b2c96c863b83874f668a54 /usr/bin/unlink
323893a3b37a864721c97019bbdb7be02384740f0b9d9f5581ea118cdeed56c5 /usr/bin/wc
ea87a1e4c1a82ef993658663beed64987dca7c6c6cb31c1114d8c359b17418d6 /usr/bin/whoami
63a183dd1db1f656f9825d71f7d62a630adb055c2c437749ce8a1eaa54ef7d1a /usr/bin/tac
620fe3ad12163c07466afcc46f7c1e33662d41325f8434a097afc44f2a742292 /usr/bin/test
8e1302fa60ce31dfe50deecc6086e637d225e2b9b183e257291623747dc9be17 /usr/bin/touch
2b9288ae23fde3bee21c647a7307c93c907418c24416f23385454d90e52c526c /usr/bin/true
464c29f9ca17c7826d274a142bacea452853eed2a1b4bbea881e8e82e019c877 /usr/bin/yes
3d5da2cd2832ceb9ab00596e382d822dd5b1a5d66fd9cae394c19c3c8ab9a564 /usr/bin/ls
822420e3d0fad3b160ca5722b8f0030ad7c7c93ba6bf3872860a0f892cdff9e6 /usr/bin/md5sum
ed775c2232dd4314edf5ef555b1b9c3ce5817184de712d20c242a3f29cebc836 /usr/bin/mv
67a7e88530f4f05a969120f37533800571932b9711b5b53872c8a80606db2c62 /usr/bin/rm
3651c81009a92e30a80c3871a3005fabd1cbbb2fc6a9b8242543eea596552e0d /usr/bin/sha1sum

View file

@ -1 +1 @@
e5ddef55d9747552d3d29662312417d8223b125d6df423fdec303e2684e2c34c /usr/bin/gzip
6969e17b2114ab1350554efe727391ba7440950246a2edbffc29c4650263bfc7 /usr/bin/gzip

View file

@ -1 +1 @@
4c9812c04d3bf98b62a628a17378a36b2a9534eee7b8b0af9d07b087275253a0 /usr/bin/kexec-fiwix
68c2f1de52d4f42409cb6433029ec784186cabbc923487eb778943547a20b257 /usr/bin/kexec-fiwix

View file

@ -1 +1 @@
16d10331b900481d027b69bbd95ea070fe48cb0e4c072a74b62f3d729ee718ab /usr/bin/make_fiwix_initrd
0f6ea4aabc374a92d961c5d63ed4af011ed348b6415ff71f07d7e785fc71b69c /usr/bin/make_fiwix_initrd

View file

@ -1,11 +0,0 @@
/*
* SPDX-FileCopyrightText: 2023 Paul Dersey <pdersey@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
int putenv(char *string)
{
return 0;
}

View file

@ -1 +1 @@
43ad49ef3345573286a93ce74c1c952edd600fb1335529d8394a53bc87189fd1 /usr/bin/make
bf51c0e1d5d461b2b6ecf1b7f5cd2c52570ed1fcddaacbfb32dcae0a608f023e /usr/bin/make

View file

@ -22,9 +22,6 @@ cd ${pkg}
# Create .h files
catm config.h
# Prepare
cp ../../files/putenv_stub.c putenv_stub.c
# Compile
tcc -c getopt.c
tcc -c getopt1.c
@ -53,10 +50,9 @@ tcc -c -I. -DHAVE_INTTYPES_H -DHAVE_SA_RESTART remote-stub.c
tcc -c -DHAVE_FCNTL_H getloadavg.c
tcc -c -Iglob -DSTDC_HEADERS glob/fnmatch.c
tcc -c -Iglob -DHAVE_STRDUP -DHAVE_DIRENT_H glob/glob.c
tcc -c putenv_stub.c
# Link
tcc -static -o ${BINDIR}/make getopt.o getopt1.o ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o implicit.o job.o main.o misc.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o getloadavg.o fnmatch.o glob.o putenv_stub.o
tcc -static -o ${BINDIR}/make getopt.o getopt1.o ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o implicit.o job.o main.o misc.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o getloadavg.o fnmatch.o glob.o
# Test
make --version

View file

@ -33,7 +33,7 @@
build: checksum-transcriber-1.0
build: simple-patch-1.0
build: mes-0.26
build: mes-0.26.1
build: tcc-0.9.26
build: tcc-0.9.27
define: BUILD_FIWIX = ( KERNEL_BOOTSTRAP == True || BUILD_KERNELS == True )

View file

@ -1,14 +1,14 @@
9c7318aceeb21856d3f0346d41cb41b794bc2c5c7bf3415e6067105c75e3824f /usr/bin/mes
94668ea026e429f38bc37fadc75f987899784af4239f55b2951d87227b72aa98 /usr/bin/mes-m2
a7375f00fdafff9d76ec63290471c97123b0e29b21747b21604835235b5bb3b7 /usr/bin/mescc.scm
c21d85f0bab1a36d224bd73fbbbad27f9320144de6706c8778f2da68beb63e74 /usr/bin/mes
57f648bcf6da06cb83e8ffc89deff9e94e8cdb7a5820300b9cb5e1bb957b5f46 /usr/bin/mes-m2
20655e4ec935bdb63099eaf48e89b24010413a444cbcdc3f21a1cd12a5c62ddc /usr/bin/mescc.scm
c66de1ba72b8019eee113271638e4e30543aa7d34f45c9cc751346dba0d8817c /usr/lib/x86_64-mes/crt1.s
d0a80b94228deb99bda15244f0ed3736badd0632c78a3379195ba24a78f68a75 /usr/lib/x86_64-mes/crt1.o
ff5640d78b9924dd40157596438da4108a97fe658806fbbadced38b4020395f4 /usr/lib/x86_64-mes/x86_64.M1
d0f691ad803ed00530297456086e8b820cda4faec3e7dbde767b4558e71a1b47 /usr/lib/x86_64-mes/x86_64.M1
684bfcde34f118026d875acf2dbe2e4a39dce96d5f938f534995b582ba1a4241 /usr/lib/x86_64-mes/libmescc.s
7f5c8d9a5226fd33aa310e4d76151fb4f39969387ea00527356f7891f9e7ff6b /usr/lib/x86_64-mes/libc+tcc.s
53de3c338d82cb45848193b95d319b7a860d289a14824f1961c655b167aabd68 /usr/lib/x86_64-mes/libc.s
e8daa2594fbdceb504e1268e1298dc48a65514e90f1bf9269ffc0c710c982f3a /usr/lib/x86_64-mes/libc+tcc.s
728c76576c8d2433688b890a080941af327f0d547922b3ce884c5cf4b628dbed /usr/lib/x86_64-mes/libc.s
ad1f1e390f675db2a3545aecc63df798d49317cad2ae5eadb9382df960bbd9f3 /usr/lib/x86_64-mes/libmescc.a
5bce272890558f2c628030eeff06889346398d15ebe46bb9d9f116162fa6f547 /usr/lib/x86_64-mes/libc+tcc.a
264bfb52a14957759e65c9c1224f0ca750713107586db367a2e235729797ecda /usr/lib/x86_64-mes/libc.a
da4b3c083b5121e207da7e15b6693727ec9f649c1bf80c335c4e45e438815629 /usr/lib/x86_64-mes/libc+tcc.a
86f5cdc3c2606ea6d95108e9e1ce871e2c2bcde494d86a3149fcd2dd4be13a69 /usr/lib/x86_64-mes/libc.a
48c57492e80a99bf16eeba55e242b60b9e759992482b651d1b512f07ddd9a65a /usr/lib/linux/x86_64-mes/elf64-header.hex2
94c796cb34a6e581491d0cf609e7fad01715c84a17b8b2017178a36568a80e48 /usr/lib/linux/x86_64-mes/elf64-footer-single-main.hex2

View file

@ -1,14 +1,14 @@
1e76db632c2d1929a20b09b248feab99c54278605a33816bcb5357da59fd110b /usr/bin/mes
169f2b759248d2cdf3073ce3a7128857491eb0e26553b3a21d00d9d2c0fc6e55 /usr/bin/mes-m2
a63a6613ecc8f38f00675ea227b2198fbdaf0599c56e6911518da05854d7fa33 /usr/bin/mescc.scm
1de2b985869afc4b4c5764c2b81c6b578fa206a6550e5e14ee99421ee5a8433f /usr/bin/mes
6ff3ffb5dc7391c8560f08853292ff90b3ebd5413237b223bb96d078d7c5099e /usr/bin/mes-m2
11f33b019f78c90fcbd2385ebb037ee4e36984117799207497c3c83e8d537d1d /usr/bin/mescc.scm
50441b03b915bd51fb811749901a56b3c42186b45f7f466dbf23337eafad520c /usr/lib/riscv64-mes/crt1.s
a96a0a8f1b2dd1e5a7dad8264c92b5448be7d29aa7706d40d67be978d5ddc305 /usr/lib/riscv64-mes/crt1.o
1511e99da81caa02490078c7a880ac97d439b6fec99cf846dc2044468e2444b8 /usr/lib/riscv64-mes/riscv64.M1
8f7e94270c7cbb076ff5fe3cdd0d6c891537e7945e5aa4bdbf167867471bfbc2 /usr/lib/riscv64-mes/libmescc.s
24134e4f0b9b6f9f81b73cf473901847bc06f4ecb1071b8c7db52d20333432a0 /usr/lib/riscv64-mes/libc+tcc.s
f98c4b82fa99a7b298653c534d2337a0cad94b879e280d5407adf7fa50f21c7e /usr/lib/riscv64-mes/libc.s
50bd63e4d2f960085508763af35ea370ca5a57f2fa81b84289883b211ca14686 /usr/lib/riscv64-mes/libc+tcc.s
e70bb4dab325a5e10e032e5da595f7bdc6059fc8977abe675a426dc33cbd0f16 /usr/lib/riscv64-mes/libc.s
5027a055f6c564417bf5194a9b43a8a93ae59d9a26ce75a55895f253a6aab2c2 /usr/lib/riscv64-mes/libmescc.a
24c10f036d406d7703e1900ed6b6fbeef2173abba5c70bd170d1f0b3dc691156 /usr/lib/riscv64-mes/libc+tcc.a
aeb8ba8c25a7edc6a3893049393fbf6695b7bdb6797d83d0f86c7a4fe1e4537b /usr/lib/riscv64-mes/libc.a
9f2eb1f393a9efb2e72c5ac2ff8fd3e57c264e70e11b900f6242f6f9a0da4a8c /usr/lib/riscv64-mes/libc+tcc.a
9e19d719a3594895893c89487c44afd544f867c810935f1427213d4bb892c5a3 /usr/lib/riscv64-mes/libc.a
22ad5f7b6e5ea07b275619956bddd913b061d6ad492a442e4b6b2f28898e50ae /usr/lib/linux/riscv64-mes/elf64-header.hex2
94c796cb34a6e581491d0cf609e7fad01715c84a17b8b2017178a36568a80e48 /usr/lib/linux/riscv64-mes/elf64-footer-single-main.hex2

View file

@ -1,14 +1,14 @@
26db12128c08a6c83b8a96277949a46c8887f4c597df622f89ab4a52366aed8e /usr/bin/mes
d3e1278cac1d7d3d5fb82042d635a43300a576059496adf9ea71d8e978de2f73 /usr/bin/mes-m2
84ac050c808a858cc58b17388a063d4a82a1bf975db4113202eb539c1eee84e1 /usr/bin/mescc.scm
5bd03c4c788ac09d085235745cd1cba3a5af47d45724fc72abc39f2cfbd07dc2 /usr/bin/mes
5b31a583d36f8e82acb056712c2b60a4bd74290e0c9e906f08cd5f2340460695 /usr/bin/mes-m2
761fe4fbbee5bfd45506ea8dbd0aeecfe8855159bd794e07fca1988109510170 /usr/bin/mescc.scm
234c264965116a24583dd569050adc766d7cc2da83b1db38085210f26031b70c /usr/lib/x86-mes/crt1.s
494f184a87175abc485a898c250c3831b2b5dcf5aead46591e00b39d1c5529fc /usr/lib/x86-mes/crt1.o
8afe05c3e1e8848b6f3e8de751524de5f69818eb8524659827918e3fddde3e1e /usr/lib/x86-mes/x86.M1
771988b1df0dfa04bf5f1ab72af18c32b1a8205a07f10e5235d79dac0a072b00 /usr/lib/x86-mes/libmescc.s
aced8d8545f2274555c975e8db86e8804f3ba5a746e2a69bb02ca2905c257791 /usr/lib/x86-mes/libc+tcc.s
40c22be10018eaf9425f6b1b45e6ad2e4e169f8df12c4f03f271c892fe3422cd /usr/lib/x86-mes/libc.s
de4f2756b6d10f08ea70d624c339b120f162857e780a372055bd11aee024ab95 /usr/lib/x86-mes/libc+tcc.s
09bca286c4d24e8fb5a6b71711cb62bacbff82752507d9d035fae6079b48b9c9 /usr/lib/x86-mes/libc.s
52f697278ccdff5e457f27e10f465a91ab9858f0c6cee0683831cadb3109bbb7 /usr/lib/x86-mes/libmescc.a
ccf0ed21e4a8b6ed970f60c7ee7b1eb4cdd136e6a717632c538053d42231e155 /usr/lib/x86-mes/libc+tcc.a
c9c684c17a32b7adc1546a6ebba11a56ac88e6af2101f45cc0e8cd320555d735 /usr/lib/x86-mes/libc.a
c5e4749abd1b6d75ddddc58ad8f17554bd26ff9cc24db5f63b5db386f74a0a59 /usr/lib/x86-mes/libc+tcc.a
86dccb6519f507eda86c2b2abc2246d11ae92f9951288084f6033814d31388a7 /usr/lib/x86-mes/libc.a
82cac4353375a52efecc6fda1f8b37373988fe41ed197b63d8e906321b105d77 /usr/lib/linux/x86-mes/elf32-header.hex2
f9873d9aab12e70f24d97f8319e17a1e698ca60779ae9a6ab3ede648cd60fc61 /usr/lib/linux/x86-mes/elf32-footer-single-main.hex2

View file

@ -47,8 +47,9 @@ cp ../files/config.h ${MES_PREFIX}/include/mes
cd ${MES_PREFIX}
mkdir include/arch
cp include/linux/${MES_ARCH}/syscall.h include/arch/syscall.h
cp include/linux/${MES_ARCH}/kernel-stat.h include/arch/kernel-stat.h
cp include/linux/${MES_ARCH}/signal.h include/arch/signal.h
cp include/linux/${MES_ARCH}/syscall.h include/arch/syscall.h
# Remove pregenerated files
rm mes/module/mes/psyntax.pp mes/module/mes/psyntax.pp.header
@ -83,14 +84,10 @@ replace --file ${mescc_in} --output ${mescc_in} --match-on @VERSION@ --replace-w
replace --file ${mescc_in} --output ${mescc_in} --match-on @mes_cpu@ --replace-with ${MES_ARCH}
replace --file ${mescc_in} --output ${mescc_in} --match-on @mes_kernel@ --replace-with linux
# Patch out double compilation bug
replace --file ${mescc_in} --output ${mescc_in} --match-on "(mescc:main (command-line))" --replace-with ");"
mescc_scm=${BINDIR}/mescc.scm
cp ${mescc_in} ${mescc_scm}
chmod 755 ${mescc_scm}
# Recompile Mes and Mes C library using mes-m2 bootstrapped Mes
alias mescc="${MES} -e main ${BINDIR}/mescc.scm -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -c"
@ -343,6 +340,7 @@ cp include/pwd.h ${INCDIR}/pwd.h
cp include/setjmp.h ${INCDIR}/setjmp.h
cp include/signal.h ${INCDIR}/signal.h
cp include/stdarg.h ${INCDIR}/stdarg.h
cp include/linux/${MES_ARCH}/signal.h ${INCDIR}/arch/signal.h
cp include/stdbool.h ${INCDIR}/stdbool.h
cp include/stddef.h ${INCDIR}/stddef.h
cp include/stdint.h ${INCDIR}/stdint.h

View file

@ -1,4 +1,4 @@
https://mirrors.kernel.org/gnu/mes/mes-0.26.tar.gz 0f2210ad5896249466a0fc9a509e86c9a16db2b722741c6dfb5e8f7b33e385d4
https://mirrors.kernel.org/gnu/mes/mes-0.26.1.tar.gz e1370d528cbfcbb477ca35e59ae2f6fb71f611f9c856330e6dcb5f2459c2fcf4
https://github.com/Googulator/nyacc/releases/download/V1.00.2-lb1/nyacc-1.00.2-lb1.tar.gz 708c943f89c972910e9544ee077771acbd0a2c0fc6d33496fe158264ddb65327
https://archive.org/download/live-bootstrap-sources/nyacc-1.00.2-lb1.tar.gz 708c943f89c972910e9544ee077771acbd0a2c0fc6d33496fe158264ddb65327
https://files.bootstrapping.world/nyacc-1.00.2-lb1.tar.gz 708c943f89c972910e9544ee077771acbd0a2c0fc6d33496fe158264ddb65327

View file

@ -1 +1 @@
b14c139752c048cf2569f9724f2480f242b55e89bd0bb4f3970ff6c4a9390954 /usr/bin/patch
bca8603cdc6cf386912c2a2ecb7e44407192632d694558396627484afcc2d206 /usr/bin/patch

View file

@ -1 +1 @@
58d2dd86201ed5ed48f546876eae862f6749983354e0408234d0801796dc8c0c /usr/bin/sed
e87ec3e15ed9072597dc855739afa7b05046d3fefdd41881ce83f8b32af4b36f /usr/bin/sed

View file

@ -1 +1 @@
0afc8a60b8b9f2c52f7836c74136160c2c83d38afc0f2181bc24a38f88a6b3a0 /usr/bin/simple-patch
f4edc348e74084fedf816c82fbf02dda62214ef62148f74f5fd95410eb56319d /usr/bin/simple-patch

View file

@ -1 +1 @@
a06cbf887341ea5387e7947bc4e01a07349ad5b604b214e6b0dab4a6c3e0e30b /usr/bin/simple-patch
cd80bb65cec0dfbacc5334a39b73ac456ebc61d1b27ae2b12b6516103880de7d /usr/bin/simple-patch

View file

@ -1 +1 @@
05a5983f7961c92c1cf4caae9dcf9cc73c5820e83dc142d1893ece2571a62019 /usr/bin/tar
73b5872094f45d65880ac997c1fefcc42d4c3e70e2e29dfcb1cf358973a8af29 /usr/bin/tar

View file

@ -43,19 +43,16 @@ cd ${TCC_PKG}
if match ${ARCH} x86; then
MES_ARCH=x86
TCC_TARGET_ARCH=I386
MES_LIBC_SUFFIX=gcc
HAVE_LONG_LONG=0
fi
if match ${ARCH} amd64; then
MES_ARCH=x86_64
TCC_TARGET_ARCH=X86_64
MES_LIBC_SUFFIX=gcc
HAVE_LONG_LONG=1
fi
if match ${ARCH} riscv64; then
MES_ARCH=riscv64
TCC_TARGET_ARCH=RISCV64
MES_LIBC_SUFFIX=tcc
HAVE_LONG_LONG=1
fi
@ -99,11 +96,11 @@ cd ../${MES_PKG}
# Create unified libc file
cd lib
catm ../unified-libc.c ctype/isalnum.c ctype/isalpha.c ctype/isascii.c ctype/iscntrl.c ctype/isdigit.c ctype/isgraph.c ctype/islower.c ctype/isnumber.c ctype/isprint.c ctype/ispunct.c ctype/isspace.c ctype/isupper.c ctype/isxdigit.c ctype/tolower.c ctype/toupper.c dirent/closedir.c dirent/__getdirentries.c dirent/opendir.c linux/readdir.c linux/access.c linux/brk.c linux/chdir.c linux/chmod.c linux/clock_gettime.c linux/close.c linux/dup2.c linux/dup.c linux/execve.c linux/fcntl.c linux/fork.c linux/fsync.c linux/fstat.c linux/_getcwd.c linux/getdents.c linux/getegid.c linux/geteuid.c linux/getgid.c linux/getpid.c linux/getppid.c linux/getrusage.c linux/gettimeofday.c linux/getuid.c linux/ioctl.c linux/ioctl3.c linux/kill.c linux/link.c linux/lseek.c linux/lstat.c linux/malloc.c linux/mkdir.c linux/mknod.c linux/nanosleep.c linux/_open3.c linux/pipe.c linux/_read.c linux/readlink.c linux/rename.c linux/rmdir.c linux/setgid.c linux/settimer.c linux/setuid.c linux/signal.c linux/sigprogmask.c linux/symlink.c linux/stat.c linux/time.c linux/unlink.c linux/waitpid.c linux/wait4.c linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/_exit.c linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/syscall.c linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/_write.c math/ceil.c math/fabs.c math/floor.c mes/abtod.c mes/abtol.c mes/__assert_fail.c mes/assert_msg.c mes/__buffered_read.c mes/__init_io.c mes/cast.c mes/dtoab.c mes/eputc.c mes/eputs.c mes/fdgetc.c mes/fdgets.c mes/fdputc.c mes/fdputs.c mes/fdungetc.c mes/globals.c mes/itoa.c mes/ltoab.c mes/ltoa.c mes/__mes_debug.c mes/mes_open.c mes/ntoab.c mes/oputc.c mes/oputs.c mes/search-path.c mes/ultoa.c mes/utoa.c posix/alarm.c posix/buffered-read.c posix/execl.c posix/execlp.c posix/execv.c posix/execvp.c posix/getcwd.c posix/getenv.c posix/isatty.c posix/mktemp.c posix/open.c posix/raise.c posix/sbrk.c posix/setenv.c posix/sleep.c posix/unsetenv.c posix/wait.c posix/write.c stdio/clearerr.c stdio/fclose.c stdio/fdopen.c stdio/feof.c stdio/ferror.c stdio/fflush.c stdio/fgetc.c stdio/fgets.c stdio/fileno.c stdio/fopen.c stdio/fprintf.c stdio/fputc.c stdio/fputs.c stdio/fread.c stdio/freopen.c stdio/fscanf.c stdio/fseek.c stdio/ftell.c stdio/fwrite.c stdio/getc.c stdio/getchar.c stdio/perror.c stdio/printf.c stdio/putc.c stdio/putchar.c stdio/remove.c stdio/snprintf.c stdio/sprintf.c stdio/sscanf.c stdio/ungetc.c stdio/vfprintf.c stdio/vfscanf.c stdio/vprintf.c stdio/vsnprintf.c stdio/vsprintf.c stdio/vsscanf.c stdlib/abort.c stdlib/abs.c stdlib/alloca.c stdlib/atexit.c stdlib/atof.c stdlib/atoi.c stdlib/atol.c stdlib/calloc.c stdlib/__exit.c stdlib/exit.c stdlib/free.c stdlib/mbstowcs.c stdlib/puts.c stdlib/qsort.c stdlib/realloc.c stdlib/strtod.c stdlib/strtof.c stdlib/strtol.c stdlib/strtold.c stdlib/strtoll.c stdlib/strtoul.c stdlib/strtoull.c string/bcmp.c string/bcopy.c string/bzero.c string/index.c string/memchr.c string/memcmp.c string/memcpy.c string/memmem.c string/memmove.c string/memset.c string/rindex.c string/strcat.c string/strchr.c string/strcmp.c string/strcpy.c string/strcspn.c string/strdup.c string/strerror.c string/strlen.c string/strlwr.c string/strncat.c string/strncmp.c string/strncpy.c string/strpbrk.c string/strrchr.c string/strspn.c string/strstr.c string/strupr.c stub/atan2.c stub/bsearch.c stub/chown.c stub/__cleanup.c stub/cos.c stub/ctime.c stub/exp.c stub/fpurge.c stub/freadahead.c stub/frexp.c stub/getgrgid.c stub/getgrnam.c stub/getlogin.c stub/getpgid.c stub/getpgrp.c stub/getpwnam.c stub/getpwuid.c stub/gmtime.c stub/ldexp.c stub/localtime.c stub/log.c stub/mktime.c stub/modf.c stub/mprotect.c stub/pclose.c stub/popen.c stub/pow.c stub/rand.c stub/rewind.c stub/setbuf.c stub/setgrent.c stub/setlocale.c stub/setvbuf.c stub/sigaction.c stub/sigaddset.c stub/sigblock.c stub/sigdelset.c stub/sigemptyset.c stub/sigsetmask.c stub/sin.c stub/sys_siglist.c stub/system.c stub/sqrt.c stub/strftime.c stub/times.c stub/ttyname.c stub/umask.c stub/utime.c ${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/setjmp.c
catm ../unified-libc.c ctype/isalnum.c ctype/isalpha.c ctype/isascii.c ctype/iscntrl.c ctype/isdigit.c ctype/isgraph.c ctype/islower.c ctype/isnumber.c ctype/isprint.c ctype/ispunct.c ctype/isspace.c ctype/isupper.c ctype/isxdigit.c ctype/tolower.c ctype/toupper.c dirent/closedir.c dirent/__getdirentries.c dirent/opendir.c linux/readdir.c linux/access.c linux/brk.c linux/chdir.c linux/chmod.c linux/clock_gettime.c linux/close.c linux/dup2.c linux/dup.c linux/execve.c linux/fcntl.c linux/fork.c linux/fsync.c linux/fstat.c linux/_getcwd.c linux/getdents.c linux/getegid.c linux/geteuid.c linux/getgid.c linux/getpid.c linux/getppid.c linux/getrusage.c linux/gettimeofday.c linux/getuid.c linux/ioctl.c linux/ioctl3.c linux/kill.c linux/link.c linux/lseek.c linux/lstat.c linux/malloc.c linux/mkdir.c linux/mknod.c linux/nanosleep.c linux/_open3.c linux/pipe.c linux/_read.c linux/readlink.c linux/rename.c linux/rmdir.c linux/setgid.c linux/settimer.c linux/setuid.c linux/signal.c linux/sigprogmask.c linux/symlink.c linux/stat.c linux/time.c linux/unlink.c linux/waitpid.c linux/wait4.c linux/${MES_ARCH}-mes-gcc/_exit.c linux/${MES_ARCH}-mes-gcc/syscall.c linux/${MES_ARCH}-mes-gcc/_write.c math/ceil.c math/fabs.c math/floor.c mes/abtod.c mes/abtol.c mes/__assert_fail.c mes/assert_msg.c mes/__buffered_read.c mes/__init_io.c mes/cast.c mes/dtoab.c mes/eputc.c mes/eputs.c mes/fdgetc.c mes/fdgets.c mes/fdputc.c mes/fdputs.c mes/fdungetc.c mes/globals.c mes/itoa.c mes/ltoab.c mes/ltoa.c mes/__mes_debug.c mes/mes_open.c mes/ntoab.c mes/oputc.c mes/oputs.c mes/search-path.c mes/ultoa.c mes/utoa.c posix/alarm.c posix/buffered-read.c posix/execl.c posix/execlp.c posix/execv.c posix/execvp.c posix/getcwd.c posix/getenv.c posix/isatty.c posix/mktemp.c posix/open.c posix/pathconf.c posix/raise.c posix/sbrk.c posix/setenv.c posix/sleep.c posix/unsetenv.c posix/wait.c posix/write.c stdio/clearerr.c stdio/fclose.c stdio/fdopen.c stdio/feof.c stdio/ferror.c stdio/fflush.c stdio/fgetc.c stdio/fgets.c stdio/fileno.c stdio/fopen.c stdio/fprintf.c stdio/fputc.c stdio/fputs.c stdio/fread.c stdio/freopen.c stdio/fscanf.c stdio/fseek.c stdio/ftell.c stdio/fwrite.c stdio/getc.c stdio/getchar.c stdio/perror.c stdio/printf.c stdio/putc.c stdio/putchar.c stdio/remove.c stdio/snprintf.c stdio/sprintf.c stdio/sscanf.c stdio/ungetc.c stdio/vfprintf.c stdio/vfscanf.c stdio/vprintf.c stdio/vsnprintf.c stdio/vsprintf.c stdio/vsscanf.c stdlib/abort.c stdlib/abs.c stdlib/alloca.c stdlib/atexit.c stdlib/atof.c stdlib/atoi.c stdlib/atol.c stdlib/calloc.c stdlib/__exit.c stdlib/exit.c stdlib/free.c stdlib/mbstowcs.c stdlib/puts.c stdlib/qsort.c stdlib/realloc.c stdlib/strtod.c stdlib/strtof.c stdlib/strtol.c stdlib/strtold.c stdlib/strtoll.c stdlib/strtoul.c stdlib/strtoull.c string/bcmp.c string/bcopy.c string/bzero.c string/index.c string/memchr.c string/memcmp.c string/memcpy.c string/memmem.c string/memmove.c string/memset.c string/rindex.c string/strcat.c string/strchr.c string/strcmp.c string/strcpy.c string/strcspn.c string/strdup.c string/strerror.c string/strlen.c string/strlwr.c string/strncat.c string/strncmp.c string/strncpy.c string/strpbrk.c string/strrchr.c string/strspn.c string/strstr.c string/strupr.c stub/atan2.c stub/bsearch.c stub/chown.c stub/__cleanup.c stub/cos.c stub/ctime.c stub/exp.c stub/fpurge.c stub/freadahead.c stub/frexp.c stub/getgrgid.c stub/getgrnam.c stub/getlogin.c stub/getpgid.c stub/getpgrp.c stub/getpwnam.c stub/getpwuid.c stub/gmtime.c stub/ldexp.c stub/localtime.c stub/log.c stub/mktime.c stub/modf.c stub/mprotect.c stub/pclose.c stub/popen.c stub/pow.c stub/putenv.c stub/rand.c stub/realpath.c stub/rewind.c stub/setbuf.c stub/setgrent.c stub/setlocale.c stub/setvbuf.c stub/sigaction.c stub/sigaddset.c stub/sigblock.c stub/sigdelset.c stub/sigemptyset.c stub/sigsetmask.c stub/sin.c stub/sys_siglist.c stub/system.c stub/sqrt.c stub/strftime.c stub/times.c stub/ttyname.c stub/umask.c stub/utime.c ${MES_ARCH}-mes-gcc/setjmp.c
cd ..
# crt1.o
tcc-mes -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/crt1.c
tcc-mes -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-gcc/crt1.c
catm ${LIBDIR}/crtn.o
catm ${LIBDIR}/crti.o
@ -170,7 +167,7 @@ cp tcc-boot0 ${BINDIR}/
chmod 755 ${BINDIR}/tcc-boot0
cd ../${MES_PKG}
# Recompile libc: crt{1,n,i}, libtcc.a, libc.a
tcc-boot0 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/crt1.c
tcc-boot0 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-gcc/crt1.c
if match ${ARCH} x86; then
tcc-boot0 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crtn.o lib/linux/${MES_ARCH}-mes-gcc/crtn.c
tcc-boot0 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crti.o lib/linux/${MES_ARCH}-mes-gcc/crti.c
@ -222,7 +219,7 @@ tcc-boot0 \
cp tcc-boot1 ${BINDIR}
chmod 755 ${BINDIR}/tcc-boot1
cd ../${MES_PKG}
tcc-boot1 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/crt1.c
tcc-boot1 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-gcc/crt1.c
if match ${ARCH} x86; then
tcc-boot1 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crtn.o lib/linux/${MES_ARCH}-mes-gcc/crtn.c
tcc-boot1 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crti.o lib/linux/${MES_ARCH}-mes-gcc/crti.c
@ -274,7 +271,7 @@ tcc-boot1 \
cp tcc-boot2 ${BINDIR}
chmod 755 ${BINDIR}/tcc-boot2
cd ../${MES_PKG}
tcc-boot2 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-${MES_LIBC_SUFFIX}/crt1.c
tcc-boot2 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crt1.o lib/linux/${MES_ARCH}-mes-gcc/crt1.c
if match ${ARCH} x86; then
tcc-boot2 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crtn.o lib/linux/${MES_ARCH}-mes-gcc/crtn.c
tcc-boot2 -c -D HAVE_CONFIG_H=1 -I include -I include/linux/${MES_ARCH} -o ${LIBDIR}/crti.o lib/linux/${MES_ARCH}-mes-gcc/crti.c

View file

@ -1,10 +1,10 @@
7d242c22638950b03872b202129faa34902835f73d954dee9f123ec1531a8935 /usr/bin/tcc-mes
d6b85d7056bf37036a85ccdcabbc7e742a9191f947e9e6e6cdeaf3dcce5f8613 /usr/bin/tcc-boot0
1f39f3b05049aab60d5b719d1f990942b2abb7b194384c4951340d3d33ba0796 /usr/bin/tcc-boot1
13678ccf76c69b4dbd0c8197a97d8148713dc66f0843e3322b5460aa9da152ef /usr/bin/tcc
88f5b2aae3768e447f2d4fd33cc0985d4c91aa056816842fbccd3fd6959022ec /usr/lib/mes/libc.a
98e2d2d543a113c82c8de39f32d4d43b1fe7f3159c5956c5e3224e7f4162601f /usr/lib/mes/libgetopt.a
c05ad094fbadc8914806566c4ee512c6deb92b2b8d33325a607c3577826b8a54 /usr/lib/mes/crt1.o
4ad812482c8befa03e00505acd43a4e65d3c03a780db4fb145d115c75aebb500 /usr/bin/tcc-mes
6988d95a422ddc969845e2e7486ab4d665d5f3e14cc741033fcf23ee9e9c5d01 /usr/bin/tcc-boot0
8ce16ed1026ff9d1365eb4ee1fe0d4ed08cc0c088821faa601165b16e39fd82f /usr/bin/tcc-boot1
1366a81f8b5da46be87b93c07e13e4fdcdfa9496c7f01b971eab29fb98d62e07 /usr/bin/tcc
abce24b52227a6327f70c569d52bae51475ac819f12ce693113260a2707a1010 /usr/lib/mes/libc.a
3f5bde2387cb55014faae2a250f9f1d4ee8fe9bc477ff8365ad8773ad9c949bc /usr/lib/mes/libgetopt.a
cc417e9d50f035f01d831ab28a0c5f665e89ef8fdf04c87a0b0f50587aed33aa /usr/lib/mes/crt1.o
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 /usr/lib/mes/crti.o
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 /usr/lib/mes/crtn.o
ec63d619a871831066e028e63a5b9e48ceeeffee91d9556bfcc41724d59bd3f8 /usr/lib/mes/tcc/libtcc1.a
6e6bb64d4563514c4490563061f960512019902a10fe664f31f6cba48b58e4f0 /usr/lib/mes/tcc/libtcc1.a

View file

@ -1,8 +1,8 @@
40006fc45688054ee567f4f231c334f4469ccf5adbcc5ea6c84e2c57103e848c /usr/bin/tcc-mes
6487f9bd0043b8982832c60934154f3a05e0f7c3eb48e5bb527e90131c4e1ea8 /usr/bin/tcc-boot0
156a8c8451b34577c64a22e73b0e46f2bb054ff0a139d8909e9f60409eb30594 /usr/bin/tcc-boot1
cea11b23c4f12edc4b59fcac3407ec4bca7a1e49a8153007e5e3b901a4db2225 /usr/bin/tcc
ff7bfd6a8b8ae458eb786fad4936a4a2802399ff042de13b8302132d922607e2 /usr/lib/mes/libc.a
0ad357e27d33f2387466182880de2d448e7655ed9224d65d9861501c06cd6095 /usr/bin/tcc-mes
2f0209ee3bfe4c65b54c72fe7b5a4f9e85562c31b5b202301d07e040d1f34347 /usr/bin/tcc-boot0
edc61c506e4e080ace481d0e2e68ce4e184145721d6e67aab5a9711a7a92695b /usr/bin/tcc-boot1
2204b4625e068b77aaeffc5f94e0ee12e6826c5f7f0639bb53932e2d625939d9 /usr/bin/tcc
bcc6536a4bf27277a2a63430dbf59993dd380ce60ae2feb53dc5ffe5723f7345 /usr/lib/mes/libc.a
12c07ae103e7e3b390150a79e5c600d88de14e9bb73a066f6342582729ef5a3f /usr/lib/mes/libgetopt.a
76d280e0733f2c84aad180968167d789a825ac56526bddba4f100d6d74851027 /usr/lib/mes/crt1.o
09d4f9821a2566f7e56381a19259c41bd97f3c5ed83f490705acbfd1139a7736 /usr/lib/mes/crti.o

View file

@ -55,7 +55,7 @@ cd ../${MES_PKG}
# Create unified libc file
cd lib
catm ../unified-libc.c ctype/isalnum.c ctype/isalpha.c ctype/isascii.c ctype/iscntrl.c ctype/isdigit.c ctype/isgraph.c ctype/islower.c ctype/isnumber.c ctype/isprint.c ctype/ispunct.c ctype/isspace.c ctype/isupper.c ctype/isxdigit.c ctype/tolower.c ctype/toupper.c dirent/closedir.c dirent/__getdirentries.c dirent/opendir.c linux/readdir.c linux/access.c linux/brk.c linux/chdir.c linux/chmod.c linux/clock_gettime.c linux/close.c linux/dup2.c linux/dup.c linux/execve.c linux/fcntl.c linux/fork.c linux/fsync.c linux/fstat.c linux/_getcwd.c linux/getdents.c linux/getegid.c linux/geteuid.c linux/getgid.c linux/getpid.c linux/getppid.c linux/getrusage.c linux/gettimeofday.c linux/getuid.c linux/ioctl.c linux/ioctl3.c linux/kill.c linux/link.c linux/lseek.c linux/lstat.c linux/malloc.c linux/mkdir.c linux/mknod.c linux/nanosleep.c linux/_open3.c linux/pipe.c linux/_read.c linux/readlink.c linux/rename.c linux/rmdir.c linux/setgid.c linux/settimer.c linux/setuid.c linux/signal.c linux/sigprogmask.c linux/symlink.c linux/stat.c linux/time.c linux/unlink.c linux/waitpid.c linux/x86-mes-gcc/_exit.c linux/x86-mes-gcc/syscall.c linux/x86-mes-gcc/_write.c math/ceil.c math/fabs.c math/floor.c mes/abtod.c mes/abtol.c mes/__assert_fail.c mes/assert_msg.c mes/__buffered_read.c mes/__init_io.c mes/cast.c mes/dtoab.c mes/eputc.c mes/eputs.c mes/fdgetc.c mes/fdgets.c mes/fdputc.c mes/fdputs.c mes/fdungetc.c mes/globals.c mes/itoa.c mes/ltoab.c mes/ltoa.c mes/__mes_debug.c mes/mes_open.c mes/ntoab.c mes/oputc.c mes/oputs.c mes/search-path.c mes/ultoa.c mes/utoa.c posix/alarm.c posix/buffered-read.c posix/execl.c posix/execlp.c posix/execv.c posix/execvp.c posix/getcwd.c posix/getenv.c posix/isatty.c posix/mktemp.c posix/open.c posix/raise.c posix/sbrk.c posix/setenv.c posix/sleep.c posix/unsetenv.c posix/wait.c posix/write.c stdio/clearerr.c stdio/fclose.c stdio/fdopen.c stdio/feof.c stdio/ferror.c stdio/fflush.c stdio/fgetc.c stdio/fgets.c stdio/fileno.c stdio/fopen.c stdio/fprintf.c stdio/fputc.c stdio/fputs.c stdio/fread.c stdio/freopen.c stdio/fscanf.c stdio/fseek.c stdio/ftell.c stdio/fwrite.c stdio/getc.c stdio/getchar.c stdio/perror.c stdio/printf.c stdio/putc.c stdio/putchar.c stdio/remove.c stdio/snprintf.c stdio/sprintf.c stdio/sscanf.c stdio/ungetc.c stdio/vfprintf.c stdio/vfscanf.c stdio/vprintf.c stdio/vsnprintf.c stdio/vsprintf.c stdio/vsscanf.c stdlib/abort.c stdlib/abs.c stdlib/alloca.c stdlib/atexit.c stdlib/atof.c stdlib/atoi.c stdlib/atol.c stdlib/calloc.c stdlib/__exit.c stdlib/exit.c stdlib/free.c stdlib/mbstowcs.c stdlib/puts.c stdlib/qsort.c stdlib/realloc.c stdlib/strtod.c stdlib/strtof.c stdlib/strtol.c stdlib/strtold.c stdlib/strtoll.c stdlib/strtoul.c stdlib/strtoull.c string/bcmp.c string/bcopy.c string/bzero.c string/index.c string/memchr.c string/memcmp.c string/memcpy.c string/memmem.c string/memmove.c string/memset.c string/rindex.c string/strcat.c string/strchr.c string/strcmp.c string/strcpy.c string/strcspn.c string/strdup.c string/strerror.c string/strlen.c string/strlwr.c string/strncat.c string/strncmp.c string/strncpy.c string/strpbrk.c string/strrchr.c string/strspn.c string/strstr.c string/strupr.c stub/atan2.c stub/bsearch.c stub/chown.c stub/__cleanup.c stub/cos.c stub/ctime.c stub/exp.c stub/fpurge.c stub/freadahead.c stub/frexp.c stub/getgrgid.c stub/getgrnam.c stub/getlogin.c stub/getpgid.c stub/getpgrp.c stub/getpwnam.c stub/getpwuid.c stub/gmtime.c stub/ldexp.c stub/localtime.c stub/log.c stub/mktime.c stub/modf.c stub/mprotect.c stub/pclose.c stub/popen.c stub/pow.c stub/rand.c stub/rewind.c stub/setbuf.c stub/setgrent.c stub/setlocale.c stub/setvbuf.c stub/sigaction.c stub/sigaddset.c stub/sigblock.c stub/sigdelset.c stub/sigemptyset.c stub/sigsetmask.c stub/sin.c stub/sys_siglist.c stub/system.c stub/sqrt.c stub/strftime.c stub/times.c stub/ttyname.c stub/umask.c stub/utime.c x86-mes-gcc/setjmp.c
catm ../unified-libc.c ctype/isalnum.c ctype/isalpha.c ctype/isascii.c ctype/iscntrl.c ctype/isdigit.c ctype/isgraph.c ctype/islower.c ctype/isnumber.c ctype/isprint.c ctype/ispunct.c ctype/isspace.c ctype/isupper.c ctype/isxdigit.c ctype/tolower.c ctype/toupper.c dirent/closedir.c dirent/__getdirentries.c dirent/opendir.c linux/readdir.c linux/access.c linux/brk.c linux/chdir.c linux/chmod.c linux/clock_gettime.c linux/close.c linux/dup2.c linux/dup.c linux/execve.c linux/fcntl.c linux/fork.c linux/fsync.c linux/fstat.c linux/_getcwd.c linux/getdents.c linux/getegid.c linux/geteuid.c linux/getgid.c linux/getpid.c linux/getppid.c linux/getrusage.c linux/gettimeofday.c linux/getuid.c linux/ioctl.c linux/ioctl3.c linux/kill.c linux/link.c linux/lseek.c linux/lstat.c linux/malloc.c linux/mkdir.c linux/mknod.c linux/nanosleep.c linux/_open3.c linux/pipe.c linux/_read.c linux/readlink.c linux/rename.c linux/rmdir.c linux/setgid.c linux/settimer.c linux/setuid.c linux/signal.c linux/sigprogmask.c linux/symlink.c linux/stat.c linux/time.c linux/unlink.c linux/waitpid.c linux/x86-mes-gcc/_exit.c linux/x86-mes-gcc/syscall.c linux/x86-mes-gcc/_write.c math/ceil.c math/fabs.c math/floor.c mes/abtod.c mes/abtol.c mes/__assert_fail.c mes/assert_msg.c mes/__buffered_read.c mes/__init_io.c mes/cast.c mes/dtoab.c mes/eputc.c mes/eputs.c mes/fdgetc.c mes/fdgets.c mes/fdputc.c mes/fdputs.c mes/fdungetc.c mes/globals.c mes/itoa.c mes/ltoab.c mes/ltoa.c mes/__mes_debug.c mes/mes_open.c mes/ntoab.c mes/oputc.c mes/oputs.c mes/search-path.c mes/ultoa.c mes/utoa.c posix/alarm.c posix/buffered-read.c posix/execl.c posix/execlp.c posix/execv.c posix/execvp.c posix/getcwd.c posix/getenv.c posix/isatty.c posix/mktemp.c posix/open.c posix/pathconf.c posix/raise.c posix/sbrk.c posix/setenv.c posix/sleep.c posix/unsetenv.c posix/wait.c posix/write.c stdio/clearerr.c stdio/fclose.c stdio/fdopen.c stdio/feof.c stdio/ferror.c stdio/fflush.c stdio/fgetc.c stdio/fgets.c stdio/fileno.c stdio/fopen.c stdio/fprintf.c stdio/fputc.c stdio/fputs.c stdio/fread.c stdio/freopen.c stdio/fscanf.c stdio/fseek.c stdio/ftell.c stdio/fwrite.c stdio/getc.c stdio/getchar.c stdio/perror.c stdio/printf.c stdio/putc.c stdio/putchar.c stdio/remove.c stdio/snprintf.c stdio/sprintf.c stdio/sscanf.c stdio/ungetc.c stdio/vfprintf.c stdio/vfscanf.c stdio/vprintf.c stdio/vsnprintf.c stdio/vsprintf.c stdio/vsscanf.c stdlib/abort.c stdlib/abs.c stdlib/alloca.c stdlib/atexit.c stdlib/atof.c stdlib/atoi.c stdlib/atol.c stdlib/calloc.c stdlib/__exit.c stdlib/exit.c stdlib/free.c stdlib/mbstowcs.c stdlib/puts.c stdlib/qsort.c stdlib/realloc.c stdlib/strtod.c stdlib/strtof.c stdlib/strtol.c stdlib/strtold.c stdlib/strtoll.c stdlib/strtoul.c stdlib/strtoull.c string/bcmp.c string/bcopy.c string/bzero.c string/index.c string/memchr.c string/memcmp.c string/memcpy.c string/memmem.c string/memmove.c string/memset.c string/rindex.c string/strcat.c string/strchr.c string/strcmp.c string/strcpy.c string/strcspn.c string/strdup.c string/strerror.c string/strlen.c string/strlwr.c string/strncat.c string/strncmp.c string/strncpy.c string/strpbrk.c string/strrchr.c string/strspn.c string/strstr.c string/strupr.c stub/atan2.c stub/bsearch.c stub/chown.c stub/__cleanup.c stub/cos.c stub/ctime.c stub/exp.c stub/fpurge.c stub/freadahead.c stub/frexp.c stub/getgrgid.c stub/getgrnam.c stub/getlogin.c stub/getpgid.c stub/getpgrp.c stub/getpwnam.c stub/getpwuid.c stub/gmtime.c stub/ldexp.c stub/localtime.c stub/log.c stub/mktime.c stub/modf.c stub/mprotect.c stub/pclose.c stub/popen.c stub/pow.c stub/putenv.c stub/rand.c stub/realpath.c stub/rewind.c stub/setbuf.c stub/setgrent.c stub/setlocale.c stub/setvbuf.c stub/sigaction.c stub/sigaddset.c stub/sigblock.c stub/sigdelset.c stub/sigemptyset.c stub/sigsetmask.c stub/sin.c stub/sys_siglist.c stub/system.c stub/sqrt.c stub/strftime.c stub/times.c stub/ttyname.c stub/umask.c stub/utime.c x86-mes-gcc/setjmp.c
cd ..
# Recompile libc: crt{1,n,i}, libtcc.a, libc.a

View file

@ -1 +1 @@
bfb501b3bcdd958756251bf378ea93e992539975bd802f0c43f167aa4b81aadd /usr/bin/tcc
39f2a8254209f7c0423d219a98a07d782509cff6f6d34f6fd17192a190dbf63b /usr/bin/tcc