From owner-freebsd-sparc Sat Mar 23 10:15:16 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 7E8B437B438 for ; Sat, 23 Mar 2002 10:15:03 -0800 (PST) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id g2NIF3o36525 for ; Sat, 23 Mar 2002 10:15:03 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 23 Mar 2002 10:15:02 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: freebsd-sparc@freebsd.org Subject: Questions regarding CVSup port to FreeBSD/sparc64 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've made a preliminary port of Modula-3 to FreeBSD/sparc64 so we can get CVSup running on that platform. I've run into a few problems and have some questions. First, how close are we to having a working gdb on that platform? I am able to cross-compile a bootstrap compiler, producing a bunch of assembly language files. Those assemble and link fine on the sparc64. But the resulting program gets a segmentation violation immediately when I run it. Without a debugger it's practically impossible to determine what's going wrong. Also, I have a question about the proper gcc configuration for this platform. I configured the Modula-3 back end (a hacked up gcc) for the target "sparc64-sun-elf". Is that likely to produce correct code for FreeBSD? NOTE, the only thing that matters is the code generation. The compiler doesn't use the C front end, so it doesn't care about header file search paths, C-specific things, or much of anything else. Only the translation from trees to machine instructions matters. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message