Code: Select all
# cd /usr/portage/sys-devel/gcc
# ebuild /usr/portage/sys-devel/gcc-x.x.x.x.ebuild compile
# cd /var/tmp/portage/gcc-x.x.x/work/gcc-x.x.x
# ./configure --target=mips-rm7000-linux-gnu
# make
# make installCode: Select all
#make menuconfigCode: Select all
crossdev --arch=mips --kernel --gcc-version=something etc etc
crossdev --help tells all.freshy98 wrote:I got a second (though very small, literally) desktop a while a go, and emerged crossdev on it.
Now I only know the "old" crossdev and knew how to use that one, but the new version seems te work differently.
I tried looking for documentation on how to use it's command lines to build a kernel crossdev, but I can't figure out how.
Can anyone tell me where to find documentation, or at least tell me how to built a kernel creator?
This way I can finally start testing out my O2 RM7000 with recent kernels again.
Also, my Qube2 could use an upgrade on it's kernel I think...
Anyways, thanks in advance!
Code: Select all
beast ~ # crossdev --help
Usage: crossdev [options] --target TARGET
Options:
--b, --binutils ver Specify version of binutils to use
--g, --gcc ver Specify version of gcc to use
--k, --kernel ver Specify version of kernel headers to use
--l, --libc ver Specify version of libc to use
-C, --clean target Uninstall specified target
-b, -d, -p, -v, -q Options to pass to emerge (see emerge(1))
Stage Options:
-s0, --stage0 Build just binutils
-s1, --stage1 Also build a C compiler (no libc/C++)
-s2, --stage2 Also build kernel headers
-s3, --stage3 Also build the C library (no C++)
-s4, --stage4 Also build a C++ compiler [default]
Extra Fun (must be run after above stages):
--ex-only Skip the stage steps above
--ex-gcc Build extra gcc targets (gcj/ada/etc...)
--ex-gdb Build a cross gdb
Target (-t): takes the form: ARCH-VENDOR-OS-LIBC
Run 'crossdev -t help' for examples