Re: Does cross compiling work?

2020-01-26 Thread Matthew Selsky via devel
On Mon, Jan 20, 2020 at 11:53:44AM -0800, Hal Murray via devel wrote: > If so, can somebody send me an example script. See https://gitlab.com/NTPsec/ntpsec/blob/master/.gitlab-ci.yml#L450 and https://gitlab.com/NTPsec/ntpsec/blob/master/INSTALL.adoc#user-content-cross-compiling Cheers, -M

Does cross compiling work?

2020-01-20 Thread Hal Murray via devel
If so, can somebody send me an example script. Context is that I'm working on getting ntpsec to run on RTEMS. (Mostly curious.) We have to build and run keyword-gen on the local system so it needs to be built with the non-cross tools. It's the first 5 steps under the "building host" header.

Re: Cross compiling.

2016-02-13 Thread Mark Atwood
ent to set things up. > > > > If you have an example worked out for Ubuntu, I can probably find the > > corresponding packages on other distros/OSes. That's assuming that I'll > have > > to go through the same steps but some of the names have changed. In the

Re: Cross compiling.

2016-02-12 Thread Amar Takhar
example worked out for Ubuntu, I can probably find the > corresponding packages on other distros/OSes. That's assuming that I'll have > to go through the same steps but some of the names have changed. In the > simple case, somebody could cover another distro/OS by adding a s

Re: Cross compiling.

2016-02-12 Thread Hal Murray
v...@darkbeer.org said: > It's so straight forward to use. You literally just need to supply it the > compiler and any cflags. There is nothing fancy at all required. I can > write a paragraph on how to do this. > For instance when I tested on Ubuntu all I did was install gcc-arm-linux-gnu >

Re: Cross compiling.

2016-02-12 Thread Amar Takhar
On 2016-02-12 03:12 -0800, Hal Murray wrote: > > Cross compiling works. Usage is really simple: > > Great/congrats. Thanks! > I think it would be great if you wrote up a HOWTO type document, including > the setup stuff and the required (if any) cflags and ldflags. I think

Re: Cross compiling.

2016-02-12 Thread Hal Murray
> Cross compiling works. Usage is really simple: Great/congrats. > I'll be hooking up an ARM cross build to buildbot that will download and run > on one of the RPI2s I have here to ensure the cross compiling actually > works. I think it would be great if you wrote up a HO

Re: Cross compiling.

2016-02-11 Thread Amar Takhar
On 2016-02-11 21:25 -0600, Joel Sherrill wrote: > > How does it derive the name of the cross compiler? There is nothing there > about > the target. That is something that is needed for auto* to work correctly. Right now we don't make any platform-based assumptions that I know of. Amar.

Re: Cross compiling.

2016-02-11 Thread Joel Sherrill
On Feb 11, 2016 9:21 PM, "Amar Takhar" wrote: > > Cross compiling works. Usage is really simple: > > waf configure --cross-compiler=/path/to/cross/cc > > Use --cross-cflags and --cross-ldflags as necessary. > > I'll be hooking up an ARM cross build to

Cross compiling.

2016-02-11 Thread Amar Takhar
Cross compiling works. Usage is really simple: waf configure --cross-compiler=/path/to/cross/cc Use --cross-cflags and --cross-ldflags as necessary. I'll be hooking up an ARM cross build to buildbot that will download and run on one of the RPI2s I have here to ensure the cross comp