Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3804080
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:27:45+00:00 2026-05-19T14:27:45+00:00

My end goal is to compile wireless tools for my old Actiontec modem/router so

  • 0

My end goal is to compile wireless tools for my old Actiontec modem/router so I can configure it as a wireless to ethernet bridge. Currently it’s wireless features are (seemingly) controlled by the same binary that manages most of the web interface, but it appears that they used the library wireless tools uses internally for at least some of the functionality.

I’ve never cross compiled for a different CPU architecture before and not sure how to fully identity what I need to do. I’m trying to use uClibc since it appears to be used in the rest of the system, but I’m not sure how to configure buildroot for the modems environment. I made a best guess at what the configuration should be based on the information from proc below, but somethings wrong since a simple C application that only returns 0 compiled with it fails to run properly.

# cat /proc/version 
Linux version 2.4.17_mvl21-malta-mips_fp_le (root@localhost.localdomain) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Thu Apr 21 18:04:37 PDT 2005
# cat /proc/cpuinfo 
processor               : 0
cpu model               : MIPS 4KEc V4.8
BogoMIPS                : 149.91
wait instruction        : no
microsecond timers      : yes
extra interrupt vector  : yes
hardware watchpoint     : yes
VCED exceptions         : not available
VCEI exceptions         : not available
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T14:27:46+00:00Added an answer on May 19, 2026 at 2:27 pm

    You are right, you need a proper mips toolchain to cross-compile your application and Buildroot can do that. But you may need to tweak buildroot’s menuconfig options.
    Depending on the output of file, your options may change. On my system, binary apps inform the following:

    ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1 (SYSV)

    These are the options I have enabled for my Buildroot’s menuconfig:

    Target Architecture (mips)  ---> 
    Target Architecture Variant (mips 32r2)  --->                                                            
    Target ABI (o32)  --->                                                                                   
    Target options  --->                                                                                     
    Build options  --->   
        (/opt/cross-mips-buildroot) Toolchain and header file location?                                                                                   
    Toolchain  --->        
        Toolchain type (Buildroot toolchain)  ---> 
        Kernel Headers (Linux 2.6.34.x kernel headers)  --->
        uClibc C library Version (uClibc 0.9.31.x)  ---> 
        [*] Build/install a shared libgcc?
        [*] Enable compiler tls support       
        [*] Build gdb debugger for the Target
        [*] Build gdb server for the Target
        [*] Build gdb for the Host
            GDB debugger Version (gdb 6.8)  --->
        [*] Enable large file (files > 2 GB) support?
        [*] Enable WCHAR support
        [*] Use software floating point by default
        [*] Enable stack protection support
        [*] Build/install c++ compiler and libstdc++?
        [*] Include target utils in cross toolchain  
    Package Selection for the target  --->   
        [*] BusyBox
        [*]   Run BusyBox's own full installation
        Libraries  ---> 
            Networking  ---> 
                [*] libcurl
            Text and terminal handling  ---> 
                [*] icu
                -*- ncurses    
    Target filesystem options  --->                                                                          
    Bootloaders  --->                                                                                        
    Kernel  --->
    

    The toolchain itself is installed at /opt/cross-mips-buildroot. You can find the compiler and other tools on /opt/cross-mips-buildroot/usr/bin/

    Try to compile a simple hello world application and see if you can run it inside the mips system.

    Note: this configuration will not build a C++ compiler. If you need it, you can grep LIBSTDCPP .config and check if it’s enable or not and change it to your likes. Then make menuconfig to make it happen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can I load a ps1 file from within a ps1 file. The end goal
My end goal is local development of a Radiant CMS installation. So, need rails
First off, let me define the end goal: I'd like to Wordpress (version 2.8)
I recently started a new personal project to learn Entity Framework. My end goal
My end goal is to draw a report that looks like MS Word using
My end goal is to have Selenium running 'within' Jenkins. My Jenkins installation runs
I know that I can use FOR EACH to easily accomplish my goal below,
My end goal is to create a firefox extension that inserts an HTML button
Ultimately, my end goal is to provide a list of possible selections to a
I'm a little baffled by this. My end goal in a RoR project is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.