Cross-compiler setup for MIPS-I version 1

I was looking for a cross-compiler that compiles for the purpose of MIPS-I version 1, and I found this:

ftp://ftp.dd-wrt.com/others/sourcecode/toolchains/current-toolchains.tar.bz2

After extracting the archive, I copied the folder "toolchain-mips_gcc-4.3.3 + cs_uClibc-0.9.30.1" to / opt / and added the PATH file to the /root/.profile file, like this:

PATH = "/ Opt / Toolkit-mips_gcc-4.3.3 + cs_uClibc-0.9.30.1 / USR / bin: $ {PATH}" export PATH

then I will go out and go in and think that everything is in order, but it is not.

I canโ€™t even compile a simple application. Here is an example of the output generated by an attempt to compile dhcp-3.x:

http://pastebin.com/MPMwirhg

What happened? Do I have to configure anything else? How to fix the problem?

+1
source share
1 answer

There are hardcoded paths in libraries, so why it didn't work. Placing the folder "toolchain-mips_gcc-4.3.3 + cs_uClibc-0.9.30.1" in / home / xfs / openwrt / trunk2 / trunk / staging_dir / does the job fine

0
source

Source: https://habr.com/ru/post/1485253/


All Articles