here are some details:
"gcc_mips" is symbolic link on "gcc" from openwrt
[maestro@creative3 agent]$ /data/release/brcm-2.4/staging_dir_mipsel/mipsel-linux-uclibc/bin/gcc --version
gcc (GCC) 3.4.6 (OpenWrt-2.0)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# cross-compiling a subagent (my code), library libnetsnmpmibs.so for mips architecture is missing:
command: make all
output: http://www.localnet.sk/~maestro/bc/cros … tion_error
# cross-compiling net-snmp package
- missing library libnetsnmpmibs.so is available in net-snmp 5.4.1 package, but I need to compile it for mips architecture. So I substituted all "gcc" with "gcc_mips" in "configure" file and run configuration.
command: ./configure --target=mips --with-endianness=big
output: http://www.localnet.sk/~maestro/bc/cros … figure.log
command: make
output:
http://www.localnet.sk/~maestro/bc/cros … d_make.log
Please can someone help with cross compilation? Am I'm doing something wrong? I'm new to cross compiling.
(Last edited by maestro2912 on 1 Jun 2008, 10:10)