Date: 17 Feb 2000 03:59:26 -0000 From: trost@cloud.rain.com To: FreeBSD-gnats-submit@freebsd.org Subject: i386/16770: Problems building a.out's Message-ID: <20000217035926.25556.qmail@grey.cloud.rain.com>
next in thread | raw e-mail | index | archive | help
>Number: 16770
>Category: i386
>Synopsis: Can't build a.out binaries
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 16 20:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Bill Trost
>Release: FreeBSD 4.0-20000208-CURRENT i386
>Organization:
Trost Computing
>Environment:
Stock 4.0-RELEASE-to-be, with all the 2.x and 3.x compat libraries.
>Description:
If you specify "-aout" on the cc command line, you get the
error message "ld: crt0.o: No such file or directory" (or
c++rt0.o if -shared is specified).
>How-To-Repeat:
$ echo 'main() {print("Oh, Hell World.\n");}' > foo.c
$ cc -aout foo.c
>Fix:
Got me -- I don't understand the a.out magic well enough to
start diagnosing it. If I remove crt.o from the ld command line,
ld then complains about libgcc.a having bad magic -- presumably
it is using the wrong library.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000217035926.25556.qmail>
