Subject: Re: ld: mcrt0.o file not found
To: Teh Kok How <khteh@willowglen.com.my>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-users
Date: 09/14/2003 13:42:51
On Fri, Sep 12, 2003 at 07:36:23PM +0800, Teh Kok How wrote:
> I am running OpenBSD on QED MIPS processor. I have the "ld: mcrt0.o file not
> found" error when trying to compile using -p option. Using -pg does not give
> any compilation error but the execution of the program results in
> segmentation fault. I searched through the openbsd source tree and found out
> that the gnu/usr.bin/ld/mips/mdprologue.S is exactly the same as that for
> i386. I guess this is one of the files to fix.
> Any comment and insight is appreciated.
Both "cc -p helloworld.c" and "cc -pg helloworld.c" work fine on a
-current NetBSD mips system for me. I would suggest you ask on an
OpenBSD list about OpenBSD problems, especially for ones that don't
affect NetBSD.
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Development, Support and Service: http://www.wasabisystems.com/