From owner-freebsd-hackers Tue Mar 17 15:45:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29709 for freebsd-hackers-outgoing; Tue, 17 Mar 1998 15:45:11 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29622 for ; Tue, 17 Mar 1998 15:44:57 -0800 (PST) (envelope-from karl@Mars.mcs.net) Received: from Mars.mcs.net (karl@Mars.mcs.net [192.160.127.85]) by Kitten.mcs.com (8.8.7/8.8.2) with ESMTP id RAA17990; Tue, 17 Mar 1998 17:44:56 -0600 (CST) Received: (from karl@localhost) by Mars.mcs.net (8.8.7/8.8.2) id RAA22194; Tue, 17 Mar 1998 17:44:56 -0600 (CST) Message-ID: <19980317174456.58067@mcs.net> Date: Tue, 17 Mar 1998 17:44:56 -0600 From: Karl Denninger To: Mark Newton Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: BSDI executables References: <199803172330.KAA26028@frenzy.ct> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <199803172330.KAA26028@frenzy.ct>; from Mark Newton on Wed, Mar 18, 1998 at 10:00:51AM +1030 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Static link it and it will run on BSDI 99% of the time. I don't use "-Q". "cc -static" seems to be enough. -- -- Karl Denninger (karl@MCS.Net)| MCSNet - Serving Chicagoland and Wisconsin http://www.mcs.net/ | T1's from $600 monthly / All Lines K56Flex/DOV | NEW! Corporate ISDN Prices dropped by up to 50%! Voice: [+1 312 803-MCS1 x219]| EXCLUSIVE NEW FEATURE ON ALL PERSONAL ACCOUNTS Fax: [+1 312 803-4929] | *SPAMBLOCK* Technology now included at no cost On Wed, Mar 18, 1998 at 10:00:51AM +1030, Mark Newton wrote: > > I'm off-list at the moment, so please be gentle when replying :-) > > I've told a colleague that the -Q option to ld still works under 2.2.5, > and will generate an executable which stands a better-than-even chance > of running under BSD/OS 2.0 from BSDI. > > Have I mislead my colleague? I don't have a BSDI system nearby to > check, so all I have is the manpage, which could be out of date > (especially with the way we and BSDI have tended to follow a "MAGIC-of- > the-month" style development rationale :-) > > As a supplementary question, does said executable have to be statically > linked? If any part of BSDI compatibility was going to fall over I'd > guess it'd be that... > > Any other pitfalls with building under FreeBSD and running under BSDI? > [ we have a commercial application here which will run on lots of platforms; > we're working out a least-effort path for building it ] > > - mark > > --- > Mark Newton Email: newton@communica.com.au > Systems Engineer and Senior Trainer Phone: +61-8-8303-3300 > Communica Systems, a member of the Fax: +61-8-8303-4403 > CAMTECH group of companies WWW: http://www.communica.com.au > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message