Skip to content

cross-compile for ARM based embedded system running busybox #4

@erdosnew

Description

@erdosnew

hi, i found about aboriginal through busybox, https://busybox.net/FAQ.html#build

i've got an ARM-based system running busybox. and i'm trying to learn how to compile simple programs for it. the examples i use were from busybox-tiny utilities (i.e. Dropbear SMTP, ntpclient).

i downloaded prebuilt compiler for arm to my linux machine (http://landley.net/aboriginal/downloads/binaries/cross-compiler-armv6l.tar.gz) and unzipped into a working directory.

what i'm not sure is how to cross compile the program on my linux machine.
i navigated to directory containing 'ntpclient' and run the following:

CROSS_COMPILE="$PWD/cross-compiler-armv5l/bin/armv6l-"
CROSS_COMPILE="$CROSS_COMPILE" make

but the resulted 'ntpclient' executable seems still is for linux instead of 'arm' (it won't run on my embedded system).

need some pointers on how to use aborginal Prebuilt Binaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions