NetBSD Problem Report #4010
Received: (qmail 22412 invoked from network); 19 Aug 1997 06:36:31 -0000
Message-Id: <199708190636.PAA08223@alpha424.aist-nara.ac.jp>
Date: Tue, 19 Aug 1997 15:36:20 +0900 (JST)
From: yasufu-i@is.aist-nara.ac.jp (ITOH Yasufumi)
Cc: yasufu-i@is.aist-nara.ac.jp
Subject: sys/arch/m68k/* cross-development problem
X-Send-Pr-Version: 3.95
>Number: 4010
>Category: port-m68k
>Synopsis: sys/arch/m68k/* cross-development problem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Aug 18 23:50:01 +0000 1997
>Closed-Date: Fri Oct 10 14:00:49 +0000 1997
>Last-Modified: Fri Oct 10 14:11:33 +0000 1997
>Originator: ITOH, Yasufumi
>Release: 1.2G (Aug. 18, 1997)
>Organization:
Nara Institute of Science and Technology, Nara, Japan
>Environment:
System: NetBSD acha.my.domain 1.2G NetBSD 1.2G (ACHA) #2: Mon Jul 21 06:17:05 JST 1997 yasufu-i@wonder53:/mnt/NetBSD-current/src/sys/arch/x68k/compile/ACHA x68k
>Description:
I have some problems on cross-development of NetBSD/m68k.
The default Makefiles assume that the assembler is "as", the linker
is "ld", and the C preprocessor is "cpp",
which is not true on my cross environment.
>How-To-Repeat:
>Fix:
Apply this patch to /usr/src/sys/arch/m68k .
diff -u fpsp/Makefile.orig fpsp/Makefile
--- fpsp/Makefile.orig Sat Apr 26 20:29:03 1997
+++ fpsp/Makefile Tue Aug 19 14:19:38 1997
@@ -38,8 +38,8 @@
TARGET = fpsp
-AS = cc -x assembler-with-cpp -traditional-cpp -c -m68040 -I${.CURDIR}
-LD = ld
+AS = ${CC} -x assembler-with-cpp -traditional-cpp -c -m68040 -I${.CURDIR}
+LD ?= ld
#
# For the Library Version:
diff -u 060sp/Makefile.orig 060sp/Makefile
--- 060sp/Makefile.orig Wed Jan 1 21:17:23 1997
+++ 060sp/Makefile Tue Aug 19 14:21:03 1997
@@ -1,8 +1,8 @@
#
# $NetBSD: Makefile,v 1.3 1996/12/31 22:44:13 veego Exp $
#
-AS = as -m68060
-LD = ld
+AS := ${AS} -m68060
+LD ?= ld
.SUFFIXES: .o .S .sa .defs .h
diff -u 060sp/Makefile.inc.orig 060sp/Makefile.inc
--- 060sp/Makefile.inc.orig Wed May 7 20:23:53 1997
+++ 060sp/Makefile.inc Tue Aug 19 14:22:26 1997
@@ -14,6 +14,6 @@
@echo making sure the 060sp is up to date...
@(cd $(060SPSRCDIR) ; $(MAKE))
-060SP!= printf "\#ifdef M060SP\n${060SPOBJ}\n\#endif\n" | cpp -P -undef ${CPPFLAGS:M-DM060SP}
+060SP!= printf "\#ifdef M060SP\n${060SPOBJ}\n\#endif\n" | ${CPP} -P -undef ${CPPFLAGS:M-DM060SP}
__always_make_060sp: .NOTMAIN
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: is
State-Changed-When: Thu Oct 9 13:41:39 PDT 1997
State-Changed-Why:
Can you check if the implemented change (sepcially 060sp, whose make system
has changed a lot since your PR was sent) works for you?
-is
State-Changed-From-To: feedback->closed
State-Changed-By: is
State-Changed-When: Fri Oct 10 07:00:49 PDT 1997
State-Changed-Why:
Your proposed change to 060sp/Makefile.inc was in the tree since a few minutes
before I asked for "feedback", but of course not yet in the SUP tree; I should
have pointed out that you need to wait for the next supscan, sorry.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.