-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac Silicon build? #75
Comments
If that source is only https://github.com/benibela/xidel.git, then the error is expected.
It is possible to compile
Now, the creation of 'xidelbuilddata.inc' is personal and a matter of taste. I use this exotic command...
...and apply the following change... $ cat ../remove_getVersionString.diff
diff --git a/xidelbase.pas b/xidelbase.pas
index 42773be..f76af2a 100644
--- a/xidelbase.pas
+++ b/xidelbase.pas
@@ -3331,21 +3331,12 @@ begin
end;
end;
-function getVersionString: string;
-begin
- result := IntToStr(majorVersion)+'.'+IntToStr(minorVersion);
- if buildVersion <> 0 then result += '.'+IntToStr(buildVersion);
- if Result = '0.8.4' then result += ' (Balisage edition)'
-end;
-
procedure printVersion;
begin
- writeln('Xidel '+getVersionString);
{$I xidelbuilddata.inc} //more version information to print. if you do not have the file, just create an empty one or remove this line
- writeln('');
+ writeln();
writeln('http://www.videlibri.de/xidel.html');
writeln('by Benito van der Zander <[email protected]>');
- writeln();
end;
procedure printUsage;
@@ -3643,7 +3634,7 @@ begin
mycmdline.declareFlag('deprecated-string-options', 'Replaces the old $foo; variables with the new {$foo} in arguments');
mycmdline.declareFlag('deprecated-trim-nodes', 'Removes all surrounding white space of all nodes.');
- mycmdLine.declareFlag('version','Print version number ('+getVersionString+')');
+ mycmdLine.declareFlag('version','Print version number');
mycmdLine.declareFlag('usage','Print help, examples and usage information');
mycmdLine.declareFlag('quiet','-quiet,-q is outdated. Use --silent,-s', 'q');
|
I had put it here: https://github.com/benibela/ararat-synapse/
Now that will just confuse people |
I'd disagree. It perfectly sums up the snapshots of the integrated / required components. And the What actually is confusing in my opinion is the fact that you build / release
|
Could you make a binary available for Mac Silicon (ARM)?
I tried to build from source, but had the following error:
I had installed
fpc--3.2.2.arm64_big_sur.bottle.tar.gz
via homebrew.The text was updated successfully, but these errors were encountered: