Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2001 23:19:54 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        ia64@FreeBSD.ORG
Subject:   Re: Troubles getting a kernel to compile.. 
Message-ID:  <200102230719.f1N7Jsf45595@mobile.wemm.org>
In-Reply-To: <XFMail.010222181629.jhb@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> Welp, I'm attempting to at least make sure that the kernel compiles now,
> and once I can get past that step, I'll mess with ski.  I have Doug's toolcha
    in
> tarball from his home directory on freefall, but it seems to be incomplete.  
    I
> think it is missing the ia64-unknown-linux/libexec directory that contains
> 'cc1' and friends, because I get the following error trying to compile:
> 
> > make depend
> rm -f .depend
> make _kernel-depend
> ia64-unknown-linux-gcc -D__FreeBSD__ -U__linux__ -c -O -pipe -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual  -ansi -g -nostdinc -I-  -I. -I../..
> -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include 
> -D_KERNEL -include opt_global.h   -ffixed-r13 -mfixed-range=f32-f127
> ../../ia64/ia64/genassym.c
> ia64-unknown-linux-gcc: installation problem, cannot exec `cc1': No such file
> or directory
> 
> I'm attempting this by untar'ing the archive in /usr/local and then adding th
    e
> following to the kernel config file:
> 
> makeoptions     CC=ia64-unknown-linux-gcc
> 
> I hope I'm not missing something really simple here...

You are probably going to need a backend path with -B.  see the output of
a64-unknown-linux-gcc -v -c foo.c
and see where it is looking for the backends.  You will need to add paths
to where you have extracted it.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


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




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