[haiku-development] Re: Running gcc4 application in a gcc2 hybrid.

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 1 Sep 2014 12:35:56 +1200

On Monday, 1 September 2014, Fredrik Modéen <fredrik@xxxxxxxxx> wrote:

> Hi
>
> Don't know if I'm the only one having problem running a application built
> with GCC4 on a gcc2 hybride.
>
> First I set it with "setarch x86" then I run make and the I try to run it
> direct.
>
> I have soled the Package problem but I can still not run the program. Are
> these two related?
>
> Would need some help to what I have done wrong. Can't I run an GCC4
> application in a Gcc2 hybride from anyware in the system or do I need to
> first but it some here?
>
> This are how I wrote the packageInfo (https://github.com/ModeenF/
> VMwareAddons/blob/master/branches/v1.1/.PackageInfo)
>
> name                    vmware_addons_x86
> version                 1.1.0-1
> architecture            x86_gcc2
> summary         "A set of tools to enhance interaction between Haiku and
> Vmware"
> description             "VMW Add-ons are a set of tools to enhance
> interaction between Haiku, running in a virtual machine, and the host
> operating system."
> packager                "Fredrik Modéen <firstname@xxxxxxxxxxx>"
> vendor                  "VMW Add-ons"
> licenses {
>         "MIT"
> }
> copyrights {
>         "Copyright (C) 2009-2014 by Vincent Duvert <vincent.duvert@xxxxxxx
> >"
> }
> provides {
>                 vmware_addons_x86 = 1.1.0-1


Try it with just 1.1.0. The revision isn't used in provides or requires
sections.


> }
> requires {
>         haiku_x86 >= r1~alpha4_pm_hrev47783-1
>         lib:libstdc++_x86 >= 4.8.3_2014_07_26-2


Same applies here. At least I'm fairly certain that's how it works.

Other related posts: