diff --git a/cross/e2k-linux-old.txt b/cross/e2k-linux-old.txt new file mode 100644 index 0000000..b458850 --- /dev/null +++ b/cross/e2k-linux-old.txt @@ -0,0 +1,23 @@ +[constants] +arch = 'e2k-linux' +sysroot = '/opt/mcst/fs/e2k-v' + iset +toolchain = '/opt/mcst/lcc-e2k-v' + iset / 'bin.toolchain' +common_flags = ['-mcpu=' + mcpu] + +[built-in options] +c_args = common_flags +cpp_args = common_flags +c_link_args = common_flags +cpp_link_args = common_flags + +[binaries] +c = toolchain / arch + '-cc' +cpp = toolchain / arch + '-c++' +strip = toolchain / arch + '-strip' +exe_wrapper = ['qemu-e2k', '-cpu', cpu + ',tags=on', '-L', sysroot] + +[host_machine] +system = 'linux' +cpu_family = 'e2k' +cpu = cpu +endian = 'little' diff --git a/cross/e2k-linux.txt b/cross/e2k-linux.txt new file mode 100644 index 0000000..0e19b19 --- /dev/null +++ b/cross/e2k-linux.txt @@ -0,0 +1,23 @@ +[constants] +arch = 'e2k-linux' +sysroot = '/opt/mcst/fs/e2k-v' + iset +toolchain = '/opt/mcst/lcc-e2k-v' + iset / 'bin.toolchain' +common_flags = ['-mtune=' + mcpu, '--sysroot', sysroot] + +[built-in options] +c_args = common_flags +cpp_args = common_flags +c_link_args = common_flags +cpp_link_args = common_flags + +[binaries] +c = toolchain / arch + '-cc' +cpp = toolchain / arch + '-c++' +strip = toolchain / arch + '-strip' +exe_wrapper = ['qemu-e2k', '-cpu', cpu + ',tags=on', '-L', sysroot] + +[host_machine] +system = 'linux' +cpu_family = 'e2k' +cpu = cpu +endian = 'little' diff --git a/cross/e2k-v1.txt b/cross/e2k-v1.txt new file mode 100644 index 0000000..f14e668 --- /dev/null +++ b/cross/e2k-v1.txt @@ -0,0 +1,5 @@ +[constants] +cpu = 'elbrus' +mcpu = cpu +iset = '1' +toolchain = '/opt/mcst/lcc/bin.toolchain' diff --git a/cross/e2k-v2.txt b/cross/e2k-v2.txt new file mode 100644 index 0000000..2c796a5 --- /dev/null +++ b/cross/e2k-v2.txt @@ -0,0 +1,5 @@ +[constants] +cpu = 'e2c+' +mcpu = 'elbrus-2c+' +iset = '2' +toolchain = '/opt/mcst/lcc/bin.toolchain' diff --git a/cross/e2k-v3.txt b/cross/e2k-v3.txt new file mode 100644 index 0000000..d59477c --- /dev/null +++ b/cross/e2k-v3.txt @@ -0,0 +1,5 @@ +[constants] +cpu = 'e4c' +mcpu = 'elbrus-4c' +iset = '3' +toolchain = '/opt/mcst/lcc/bin.toolchain' diff --git a/cross/e2k-v4.txt b/cross/e2k-v4.txt new file mode 100644 index 0000000..33de19d --- /dev/null +++ b/cross/e2k-v4.txt @@ -0,0 +1,5 @@ +[constants] +cpu = 'e8c' +mcpu = 'elbrus-8c' +iset = '4' +toolchain = '/opt/mcst/lcc/bin.toolchain' diff --git a/cross/e2k-v5.txt b/cross/e2k-v5.txt new file mode 100644 index 0000000..bfe6df9 --- /dev/null +++ b/cross/e2k-v5.txt @@ -0,0 +1,5 @@ +[constants] +cpu = 'e8c2' +mcpu = 'elbrus-8c2' +iset = '5' +toolchain = '/opt/mcst/lcc/bin.toolchain' diff --git a/cross/e2k-v6.txt b/cross/e2k-v6.txt new file mode 100644 index 0000000..fff0ec3 --- /dev/null +++ b/cross/e2k-v6.txt @@ -0,0 +1,5 @@ +[constants] +cpu = 'e16c' +mcpu = 'elbrus-16c' +iset = '6' +toolchain = '/opt/mcst/lcc/bin.toolchain' diff --git a/cross/e2k-v7.txt b/cross/e2k-v7.txt new file mode 100644 index 0000000..bb46854 --- /dev/null +++ b/cross/e2k-v7.txt @@ -0,0 +1,4 @@ +[constants] +cpu = 'e48c' +mcpu = 'elbrus-48c' +iset = '7' diff --git a/e2k-linux.txt b/e2k-linux.txt deleted file mode 100644 index 3835c86..0000000 --- a/e2k-linux.txt +++ /dev/null @@ -1,12 +0,0 @@ -[binaries] -c = 'e2k-linux-cc' -cpp = 'e2k-linux-c++' -ar = 'e2k-linux-ar' -strip = 'e2k-linux-strip' -exe_wrapper = 'qemu-e2k' - -[host_machine] -system = 'linux' -cpu_family = 'e2k' -cpu = 'e8c' -endian = 'little'