[haiku-development] Re: building under Cygwin (windows)
- From: "Urias McCullough" <umccullough@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 30 May 2007 14:52:07 -0700
On 5/30/07, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
"Urias McCullough" <umccullough@xxxxxxxxx> wrote:
> > Adding resources won't work out of the box anyway, since the only
> > object
> > formats our code supports are PEF and ELF. But since makebootable
> > is also
> > able to read the boot code from an attribute, you could enable the
> > same jam
> > code conditionally used for Mac OS X.
> Good to know - but it wasn't just rc that was broken either - settype
> and others IIRC were basically noop binaries when executed after
> being
> built.
>
> I was thinking it maybe had something to do with the linking process
> having been busted even though it succeeded.
Were you compiling it as host "linux"?
Maybe there is some #ifdef'd code that uses some host macro.
When I worked on this, I had added a new host platform called "cygwin"
and altered the configure script, some jam rules, and several headers
to specifically use it. I followed most of the lead from the freebsd
and linux host platform - with some custom tweaks for cygwin.
From what I can tell, Cygwin's environment really isn't all that much
like Linux other than using the same GNU packages and bash...
Stefano has most of my diffs from those attempts - but I will
re-create my entire environment and re-apply some of my changes until
I can get back to the same place as before (this was of course quite a
few months ago, before all the recent changes to fs_shell).
- Urias
- Follow-Ups:
- [haiku-development] Re: building under Cygwin (windows)
- From: Stefano Ceccherini
- References:
- [haiku-development] Re: building under Cygwin (windows)
- From: Urias McCullough
- [haiku-development] Re: building under Cygwin (windows)
- From: Axel Dörfler
Other related posts:
- » [haiku-development] building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
- » [haiku-development] Re: building under Cygwin (windows)
"Urias McCullough" <umccullough@xxxxxxxxx> wrote: > > Adding resources won't work out of the box anyway, since the only > > object > > formats our code supports are PEF and ELF. But since makebootable > > is also > > able to read the boot code from an attribute, you could enable the > > same jam > > code conditionally used for Mac OS X. > Good to know - but it wasn't just rc that was broken either - settype > and others IIRC were basically noop binaries when executed after > being > built. > > I was thinking it maybe had something to do with the linking process > having been busted even though it succeeded. Were you compiling it as host "linux"? Maybe there is some #ifdef'd code that uses some host macro.
- [haiku-development] Re: building under Cygwin (windows)
- From: Stefano Ceccherini
- [haiku-development] Re: building under Cygwin (windows)
- From: Urias McCullough
- [haiku-development] Re: building under Cygwin (windows)
- From: Axel Dörfler