Glib2.0 needs to be cross compiled with mipsel(32-bit little endian) architecture

Asked by Meera Shah

I want to cross compile glib2.0 with mipsel(32-bit little endian) architecture. For that I have downloaded source code from
https://docs.gtk.org/glib/ and tried to cross compile using this , but I am getting errors like : cpu_family =mipsel and system = linux are not the perfect match and with that so many compatibility errors.

[host_machine]
system = 'linux'
cpu_family = 'mipsel'
cpu = 'mipsel'
endian = 'little'

[binaries]
c = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-gcc'
cpp = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-g++'
ar = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-ar'
ld = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-ld'
objcopy = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-objcopy'
strip = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-strip'
RANLIB='/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-ranlib'
pkg-config = '/opt/mips32el--glibc--stable-2020.02-1/bin/mipsel-linux-pkg-config'

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu glib2.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Meera Shah (meerashah) said :
#2

I have changed cpu_family=mips still having same error. ERROR: Problem encountered: Unsupported pair: system "linux", cpu family "mips"
Will you please tell me which build configuration file you are talking about? In glib/gio/meson.build supports mips as a cpu family.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.