-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Improve] ./build.sh
, cxx/*
: Support all C++11 systems
#19
Comments
? |
./build.sh
, `cxx/*: Support all C++11 systems./build.sh
, cxx/*
: Support all C++11 systems
This issue must close for https://github.com/SwuduSusuwu/SubStack/milestone/8 to close, |
|
?`Macros.sh`: ?`SUSUWU_CLEAN_OUTPUT_IMPL`: move '*' out of double quotes, to fix `"./obj/*.o" not found`. ?`SUSUWU_ESCAPE_PATH`: preemptive fix for special case (if ""=${2+}), which now won't affix "\\ ". Is followup to 86486ac (?Macros.sh: `s/[^}"]${\(\w\+\)}[^"$]/ \"${\1}\""/`), which caused the regression (purpose was to allow spaces in paths). Issues: improves #19 (`make` analog through `./Macros.sh`).
?`cxx/ClassSys.hxx`, ?`cxx/ClassSys.cxx`: +`classSysGetOwnPath()`: If Linux; `return "/proc/self/exe";`, if Windows; `return GetModuleFileName(GetModuleHandle(NULL))l` if others `return classSysArgs[0]; /* is `argv[0] stored from `main()` */` +`classSysFopenOwnPath()`: for now is just `return fopen(classSysGetOwnPath(), "r");`. ?`execvesfork`: Comments have typo fixes. Issues: closes #25 (those 2 functions are the whole issue), improves #19 (Windows support). ?`cxx/VirusAnalysis.cxx`: ?`virusAnalysisTests()`: Replace `classSysArgc`, `classSysArgs[0]`, `#ifdef __linux__`, `"/proc/self/exe" with; `classSysGetOwnPath(). Is followup to: 5f0ffd8 (?`virusAnalysisTests()`: if Linux, use procfs:). ?`posts/PortableExecutable.md`: Include all this. Remove (accidental) extra inclusion of `cxx/Macros.hxx`: 4920b4a (which `git blame` says did the extra inclusion.)
Issue #18 is a request to improve overall support for systems/tools,
which includes d7370e8 (allows to build with
-std=c++11
), but some functions (such ascxx/ClassSys.hxx
:execv*
) support just_POSIX
(not_WIN32
)../build.sh --mingw
can produce executables from POSIX to Windows, the set of POSIX + Windows is most operating systems, but there is no./build.bat
(with which to build from Windows to Windows).This issue is closed once all operating systems (which support C++11) can build + execute this.
Lots to do. If you want this: respond that you wish more resources go to this, or contribute.
The text was updated successfully, but these errors were encountered: