Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 17:11:36 +0100
From:      markzero <mark@darklogik.org>
To:        Norbert Koch <NKoch@demig.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: suicidally ambitious compilation?
Message-ID:  <20050721161136.GD70359@logik.ath.cx>
In-Reply-To: <001901c58e0c$1950bac0$4801a8c0@ws-ew-3.W2KDEMIG>
References:  <20050721152700.GC70359@logik.ath.cx> <001901c58e0c$1950bac0$4801a8c0@ws-ew-3.W2KDEMIG>

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

--3Gf/FFewwPeBMqCJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> > I should have explained myself a little better. What I'm actually trying
> > to do is compile a minimal OpenBSD snapshot so that I can
> > distribute binaries
> > to my very slow firewall machine (which also lacks a compiler, for
> > security reasons). The jail is purely there because the OpenBSD
> > compilation process seems to make the assumption that it's working in
> > /usr/src so I thought it would be a good idea to partition the process
> > off from the rest of the system.
>=20
> Although I think it is possible, to build OpenBSD under
> FreeBSD, I wouldn't try it.  The problem is to correctly
> re-create the _complete_ OpenBSD build environment.  That
> means compiler, linker, make, and other tools that may be
> used for building.  For the compiler, that means to build a
> cross compiler. The cpu may be the same, but gcc is always
> configured for a combination of <operating system/target
> cpu/binary format>.  And you have to find out what gcc
> version OpenBSD is usually been built with.  Other tools
> may differ in behaviour or command line options. For
> example, may be FreeBSD is using a gnu tool while OpenBSD
> is using a non-gnu tool.  What about e.g. make? There is
> make and gmake under FreeBSD.
>=20
> So again I suggest you try the qemu solution (or buy an=20
> additional computer ;-).

Well, that has certainly been an education. Thanks!

I'll try qemu then.

M

--=20
pgp: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9dD1

--3Gf/FFewwPeBMqCJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iQIVAwUBQt/JN6faOQ/e/53RAQoHaBAAmfh4YhcbGcXEmzWj+NYVyPQf7b+YZBt0
tTicoVKMRaBoUGVuqg+KMX1oz8a1Z0lDG7K/rV8KzEPmj0U19z4vWh7uEaN+JDNo
x6W/8z5l6GSkCfO3q4U+9PJWgNeD0f1nly8GGlTexRQ1zRWjAuf92pjfokuqBuIJ
19lKKzhM5hIdC1IoXY8jiOACZOmEh1+DMXfTw24oR3xbnD8sgbzuBoVsywvk1D3s
PUzzEr+FQuqjfVyQTgtGIuDdsaoiZR7oSpPHNNY+phVyURtTaGzz6YmHgxbNiG6F
DM273cmCynr3N2GRbkHe1A0tn7m2fgRrob4faTMKZG0PkXG+mGm+Y5EAWzy/KgRE
U0sBVNYWWRJ3qSAXXVoiYOFfyYR7R+vacoLggSyitABUbPJmPQ33OhDOZlzPS2vP
60BhqrD1bFDgRa64oVXlYZkNaECgxIscj4W283h6m7zUC0F+4ATl7GOqwIczfRJT
i2bX2dHYo6lfXy8xOUpEIcYCAgYT5f7Jscq3bG52U+rcspvLG8Cb6X2/K7BYhnVr
sd/PwL3t1Npw/z/yofdERg2msjKaK1H6IPCoLT2mPE8CQ/RwmCqY+Oj+cspYtPzS
05qRKCFx4rT2ELEJ9ygnqel0ayGae+CTcoVkJpK/jU1saKqaw8i7BI91bCw1XhwU
BRt9RqhnMFo=
=lNAb
-----END PGP SIGNATURE-----

--3Gf/FFewwPeBMqCJ--



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