Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 1999 10:49:32 -0700
From:      Charles Randall <crandall@matchlogic.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   RE: 3.1: Link with static a.out lib?
Message-ID:  <64003B21ECCAD11185C500805F31EC03022B5EF3@houston.matchlogic.com>

next in thread | raw e-mail | index | archive | help
I've Cc'd freebsd-hackers in an attempt to reach a wider audience.

With the help of Michael E. Mercer [mmercer@ipass.net] I'm now using gcc's
"-aout" option (which appears to be undocumented) but I still get the
following message when compiling on 3.1R,

	% gcc -aout test.c libInOldAoutFormat.a
	ld: crt0.o: No such file or directory

Again,

1. Is this possible?
2. Are there instructions for doing this?

Thanks,
Charles

> -----Original Message-----
> From:	Charles Randall 
> Sent:	Wednesday, March 17, 1999 11:37 AM
> To:	'freebsd-questions@freebsd.org'
> Subject:	3.1: Link with static a.out lib?
> 
> I have a 3rd-party static library in a.out format for
> FreeBSD 2.2.2. This works fine on FreeBSD 2.2.8.
> 
> However, because of the a.out->elf conversion, I'm having problems
> linking this into a program when building on FreeBSD 3.1.
> 
> 1. Is this possible?
> 2. Are there instructions for doing this available somewhere?
> 
> Thanks,
> Charles
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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