Closed Saikatsaha1996 closed 2 years ago
Have you checked if you have any headers in /usr/include/android at all ? (Full path is probably something like /data/data/com.termux/files/usr/include/android). Possibly you need to install clang in termux first to get the NDK headers.
Have you checked if you have any headers in /usr/include/android at all ? (Full path is probably something like /data/data/com.termux/files/usr/include/android). Possibly you need to install clang in termux first to get the NDK headers.
Already installed..
Have you checked if you have any headers in /usr/include/android at all ? (Full path is probably something like /data/data/com.termux/files/usr/include/android). Possibly you need to install clang in termux first to get the NDK headers.
All available in $PREFIX/include.. With clang not issue.. with gcc can't find
Strange. Seems to work for me (just tried to configure libunwind), though with the gcc-11.1 package. Does $PREFIX look correct on your system ? (Here it is /data/data/com.termux/files/usr)
Yes $PREFIX/include i found all .h file....
How can I configure with libunwind ?
I installed gcc-10 with llvm libllvm
Anything in config.log ? "configure" checks for header files by creating small C programs and trying to compile them, maybe configure is simply unable to run gcc for some other reason.
Anything in config.log ? "configure" checks for header files by creating small C programs and trying to compile them, maybe configure is simply unable to run gcc for some other reason.
I am sorry.. I actually don't know anything about c or c++ programs.. but I faced issue everytime with configure and cmake with gcc ..
Can you upload the config.log here ?
Can you upload the config.log here ?
gcc can't compile ? already patch for gcc used but same..
So it does find include files, but you need the workaround discussed in #141 (or copy the file I put in https://github.com/its-pointless/gcc_termux/issues/141#issuecomment-1100011783 )
So it does find include files, but you need the workaround discussed in #141 (or copy the file I put in #141 (comment) )
Where i can found setuppatchfor-gcc ?
So it does find include files, but you need the workaround discussed in #141 (or copy the file I put in #141 (comment) )
I added patching headers with /data/data/com.termux/files/usr/share/setup_scripts/cdefs.h-gcc-compat.diff
Is it okay?
So it does find include files, but you need the workaround discussed in #141 (or copy the file I put in #141 (comment) )
Same problem :(
I am install gcc like this way..
curl -LO https://its-pointless.github.io/setup-pointless-repo.sh bash setup-pointless-repo.sh
pkg i gcc-9
Is it correct way ? Or i am Missing anything.. because some time gcc also cannot find any #include file
@its-pointless @martin-frbg see gcc can't find also include directory..
can you trying too compile ? If you can .. :(
Okay after adding this code gcc working.. but found one problem i know it can be solve ..
OPENCL NOT FOUND any solution for this ? With clang OpenCL found .. with gcc not found..
@martin-frbg after patch all problem is solved.. Can is possible to add support for cmake ?.. gnu cmake can't compile anything ?
Cmake has an extreme hatred for gcc on termux, as well, I got partial compilation by targeting aarch64-linux-android but it failed hard, cmake is useless unless a cmake patch is included in its api-gnu.cmake files to search termuxs sysroot these are under $PREFIX/share/cmake-3.23/Modules/Platform/Android
Cmake has an extreme hatred for gcc on termux, as well, I got partial compilation by targeting aarch64-linux-android but it failed hard, cmake is useless unless a cmake patch is included in its api-gnu.cmake files to search termuxs sysroot these are under $PREFIX/share/cmake-3.23/Modules/Platform/Android
Any solution for this ?
Gcc-10 error: conflicting types for 'gl_int_fast8_t'
@strikersix23 any solution please..
I don't have any solution its an issue with cmake on termux, some headers need to be patched and others need to be rewritten, this needs to be reopened and changed name to cmake header conflicts
I'm going to try something might be a few hours
I'm going to try something might be a few hours
Okay 🤩 waiting waiting
Be aware im not a good programer and there might not be a solution
Mind telling me what you where compiling @Saikatsaha1996
Mind telling me what you where compiling @Saikatsaha1996
https://github.com/fancyIX/sgminer-phi2-branch
Error in
https://github.com/fancyIX/sgminer-phi2-branch/blob/master/SWIFFTX/SWIFFTX.c
Did you uncomment
//#include "stdbool.h"
Did you uncomment
//#include "stdbool.h"
Ok trying
Did you uncomment
//#include "stdbool.h"
No same problem..
This is crypto mining for amd gpus and therefore doesn't fit the scope of termux or termux gcc please do not ask how to build desktop hardware specific software on termux unless it can be used on mobile or is within current bounds if termux or termux gcc
This is crypto mining for amd gpus and therefore doesn't fit the scope of termux or termux gcc please do not ask how to build desktop hardware specific software on termux unless it can be used on mobile or is within current bounds if termux or termux gcc
I already complete successfully in termux
https://github.com/Saikatsaha1996/sgminer-android.git
See this.. this is also for amd but it worked on android with termux
This is crypto mining for amd gpus and therefore doesn't fit the scope of termux or termux gcc please do not ask how to build desktop hardware specific software on termux unless it can be used on mobile or is within current bounds if termux or termux gcc
But i can't compile it
Its unsupported
On Sat, Jun 4, 2022, 12:37 PM Saikat @.***> wrote:
This is crypto mining for amd gpus and therefore doesn't fit the scope of termux or termux gcc please do not ask how to build desktop hardware specific software on termux unless it can be used on mobile or is within current bounds if termux or termux gcc
But i can't compile it
https://github.com/fancyIX/sgminer-phi2-branch
— Reply to this email directly, view it on GitHub https://github.com/its-pointless/gcc_termux/issues/143#issuecomment-1146656790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECLXRU2O4B5UZ4TEGRQDRDVNOH7FANCNFSM5SJLGHKA . You are receiving this because you were mentioned.Message ID: @.***>
What you are compiling is unsupported because it requires amd gpu to compile read the description
https://github.com/Saikatsaha1996/sgminer-android.git This is ported to android
What you are compiling is unsupported because it requires amd gpu to compile read the description
This is also for AMD
GPU .. but i change something
And successful compiled in android
https://github.com/Saikatsaha1996/sgminer-android.git
I just #include <bthread.h>
...
But i can't compile it mey for stdc99 features
Ok then why did advertise it for mali gpus You do realize that is unethical right even I know that and the other program has protection in it to prevent it from being used like this miss matching stuff like this an saying it works without testing it 100% people can fry there
Ok then why did advertise it for mali gpus You do realize that is unethical right even I know that and the other program has protection in it to prevent it from being used like this miss matching stuff like this an saying it works without testing it 100% people can fry there
I already tested it is working with Mali and adreno GPU https://github.com/Saikatsaha1996/sgminer-android.git
What gpu's what devices
What gpu's what devices
Adreno 650 GPU Mi 10T
here's the in the readme explain you tested under those devices and there is a risk of over heat on other devices and risk of complete lose of function under the I am not responsible warning and precede at your own risk
I cannot help you in compiling that software as it us hardcoded to x64/32 devices
I cannot help you in compiling that software as it us hardcoded to x64/32 devices
Ohh is it SSE2 instruction ?
No
No Its GCN cross lane instructions not supported on android
No Its GCN cross lane instructions not supported on android
Okay oky understand.. thank you for your clarification.. actually i don't know any programing language.. Thank you for your help..
And also its-pointless gcc just working fine.. some code can't compile with termux clang.. but it's done with gcc
Cmake has an extreme hatred for gcc on termux, as well, I got partial compilation by targeting aarch64-linux-android but it failed hard, cmake is useless unless a cmake patch is included in its api-gnu.cmake files to search termuxs sysroot these are under $PREFIX/share/cmake-3.23/Modules/Platform/Android
Any solution for this ?
Gcc-10 error: conflicting types for 'gl_int_fast8_t'
@strikersix23 but can i get this solution?
don't have a clue
don't have a clue
Ohh actually i solved https://github.com/fancyIX/sgminer-phi2-branch/blob/master/SWIFFTX/SWIFFTX.c
But this is another error.. but i don't know why
Cmake has an extreme hatred for gcc on termux, as well, I got partial compilation by targeting aarch64-linux-android but it failed hard, cmake is useless unless a cmake patch is included in its api-gnu.cmake files to search termuxs sysroot these are under $PREFIX/share/cmake-3.23/Modules/Platform/Android
Any solution for this ? Gcc-10 error: conflicting types for 'gl_int_fast8_t'
@strikersix23 but can i get this solution?
@strikersix23 yes this problem only happened with gcc , with clang not given problem in this code