Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crosscompiling on i686+Gentoo for ARM+WinCE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MageSlayer
Apprentice
Apprentice


Joined: 26 Jul 2007
Posts: 250
Location: Ukraine

PostPosted: Sat Feb 16, 2008 6:49 pm    Post subject: Crosscompiling on i686+Gentoo for ARM+WinCE Reply with quote

Hi, all!

I'd like to crosscompile on my linux for wince arm-equiped box.
AFAIU, I need to emerge binutils appropriate to my destination (target) platform. Looking at sys-devel/binutils ebuild, I see multitarget use flag.
It seems that I need it for to keep my current binutils (for i686), isn't it? But, how do I need to tell portage to add another cross-target? And what syntax must it have for arm+wince platform?

Maybe some docs? Google tells me only how to change current CHOST :(

Thanks.
Back to top
View user's profile Send private message
duderonomy
Guru
Guru


Joined: 20 Mar 2004
Posts: 349
Location: SF Bay Area

PostPosted: Wed Mar 05, 2008 12:02 am    Post subject: Reply with quote

bump +1
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Wed Mar 05, 2008 2:54 am    Post subject: Reply with quote

Have a look at sys-devel/crossdev, which handles installing an appropriate toolchain for you. I've been using it for the last little while to compile kernels for a couple of ARM9 boxes.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Wed Mar 05, 2008 5:12 am    Post subject: Reply with quote

cross-compiling for Windows CE on a Linux system is going to be hard. You don't just need an ARM compiler to compile for WinCE. You need an ARM compiler that can produce Windows-style executables, and access to the proprietary Windows CE headers and development libraries in a form your compiler can understand. While I won't go so far as to say that's impossible for linux and gcc to do, it's certainly going to be really really hard, and likely to produce output of dubious quality. crossdev, while capable of compiling on many architectures, is almost always used to produce linux executables.

The most efficient and reliable way to compile for Windows CE is Microsoft Embedded Visual Studio.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum