Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prefixed gentoo on iphone
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
setar
n00b
n00b


Joined: 25 Mar 2008
Posts: 5
Location: Saint Petersburg, Russia

PostPosted: Tue Mar 25, 2008 2:10 pm    Post subject: prefixed gentoo on iphone Reply with quote

I want to run prefixed gentoo iphone.

In my disposal I have intel based MacBookPro & cross-toolchains arm-apple -
darwin.

There is no native compiller on iphone so I need create one in some way =)
Are there anybody who have some experience on getting native compiller and prefixed portage works on iphone?
Help and advices are wellcome =)
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Wed Mar 26, 2008 12:52 pm    Post subject: Reply with quote

gentoo on iphone ?
no sense
Back to top
View user's profile Send private message
setar
n00b
n00b


Joined: 25 Mar 2008
Posts: 5
Location: Saint Petersburg, Russia

PostPosted: Thu Mar 27, 2008 8:04 am    Post subject: Reply with quote

its all ?
Back to top
View user's profile Send private message
grobian
Developer
Developer


Joined: 31 May 2006
Posts: 64

PostPosted: Thu Mar 27, 2008 9:20 am    Post subject: Reply with quote

You need to build the cross-compiler first, I guess. This is a bit complicated process, especially since we're still working on figuring out how to do cross-compilation with our wrappers. Not much help I can give for the moment. You best try to manually build a compiler using --target=arm-apple-darwin flag.
_________________
Gentoo on a different level
Back to top
View user's profile Send private message
setar
n00b
n00b


Joined: 25 Mar 2008
Posts: 5
Location: Saint Petersburg, Russia

PostPosted: Thu Mar 27, 2008 9:26 am    Post subject: Reply with quote

i have cross-compiller arm-apple-darwin

now i attempt compile gcc:
Code:
Tornado-MacBook:gcc-4.2.3 setar$ CC="/usr/local/bin/arm-apple-darwin-gcc" ./configure --build=arm-apple-darwin --host=i686-apple-darwin9
loading cache ./config.cache
checking host system type... i686-apple-darwin9
checking target system type... i686-apple-darwin9
checking build system type... arm-apple-darwin
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for i686-apple-darwin9-gnatbind... (cached) no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
The following languages will be built: c,c++,java,objc
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libada gnattools target-libgfortran
    (Any other directories should still work fine.)
/usr/local/bin/arm-apple-darwin-ld: warning unknown -macosx_version_min parameter value: 10.5.2 ignored (using 10.1)
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) gm4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... (cached) expect
checking for runtest... no
checking for i686-apple-darwin9-ar... (cached) arm-apple-darwin-ar
checking for i686-apple-darwin9-as... (cached) arm-apple-darwin-as
checking for i686-apple-darwin9-dlltool... no
checking for i686-apple-darwin9-ld... (cached) /usr/local/bin/arm-apple-darwin-ld
checking for i686-apple-darwin9-lipo... (cached) arm-apple-darwin-lipo
checking for i686-apple-darwin9-nm... (cached) arm-apple-darwin-nm
checking for i686-apple-darwin9-ranlib... (cached) arm-apple-darwin-ranlib
checking for i686-apple-darwin9-strip... (cached) arm-apple-darwin-strip
checking for i686-apple-darwin9-windres... no
checking for i686-apple-darwin9-objcopy... no
checking for i686-apple-darwin9-objdump... no
checking for i686-apple-darwin9-gcj... no
checking for i686-apple-darwin9-gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for i686-apple-darwin9-dlltool... no
checking for ld... no
checking for lipo... no
checking for nm... no
checking for objdump... no
checking for i686-apple-darwin9-objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for i686-apple-darwin9-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
creating ./config.status
creating Makefile

& make :(
Code:

Tornado-MacBook:gcc-4.2.3 setar$ make
make[3]: Nothing to be done for `all'.
cc  -c -O2 -g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../.././fixincludes -I../include -I../.././fixincludes/../include ../.././fixincludes/fixincl.c
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[1]: *** [all-fixincludes] Error 2
make: *** [all] Error 2
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Mar 28, 2008 8:14 pm    Post subject: Reply with quote

why do you want to run gentoo on apple iphone ?
iphone is not good for it ...


Last edited by ddc on Fri Mar 28, 2008 10:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Mar 28, 2008 8:16 pm    Post subject: Reply with quote

grobian wrote:
You need to build the cross-compiler first



the gentoo crossdev tool is not good for this things .... you'd better use the debian's one
you should have luck
Back to top
View user's profile Send private message
setar
n00b
n00b


Joined: 25 Mar 2008
Posts: 5
Location: Saint Petersburg, Russia

PostPosted: Fri Mar 28, 2008 8:36 pm    Post subject: Reply with quote

it not gentoo cross-compiller, i use arm-apple-darwin cross on MAC OS X
http://code.google.com/p/iphone-dev/wiki/Buildin

i need native toolchains for iphone
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Mar 28, 2008 10:29 pm    Post subject: Reply with quote

http://code.google.com/p/iphone-dev/wiki/Building


what about this ???
"iPhoneToolchainv05-1.dmg" http://www.simplifymedia.com/blog/?p=16
(cross-compilers, essentially the set of tools, compiler, librarian, linker, etc…, which together can generate an executable for another platform. In this case we will be running the cross-compiler on a i386 system Mac Intel and target ARM iPhone)


Last edited by ddc on Fri Mar 28, 2008 10:47 pm; edited 3 times in total
Back to top
View user's profile Send private message
setar
n00b
n00b


Joined: 25 Mar 2008
Posts: 5
Location: Saint Petersburg, Russia

PostPosted: Fri Mar 28, 2008 10:37 pm    Post subject: Reply with quote

keyword NATIVE , not cross toolchains
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Mar 28, 2008 10:41 pm    Post subject: Reply with quote

setar wrote:
keyword NATIVE , not cross toolchains



yes i understand you want "native", but i really can't help you: native gcc&C on iphone is a completely no sense for me: iphone is an embedded system designed to be an advanced phone with PDA capabilities. Iphone is not a compiler platform like your PC: this mean iphone has less power to do what you want to do, and this means having too many issues ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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