DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-05-19 20:06:28

r00t.ati
Member
From: Italy
Registered: 2011-05-19
Posts: 5
Website

Tool for cross compiling for my DNS-323

Hello people, im new in this forum.
First of all thank you for all that amazing stuff!

Second i want to make some software and my question is: what can i use to cross compile software for the DNS-323?
Im on linux x86_64 atm.

Thanks

Offline

 

#2 2011-05-19 22:48:01

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Tool for cross compiling for my DNS-323

if you use gentoo you can run crossdev to generate a full toolchain easily. if not, i'd recommend not to try setting up one on your own. instead dont use cross compiling, but the toolchain in fonz funplug or in debian.

Last edited by oxygen (2011-05-19 22:48:18)

Offline

 

#3 2011-05-20 12:17:49

r00t.ati
Member
From: Italy
Registered: 2011-05-19
Posts: 5
Website

Re: Tool for cross compiling for my DNS-323

Perfect im on Sabayon linux (gentoo based).
What should i set between:

Code:

arm-unknown-linux-gnu: Support for embedded devices based on ARM chips.
arm-softfloat-elf: For embedded devices with ARM chips without hardware floats
arm-elf: For embedded devices with ARM chips with hardware floats

And the best configuration of these software?

Code:

--b 2.17      # specifies the version of binutils
--g 4.2.3     # specifies the version of gcc
--l 0.98.3-r2 # specifies the version of the tuple-specified libc
--k 2.6.37    # specifies the version of the kernel headers

Last edited by r00t.ati (2011-05-20 12:23:58)

Offline

 

#4 2011-05-20 17:07:06

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: Tool for cross compiling for my DNS-323

look it up on your dns-323, i cannot as im running native debian on my dns-323

for debian squeeze it would e.g.:
crossdev  arm-linux-gnueabi --gcc 4.4.5  --kernel 2.6.32 --binutils 2.20.1 --libc 2.11.2

Last edited by oxygen (2011-05-20 17:07:29)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB