@mainframed767 @smallsco Apple’s default/standard compiler for A/UX is K&R only, so it will compile only old/specially prepared C sources.

Then, there’s the “extra” ANSI compiler from Apple. http://archive.3rz.de/Mac/a-ux/A-UX%20Developer%20Tools%201.1%20(Apple%20ANSI%20C%20compiler).iso.gz that I archived from original CDs. It’s more capable and was part of the SDK for A/UX 3.

Or you could use gcc.

#ansic #m68k #aux

New video: Let's Code MS DOS 0x31: ANSI C Data Types

The C programming language has only few builtin data types. But for a beginner those can be a bit confusing. So we will have a look at what data types are offered, and what kind of new datatypes you can build with C.

https://youtu.be/e200YdGUTDI
#letscode #msdos #ansic #retrocomputing

@chad @Chigaze @grammargirl I was going to say as a C programmer, I’m not only using the semicolon all the time, I can get quite distraught when I miss one! 😅

#CProgramming #RetroProgramming #Programming #ANSIC #Computers

Compile small Binaries with ANSI C on Linux

With the right compiler and compiler settings, both the object code as well as the resulting binary can be generated much smaller.

https://datapulp.de/floss/2025-02-02-compile-small-binaries/

#optimization #compiler #ansic #c99
Compile small Binaries with ANSI C on Linux

best c standard ( only one right answer ) #c #ansic #programming
c89
18.2%
c99
54.5%
c11
0%
c17
0%
c2x
27.3%
Poll ended at .

#include <fun.h>
#include <familie.h>
#define newYear 2024

main()
{
gobalHappy=newYear;
printf("Lets rock");
}

#ansiC #newyear

Does anyone know why the C standards body went with the solution of those weird PRIu64 macros instead of a new format specifier like %j or whatever?

My google-fu is weak, can’t even locate a copy of the C99 standard that might maybe mention what this is for.

#ansiC #isoC #programmingLanguages #standards

Ah yes, because we need protective goggles when working on ANSI C .
.
.
.
DEFINITELY HAVE TO KEEP CHILDREN AWAY FROM ANSI C...
#c #ansic #c_programming #ansi
snac: update to version 2.34 by artkiver · Pull Request #18968 · macports/macports-ports

Description Type(s) bugfix enhancement security fix Tested on macOS 13.4 22F66 arm64 Xcode 14.3.1 14E300c Verification Have you followed our Commit Message Guidelines? squashed and mini...

GitHub