Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2009 07:40:03 -0300
From:      Olivier Gautherot <olivier@gautherot.net>
To:        gary.jennejohn@freenet.de, arnold.robbins@gmail.com
Cc:        Arnold@freebsd.org, freebsd-embedded@freebsd.org
Subject:   Re: cross compiling for freebsd from windows?
Message-ID:  <dcfb161c0912160240p77f92050yc1ebe0b495fafd79@mail.gmail.com>
In-Reply-To: <20091216102251.41049714@ernst.jennejohn.org>
References:  <8050e5fe0912150140p22fff6bfh9960b44a4436801b@mail.gmail.com>  <4B27B5AF.1010304@gmail.com> <3564069F-2FA3-44BC-B7E2-BBC50E576E08@gmail.com>  <20091216102251.41049714@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all,

> >> Has anyone set up cross-compilers / cross-debuggers on Windows
> (including
> > >> using Cygwin) to compile applications for FreeBSD and debug them from
> > >> Windows? If so, can you please send me any information, links, etc.?
> > > why the effort of making cross compiling tools ? if one need to develop
> application for given operating system,
> > > isn't more convenient to use the os as primary incubator for that
> software? + using virtualization is giving you false
> > > idea of how your app and underline os perform and interact with each
> other.
> >
> > Seriously? What's your idea of the issue with virtualisation? I don't
> understand. I always thought that you were just getting an installation, but
> using a software hypervisor instead of bare metal.
> >
>
> The OS and application will run considerably slower in a virtual machine.
> The user shouldn't assume that the poor performance is due to the OS and
> application themselves.
>

To try and summarize the discussion, virtualization is slower, that's a fact
- although it is far from unworkable and having a native environment also
eases the task (including debuggers).

In Arnold's case, performance is probably irrelevant as cross-compiling,
which was the original issue, does not assume running the app on the
compiling host. The real issue is whether the compiler has been ported to
Windows and which libraries Arnold needs. As long as the compiler is not
ported the latter does not matter either...

Arnold, what type of app do you want to compile on your host?


Olivier Gautherot
olivier@gautherot.net
Cel:+56 98 730 9361
www.gautherot.net
http://www.linkedin.com/in/ogautherot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dcfb161c0912160240p77f92050yc1ebe0b495fafd79>