View previous topic :: View next topic |
Author |
Message |
Treborius Guru
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Tue Jan 03, 2017 11:57 am Post subject: i want a ghc on arm |
|
|
Hi, i tried to emerge ghc on arm, but there is no binary as download for the initial bootstrap
so i tried with :
that leads to the follwing error
Code: |
* You requested ghc bootstrapping, this is usually only used
* by Gentoo developers to make binary .tbz2 packages.
* ERROR: dev-lang/ghc-7.10.3::gentoo failed (setup phase):
* Could not find a ghc to bootstrap with.
|
if i really really want an ghc on arm, could the following procedure lead me to success :
(1) build a arm crosscompile on my intel
(2) use it to crosscompile a ghc
(3) transfer that ghc somehow to my arm ( buildpkg and copy, probably)
(4) try to bootstrap ghc with that cross-compiled ghc _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54579 Location: 56N 3W
|
Posted: Tue Jan 03, 2017 1:18 pm Post subject: |
|
|
Treborius,
The ebuild is worth reading.
It glosses oven how to get a ghc cross compiler and also hints that the arm version used to exist.
The arm version is still there but as its commented out, there are probably problems further into the build procss.
A ghc cross compiler will run on your main system and produce code to run on your arm system.
You might even be able to use the ghc cross compiler to build a ghc compiler that runs on arm. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|