Compiling on exotic architecture

Hello all! I want to compile on an exotic CPU architecture e2k(https://en.wikipedia.org/wiki/Elbrus_2000). OS Linux(Debian like) 64bit.

Code:
# uname -a
Linux test 4.19.0-0.3-e8c #1 SMP Sat Jan 18 05:48:58 GMT 2020 e2k E8C MBE8C-PC v.2 GNU/Linux

# lscpu
Архитектура:         e2k
Порядок байт:        Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Ядер на сокет:       8
Сокетов:             1
NUMA node(s):        1
ID производителя:    MBE8C-PC v.2
Семейство ЦПУ:       4
Модель:              2
Имя модели:          E8C
CPU MHz:             1299.925520
BogoMIPS:            2600.76
L1d cache:           64K
L1i cache:           128K
L2 cache:            512K
L3 cache:            16384K
NUMA node0 CPU(s):   0-7

# gcc -v
lcc:1.24.11:May-26-2020:e2k-v4-linux
Thread model: posix
gcc version 7.3.0 compatible.

CPU: Elbrus 8C(8 core) ~ 250 GFlops
Video: AMD Radeon RX580, OpenGL 4.5, Vulkan 1.2

I do:
Code:
# git clone --recursive https://github.com/DCurrent/openbor.git
# cd openbor/engine/
# ./environ.sh 4
-------------------------------------------------------
   Linux  SDK (e2k-linux-gnu) Environment Loaded!
-------------------------------------------------------

 # ./build.sh 4 amd64
-------------------------------------------------------
OpenBOR v3.0 Build 7086 (commit hash: 7a45a22) - http://www.ChronoCrash.com

All rights reserved.
See LICENSE and README within OpenBOR root for details.

Copyright (c) 2004 - 2018 OpenBOR Team
-------------------------------------------------------
-------------------------------------------------------
     ERROR - Linux amd64 Environment Failed
                 SDK Installed?
-------------------------------------------------------

How can I solve the problem?
 
If you take a look at environ.sh it has a bunch of if statements that try to figure out where all the libraries are to link against. I'd suggest starting there.
 
Hello all! I want to compile on an exotic CPU architecture e2k(Elbrus 2000 - Wikipedia). OS Linux(Debian like) 64bit.

Code:
# uname -a
Linux test 4.19.0-0.3-e8c #1 SMP Sat Jan 18 05:48:58 GMT 2020 e2k E8C MBE8C-PC v.2 GNU/Linux

# lscpu
Архитектура:         e2k
Порядок байт:        Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Ядер на сокет:       8
Сокетов:             1
NUMA node(s):        1
ID производителя:    MBE8C-PC v.2
Семейство ЦПУ:       4
Модель:              2
Имя модели:          E8C
CPU MHz:             1299.925520
BogoMIPS:            2600.76
L1d cache:           64K
L1i cache:           128K
L2 cache:            512K
L3 cache:            16384K
NUMA node0 CPU(s):   0-7

# gcc -v
lcc:1.24.11:May-26-2020:e2k-v4-linux
Thread model: posix
gcc version 7.3.0 compatible.

CPU: Elbrus 8C(8 core) ~ 250 GFlops
Video: AMD Radeon RX580, OpenGL 4.5, Vulkan 1.2

I do:
Code:
# git clone --recursive https://github.com/DCurrent/openbor.git
# cd openbor/engine/
# ./environ.sh 4
-------------------------------------------------------
   Linux  SDK (e2k-linux-gnu) Environment Loaded!
-------------------------------------------------------

 # ./build.sh 4 amd64
-------------------------------------------------------
OpenBOR v3.0 Build 7086 (commit hash: 7a45a22) - http://www.ChronoCrash.com

All rights reserved.
See LICENSE and README within OpenBOR root for details.

Copyright (c) 2004 - 2018 OpenBOR Team
-------------------------------------------------------
-------------------------------------------------------
     ERROR - Linux amd64 Environment Failed
                 SDK Installed?
-------------------------------------------------------

How can I solve the problem?


Make sure you satisfy the correct dependencies try this: sudo apt install -y libsdl2-dev libsdl2-gfx-dev libpng-dev libvorbis-dev libvpx-dev

Then build again.

Why not just use the linux appimage from the latest stable release.
 
Back
Top Bottom