sunnyflunk
Development Team
Posts: 2747
Joined: Sun Mar 13, 2016 11:35 pm

Re: How Do I Compile Stuff On Solus

Sat Aug 05, 2017 7:22 am

NZnewbie wrote:
Fri Aug 04, 2017 10:43 pm
So IU install android studio- rebooted and tried to build again it built to 5% and failed.

Cant see the forest for the trees!!. Seems diff errors each attempt.


This is the one that im stuck on and never happened on the other os i was using. Cflags??.

Complete Terminal output:

https://hastebin.com/hapuxajecu.cs

Thanks again for your guidance :)
I would run this in the terminal prior to starting compilation:

Code: Select all

unset CFLAGS CXXFLAGS LDFLAGS

NZnewbie
Posts: 13
Joined: Fri Aug 04, 2017 9:10 pm

Re: How Do I Compile Stuff On Solus

Sat Aug 05, 2017 12:01 pm

sunnyflunk wrote:
Sat Aug 05, 2017 7:22 am
NZnewbie wrote:
Fri Aug 04, 2017 10:43 pm
So IU install android studio- rebooted and tried to build again it built to 5% and failed.

Cant see the forest for the trees!!. Seems diff errors each attempt.


This is the one that im stuck on and never happened on the other os i was using. Cflags??.

Complete Terminal output:

https://hastebin.com/hapuxajecu.cs

Thanks again for your guidance :)
I would run this in the terminal prior to starting compilation:

Code: Select all

unset CFLAGS CXXFLAGS LDFLAGS
Awesome. Thank you. Compiling now. I did see that command earlier but didnt use it in terminal before starting compiling!!. DUH. :D :D .

Thanks again!

NZnewbie
Posts: 13
Joined: Fri Aug 04, 2017 9:10 pm

Re: How Do I Compile Stuff On Solus

Sat Aug 05, 2017 9:16 pm

Also need to install Rsync for a complete compile- well I had too.

User avatar
Elias Löwe
Posts: 3
Joined: Tue Dec 26, 2017 10:34 pm
Location: Czech Republic
Contact: ICQ Website

Re: How Do I Compile Stuff On Solus

Tue Dec 26, 2017 10:44 pm

I need to build for aarch64. Used to clang compiler and tools.
Unfortunately list of supported targets is too short...
$ llc --version
LLVM (http://llvm.org/):
LLVM version 5.0.0
Optimized build.
Default target: x86_64-solus-linux
Host CPU: haswell

Registered Targets:
amdgcn - AMD GCN GPUs
bpf - BPF (host endian)
bpfeb - BPF (big endian)
bpfel - BPF (little endian)
r600 - AMD GPUs HD2XXX-HD6XXX
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
What is the right way to add more targets on Solus?

I also tried to find some cross-toolchain but without success...
Many thanks in advance!
Performance does matter

Return to “Tutorials”