Subject: lib/653: cc -p file.c causes load error
To: None <>
From: Phil Nelson <>
List: netbsd-bugs
Date: 12/21/1994 21:50:05
>Number:         653
>Category:       lib
>Synopsis:       cc -p file.c causes load error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 21 21:50:03 1994
>Originator:     Phil Nelson
>Release:        1.0
System: NetBSD steelhead 1.0A NetBSD 1.0A (STEELHEAD) #1: Tue Dec 20 21:51:46 PST 1994 phil@steelhead:/usr/src/sys/arch/pc532/compile/STEELHEAD pc532

Also on NetBSD 1.0 (and 1.0A) i386

	Compiling with the "profile" option causes a ld error
	"mcrt0.o: No such file or directory"
	echo "main(){}" > file.c
	cc -p file.c
	One of:
		have src/lib/csu/XXX install gcrt0.o with a link
		to mcrt0.o
		change cc to use gcrt0.o insted of mcrt0.o