* Cross gcc-toolchain @ 2020-09-10 14:27 John Soo 2020-09-12 10:03 ` raingloom 0 siblings, 1 reply; 9+ messages in thread From: John Soo @ 2020-09-10 14:27 UTC (permalink / raw) To: Help Guix Hi Guix, I am looking into ghc on ARM and the process seems like it only requires a separate gcc toolchain specified during configure. I have not packaged a gcc-toolchain yet, so I am looking for pointers. Would the gcc toolchain for cross compiling (say, from x86 to aarch64) be as simple as providing the target flag to the various toolchain packages’ configures? Thanks for your help! John ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-10 14:27 Cross gcc-toolchain John Soo @ 2020-09-12 10:03 ` raingloom 2020-09-12 13:56 ` John Soo 0 siblings, 1 reply; 9+ messages in thread From: raingloom @ 2020-09-12 10:03 UTC (permalink / raw) To: John Soo; +Cc: Help Guix On Thu, 10 Sep 2020 07:27:39 -0700 John Soo <jsoo1@asu.edu> wrote: > Hi Guix, > > I am looking into ghc on ARM and the process seems like it only > requires a separate gcc toolchain specified during configure. I have > not packaged a gcc-toolchain yet, so I am looking for pointers. Would > the gcc toolchain for cross compiling (say, from x86 to aarch64) be > as simple as providing the target flag to the various toolchain > packages’ configures? > > Thanks for your help! > > John I tried packaging devkitARM (GCC 10 based version) and failed, so your mileage may vary. I've never developed for ARM before, maybe it's easier if you're a seasoned pro. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-12 10:03 ` raingloom @ 2020-09-12 13:56 ` John Soo 2020-09-15 19:44 ` raingloom 0 siblings, 1 reply; 9+ messages in thread From: John Soo @ 2020-09-12 13:56 UTC (permalink / raw) To: raingloom; +Cc: Help Guix Hi raingloom, How did you try packaging it? Do you think inheriting from gcc and friends would be a good start? Thanks! John ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-12 13:56 ` John Soo @ 2020-09-15 19:44 ` raingloom 2020-09-16 1:55 ` John Soo 0 siblings, 1 reply; 9+ messages in thread From: raingloom @ 2020-09-15 19:44 UTC (permalink / raw) To: John Soo; +Cc: Help Guix On Sat, 12 Sep 2020 06:56:52 -0700 John Soo <jsoo1@asu.edu> wrote: > Hi raingloom, > > How did you try packaging it? Do you think inheriting from gcc and > friends would be a good start? > > Thanks! > > John This repo contains what I have so far. You'll also need to patch embedded.scm in Guix to export some arm-none-eabi related functions publicly. https://git.sr.ht/~raingloom/guix-packages ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-15 19:44 ` raingloom @ 2020-09-16 1:55 ` John Soo 2020-09-16 18:15 ` raingloom 0 siblings, 1 reply; 9+ messages in thread From: John Soo @ 2020-09-16 1:55 UTC (permalink / raw) To: raingloom; +Cc: Help Guix Thanks raingloom, What branch and file should I start with? - John ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-16 1:55 ` John Soo @ 2020-09-16 18:15 ` raingloom 2020-09-16 22:32 ` John Soo 0 siblings, 1 reply; 9+ messages in thread From: raingloom @ 2020-09-16 18:15 UTC (permalink / raw) To: John Soo; +Cc: Help Guix On Tue, 15 Sep 2020 18:55:02 -0700 John Soo <jsoo1@asu.edu> wrote: > Thanks raingloom, > > What branch and file should I start with? > > - John branch: devkitpro file: raingloom/packages/homebrew.scm ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-16 18:15 ` raingloom @ 2020-09-16 22:32 ` John Soo 2020-09-17 0:59 ` raingloom 0 siblings, 1 reply; 9+ messages in thread From: John Soo @ 2020-09-16 22:32 UTC (permalink / raw) To: raingloom; +Cc: Help Guix Thanks again raingloom! ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-16 22:32 ` John Soo @ 2020-09-17 0:59 ` raingloom 2020-09-17 1:07 ` John Soo 0 siblings, 1 reply; 9+ messages in thread From: raingloom @ 2020-09-17 0:59 UTC (permalink / raw) To: John Soo; +Cc: Help Guix On Wed, 16 Sep 2020 15:32:42 -0700 John Soo <jsoo1@asu.edu> wrote: > Thanks again raingloom! No prob! I hope you get farther that I have. In any case, feel free to send an update on your progress. The more people working out the cross-compilation kinks the better. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cross gcc-toolchain 2020-09-17 0:59 ` raingloom @ 2020-09-17 1:07 ` John Soo 0 siblings, 0 replies; 9+ messages in thread From: John Soo @ 2020-09-17 1:07 UTC (permalink / raw) To: raingloom; +Cc: Help Guix Alright I’ll keep you posted! ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-09-17 1:07 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-09-10 14:27 Cross gcc-toolchain John Soo 2020-09-12 10:03 ` raingloom 2020-09-12 13:56 ` John Soo 2020-09-15 19:44 ` raingloom 2020-09-16 1:55 ` John Soo 2020-09-16 18:15 ` raingloom 2020-09-16 22:32 ` John Soo 2020-09-17 0:59 ` raingloom 2020-09-17 1:07 ` John Soo
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.