Download Pelles C here: http://www.pellesc.se
ModLoad: 00000001`3f7c0000 00000001`3fb5c000 poide.exe
...
ModLoad: 000007fe`e2bc0000 000007fe`e2bec000 C:\code\PellesC14rc1\Bin\Wizards64\wininst.dll
(8964.84dc): Illegal instruction - code c000001d (first chance)
(8964.84dc): Unknown exception - code c000041d (!!! second chance !!!)
*** WARNING: Unable to verify checksum for poide.exe
*** ERROR: Symbol file could not be found. Defaulted to export symbols for poide.exe -
poide!WizScanForDependenciesA+0xe2846:
00000001`3f293d46 660f38f1442430 movbe word ptr [rsp+30h],ax ss:00000000`009eebd0=0000
ModLoad: 00000001`3f8f0000 00000001`3f935000 image00000001`3f8f0000
...
(8958.8a30): Illegal instruction - code c000001d (first chance)
(8958.8a30): Illegal instruction - code c000001d (!!! second chance !!!)
*** WARNING: Unable to verify checksum for image00000001`3f8f0000
*** ERROR: Module load completed but symbols could not be loaded for image00000001`3f8f0000
image00000001_3f8f0000+0x1984:
00000001`3f8f1984 0f38f14608 movbe dword ptr [rsi+8],eax ds:00000000`00222220=baadf00d
polib failBuilding zlib.lib.
POLIB: fatal error: An internal error occurred.
#include <intrin.h>
void __cdecl exit(int status);
int printf(const char * restrict format, ...);
#pragma comment(lib, "msvcrt.lib")
//#pragma comment(linker,"/subsystem:console,5.1")
void __cdecl mainCRTStartup(void)
{
int __cdecl main(void);
void __cdecl exit(int status);
exit(main());
}
// CPUID.(EAX=01H, ECX=0H):ECX.MOVBE[bit 22]
// EAX, EBX, ECX and EDX
// 0, 1, 2, 3
int GetCPUFeature(void)
{
int r[4]; // EAX, EBX, ECX and EDX
int rc = 0;
_cpuid(r, 0); // Highest Function Parameter and Manufacturer ID
if (r[0] != 0x500) { //
_cpuid(r, 1); // Processor Info and Feature Bits
rc = _bittest((const long int *)&r[2], 22);
}
return rc;
}
int main(void)
{
printf("CPU options: %d\n", GetCPUFeature());
exit(0);
}
#include <stdio.h>
#include <stdbit.h>
int main() {
unsigned short a1 = 4;
unsigned int a2 = 4;
printf("a1 one:%u a1 zero:%u\n", stdc_first_leading_one(a1), stdc_first_leading_zero(a1));
printf("a2 one:%u a2 zero:%u\n", stdc_first_leading_one(a2), stdc_first_leading_zero(a2));
return 0;
}
gcc 11.4 -std=c23
# Mighty Eagle C
Mighty Eagle C is a C implementation of the Mighty Eagle template engine.
The Mighty Eagle Templating Solution (METS) is capable of replacing a properly
tagged text document with external data. This solution has the added advantage
of being easily extended via the use of callbacks. Using callbacks a programmer
can easily model recursive data and on the fly data translations. Some use cases
include translation of data from one format to another, generic templated documents,
mail templates, and other similar tasks, batch file creation (.bat). The program is
particularly well suited for translation of relational data to hierarchical
visualizations.
This repo currently contains:
- a static library build target
- a demo executable that generates nested HTML output
- a test runner executable that validates behavior using scenario files and golden output
## Current Build Outputs
- `MightyEagleLib32.lib`
- `MightyEagleDemo32.exe`
- `MightyEagleTest32.exe`
## PellesC Workspace - Easiest build method uses the IDE
MightyEagleLib32.ppw
## Build
```console
pomake.exe MightyEagleLib32.ppj
pomake.exe MightyEagleTest32.ppj
pomake.exe MightyEagleDemo32.ppj
```
## Run Tests
```console
MightyEagleTest32.exe
```
## Run Demo
```console
MightyEagleDemo32.exe
```
## Notes
- This project was rebuilt from the original Euphoria implementation and the project specs with ChatGPT assistance.
- The main behavioral rules live in `docs/10_library_spec.md`.
- The current environment validated the 32-bit static library target.
QuotePurpose:
Starts a File difference job in the IDE.
Syntax (macro):
BOOL AddIn_FileDifference(HWND hwnd, PADDIN_FILE_DIFFERENCE pFileDiff);
Syntax (SendMessage):
SendMessage(hwnd, AIM_FILE_DIFFERENCE, (WPARAM)0, (LPARAM)(PADDIN_FILE_DIFFERENCE)(pFileDiff))
typedef struct tagADDIN_FILE_DIFFERENCE {
UINT cbSize;
const WCHAR *pszSpecLeft;
const WCHAR *pszSpecRight;
BOOL fRecurse;
} ADDIN_FILE_DIFFERENCE, *PADDIN_FILE_DIFFERENCE;
Page created in 0.072 seconds with 15 queries.