Bug 27103

Summary: Not designed for cross-compilation.
Product: Orc Reporter: Ramiro Polla <ramiro.polla>
Component: OrcAssignee: David Schleef <ds>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ramiro Polla 2010-03-15 20:44:22 UTC
It should be possible to configure with --target=i686-mingw32 and build orcc so that it runs on the host platform and targets i686-mingw32.
libschroedinger does this on configure:
ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
calling that ORCC should run on host, while the orc library should have been built for i686-mingw32.
Comment 1 David Schleef 2010-03-15 21:10:52 UTC
There's no target dependency in orcc, so you can use the system one, or one that you compiled to run on the build system.

Since lots of packages are like this, including glib and pkg-config, I just install wine, and let wine run pkg-config.exe or orcc.exe if that's what's chosen for ORCC.
Comment 2 Ramiro Polla 2010-03-15 21:14:52 UTC
That is a less than ideal solution. What about mingw-w64? wine still doesn't run win64.
Comment 3 David Schleef 2010-03-15 21:39:42 UTC
Then use the system orcc.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.