Code Monkey home page Code Monkey logo

Comments (3)

ohmyjcc avatar ohmyjcc commented on July 22, 2024

能不能编个静态的版本叻?
-static -libgcc -s
uClibc-0.9.33.2
system type : MediaTek MT7620 SoC
processor : 0
cpu model : MIPS 24KEc V5.0
BogoMIPS : 385.02
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented : mips16 dsp
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

from smartdns.

pymumu avatar pymumu commented on July 22, 2024

你用的是什么固件?openwrt的话,都应该是uclibc的。取用正确版本应该就没有问题了

静态编译涉及到开源版权问题,暂时不会静态编译。

from smartdns.

ohmyjcc avatar ohmyjcc commented on July 22, 2024

用的是padavan 来着。
然后 我看了下,如果需要在padavan里面增加这个库,是需要在工具链的时候就增加参数么?
这是我的padavan工具链中关于gcc的参数 不论是在工具链中 还是ROM中 都没有libgcc_s.so.1
mkdir -p build-gcc-bootstrap-cpp && cd build-gcc-bootstrap-cpp
(../$ID_GCC/configure
--target=$TARGET --prefix="$PREFIX"
--with-gnu-ld --with-gnu-as
--disable-shared --disable-multilib
$TLS_OPT --disable-libmudflap --disable-libssp $EXT_OPT
--disable-libgomp --disable-nls
--with-sysroot="$PREFIX"
--enable-languages=c++ &&
make -j${HOST_NCPU} all-host all-target-libgcc all-target-libstdc++-v3 &&
make install-host install-target-libgcc install-target-libstdc++-v3) || exit 1
cd ..

from smartdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.