Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 1998 17:44:56 -0600
From:      Karl Denninger  <karl@mcs.net>
To:        Mark Newton <newton@camtech.com.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: BSDI executables
Message-ID:  <19980317174456.58067@mcs.net>
In-Reply-To: <199803172330.KAA26028@frenzy.ct>; from Mark Newton on Wed, Mar 18, 1998 at 10:00:51AM %2B1030
References:  <199803172330.KAA26028@frenzy.ct>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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