Re: [SailfishDevel] How does the mer build engine compile for armv7hl?
On 10.01.2015 14:30, David Greaves wrote: > Typically you'll approach this by getting into the sb2 environment (like > a chroot) and running ./configure; make > > To do it more cleanly and in a manner that could eventually become part > of the OS (ie in mer-tools) you'd create a simple rpm package and then > use the mb2 command to build the rpms. That's a little in the future > though :) Thanks for the information (and for mb2 -t SailfishOS-armv7hl), will look at the documentation and try to figure out a way. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SDK update issues
I had this too. Did a complete re-install and no issues so far. // Pete Kaj-Michael Lang kirjoitti la tammikuuta 10 15:57:21 2015 GMT+0200: > Just reporting some issues I had when trying to update the SDK. > > I've updated the SDK to 3 computers, on two I got this when the > maintenance tool was updated+restarted: > > "Your installation seems to be corrupted. Please consider re-installing > from scratch." > > And when doing the update plenty of: > "Error during installation process (org.merproject.mersdk): > Execution failed(Unexpected exit code: 1): "/usr/bin/VBoxManage createvm > --name MerSDK --register --basefolder /home/milang/SailfishOS/mersdk"" > > > -- > Kaj-Michael Lang > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org > -- // Peter Pykäläinen Lähetetty Jollastani ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] SDK update issues
Just reporting some issues I had when trying to update the SDK. I've updated the SDK to 3 computers, on two I got this when the maintenance tool was updated+restarted: "Your installation seems to be corrupted. Please consider re-installing from scratch." And when doing the update plenty of: "Error during installation process (org.merproject.mersdk): Execution failed(Unexpected exit code: 1): "/usr/bin/VBoxManage createvm --name MerSDK --register --basefolder /home/milang/SailfishOS/mersdk"" -- Kaj-Michael Lang ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How does the mer build engine compile for armv7hl?
if you have spec for your project you can compile it using mb2 -t SailfishOS-armv7hl build command. 10.01.2015 16:13, Dirk Zimmermann пишет: On 10.01.2015 11:15, jerome levreau wrote: for all project, click the project tab and add a kit, that all. Than select target from the build button (bottom left) to be able to deploy you have to add a device from tool->options->mobile ; dev mod must be enable (may need to reboot the phone) ; you can use the wifi ip, no need to plug a cable. Yes, that is clear. I can use qtcreator to run apps on the simulator and my device. But what is the build engine doing to build a project? Where and how is the cross-compilation achieved? The background is that I want to build haskell for sailfish. Bootstrapping it directly on the device is probably taking a long time, so I'm looking at the build engine. Since it's x86 I can probably use existing haskell binaries and then cross-compile a haskell for armv7hl. Or build hsqml apps for armv7hl in the buidl engine. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How does the mer build engine compile for armv7hl?
On 10/01/15 11:13, Dirk Zimmermann wrote: On 10.01.2015 11:15, jerome levreau wrote: for all project, click the project tab and add a kit, that all. Than select target from the build button (bottom left) to be able to deploy you have to add a device from tool->options->mobile ; dev mod must be enable (may need to reboot the phone) ; you can use the wifi ip, no need to plug a cable. Yes, that is clear. I can use qtcreator to run apps on the simulator and my device. But what is the build engine doing to build a project? Where and how is the cross-compilation achieved? The background is that I want to build haskell for sailfish. Bootstrapping it directly on the device is probably taking a long time, so I'm looking at the build engine. Since it's x86 I can probably use existing haskell binaries and then cross-compile a haskell for armv7hl. Or build hsqml apps for armv7hl in the buidl engine. The 'build engine' is just a VM running basic Mer as a linux distro with mer-tools available. This should help get you started: https://wiki.merproject.org/wiki/Platform_SDK Typically you'll approach this by getting into the sb2 environment (like a chroot) and running ./configure; make To do it more cleanly and in a manner that could eventually become part of the OS (ie in mer-tools) you'd create a simple rpm package and then use the mb2 command to build the rpms. That's a little in the future though :) You could build a cross-compiling haskell but I strongly doubt it would be worth the effort. Simply run the haskell compiler inside sb2 and allow qemu to emulate. Either way, at that point haskell would be available and hsqml(?) apps could specify a dependency on it. David ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How does the mer build engine compile for armv7hl?
On 10.01.2015 11:15, jerome levreau wrote: > for all project, click the project tab and add a kit, that all. Than select > target from the build button (bottom left) > to be able to deploy you have to add a device from tool->options->mobile ; > dev mod must be enable (may need to reboot the phone) ; you can use the > wifi ip, no need to plug a cable. Yes, that is clear. I can use qtcreator to run apps on the simulator and my device. But what is the build engine doing to build a project? Where and how is the cross-compilation achieved? The background is that I want to build haskell for sailfish. Bootstrapping it directly on the device is probably taking a long time, so I'm looking at the build engine. Since it's x86 I can probably use existing haskell binaries and then cross-compile a haskell for armv7hl. Or build hsqml apps for armv7hl in the buidl engine. ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] How does the mer build engine compile for armv7hl?
for all project, click the project tab and add a kit, that all. Than select target from the build button (bottom left) to be able to deploy you have to add a device from tool->options->mobile ; dev mod must be enable (may need to reboot the phone) ; you can use the wifi ip, no need to plug a cable. A+ 2015-01-10 9:37 GMT+01:00 Dirk Zimmermann : > Hi all, > > I was wondering how the mer build engine builds things for armv7hl. When > I login, I only found a i486 gcc, none for arm. > > Is there any documentation how it builds a QT project for armv7hl, that > is the actual commands used when one clicks the build icon in qtcreator > (with a vanilla sailfish os project)? > > Any pointers much appreciated. > > Dirk > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
[SailfishDevel] How does the mer build engine compile for armv7hl?
Hi all, I was wondering how the mer build engine builds things for armv7hl. When I login, I only found a i486 gcc, none for arm. Is there any documentation how it builds a QT project for armv7hl, that is the actual commands used when one clicks the build icon in qtcreator (with a vanilla sailfish os project)? Any pointers much appreciated. Dirk ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org