ioccc-src / temp-test-ioccc

Temporary test IOCCC web site that will go away
Creative Commons Attribution Share Alike 4.0 International
28 stars 6 forks source link

Fix how 2001/anonymous alt code is built #1832

Closed xexyl closed 4 months ago

xexyl commented 4 months ago

The 64-bit code binaries have been renamed to .alt: anonymous.ten.alt and anonymous.bed.alt. This is because it's theoretically possible that they are not compiled as 64-bit binaries (though how this might be I cannot think of at this time) and in any case they are alt builds (though they use the same source).

In the case the -m32 fails (whether due to compiler[0] or no access to 32-bit binary compilation) make alt will be used with warnings that the entry cannot work with them. The reason these are built as .alt and not the original is to be clearer whereas in other cases (like 1985/sicherman) the point was just a backup plan in case a compiler objects to it. Here they must be compiled as 32-bit ELF binaries (though we cannot check if they are ELF - at least not easily and in an entirely portable way - we can at least determine if they compiled as 32-bit) so the alt builds are set to be .alt in filenames.

The try.sh script has been updated for this and in the case. However this file needs to be looked at again and will be later. The purpose of this commit was to resolve another issue that is in the todo file (this is not yet done and might or might not be done later today).

xexyl commented 4 months ago

I believe there's only one more of these that has to be done but I will have to check later. It's time for a rest. I'm not sure if I will get this done today or not: as I noted this past weekend today I have two doctor appointments. But I wanted to start to tackle his so that this item can be removed from the todo file. Right now I'm planning on resting again. I actually doubt I'll finish this task today but the next time I look at it I believe I can do it.

xexyl commented 4 months ago

.. actually it appears that in the other case I can think of there is no way to have alt builds so it just needs a better message in the Makefile and README.md file. Still I can't do that now.

lcn2 commented 4 months ago

Thank you @xexyl

xexyl commented 4 months ago

Thank you @xexyl

Welcome .. back tomorrow or the next day. Have to leave soon and the next day is hectic too.

lcn2 commented 4 months ago

Thank you @xexyl

Welcome .. back tomorrow or the next day. Have to leave soon and the next day is hectic too.

Still no water today. In a few days it will be -15C making things more interesting. May have to go to a nearby town to a motel to get a shower, do laundry, cook/eat. Have about 750cc water for taking pills for the next few days. Need to stick around to help those coming to work on the issue so they can start. Then off to town to use a ๐Ÿšฝ๐Ÿงป. Meanwhile trying to not think about the need to do that for the next 2 hours until I leave for town.

Hopefully this morning we will learn about the status of things / receive a prognosis.

xexyl commented 4 months ago

Thank you @xexyl

Welcome .. back tomorrow or the next day. Have to leave soon and the next day is hectic too.

Still no water today. In a few days it will be -15C making things more interesting. May have to go to a nearby town to a motel to get a shower, do laundry, cook/eat. Have about 750cc water for taking pills for the next few days. Need to stick around to help those coming to work on the issue so they can start. Then off to town to use a ๐Ÿšฝ๐Ÿงป. Meanwhile trying to not think about the need to do that for the next 2 hours until I leave for town.

Hopefully this morning we will learn about the status of things / receive a prognosis.

Good luck! I don't think I'll be doing much here today here either if anything at all. Really hard night last night and not feeling well. Today is a long day so I'm not sure how tomorrow will go either but if not tomorrow (though probably some will be done tomorrow if not today) the next day should be fine, starting with some minor things in the todo file.

I'm still waiting for replies in the other issue that has an effect on how I proceed with some things.

Away again.

lcn2 commented 4 months ago

Well pump replaced: water ๐Ÿ’ฆ service restored, so time for a nice shower ๐Ÿšฟ ๐Ÿ‘

xexyl commented 4 months ago

Well pump replaced: water ๐Ÿ’ฆ service restored, so time for a nice shower ๐Ÿšฟ ๐Ÿ‘

That reminds me of a hilarious meme .. will see if I can find it though I will have to go again at any moment.

xexyl commented 4 months ago

IMG_0322