From owner-freebsd-hackers Mon Mar 2 18:42:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14263 for freebsd-hackers-outgoing; Mon, 2 Mar 1998 18:42:09 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA14243 for ; Mon, 2 Mar 1998 18:41:57 -0800 (PST) (envelope-from doconnor@cain.gsoft.com.au) Received: from cain (localhost [127.0.0.1]) by cain.gsoft.com.au (8.8.8/8.6.9) with ESMTP id NAA10940 for ; Tue, 3 Mar 1998 13:11:40 +1030 (CST) Message-Id: <199803030241.NAA10940@cain.gsoft.com.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: hackers@FreeBSD.ORG Subject: Argh! Why the heck is this making ELF object files?! Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Mar 1998 13:11:40 +1030 From: "Daniel O'Connor" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to port a game called craft.. I hacked up a make file to get it working, but now its making ELF object files!?! [holly 1:00pm] /usr/ports/games/craft/work> gmake PREFIX=/usr/local/ building.o hcc/hcc -compiler /usr/bin/gcc -O2 -I/usr/X11/include -Dpic_cata_name=\\\"/usr/local//share/craft/pic_cata_new\\\" -Dpic_names=\\\"/usr/local//share/craft/pic\\\" -Dinfo_name=\\\"/usr/local//share/craft/infos\\\" -c building [holly 1:00pm] /usr/ports/games/craft/work> file building.o building.o: ELF 32-bit LSB relocatable, Intel 80386, version 1, not stripped [holly 1:00pm] /usr/ports/games/craft/work> /usr/bin/gcc -O2 -I/usr/X11/include -Dpic_cata_name=\"/usr/local/share/craft/pic_cata_new\\" -Dpic_names=\"/usr/local/share/craft/pic\" -Dinfo_name=\"/usr/local/share/craft/infos\" -c building.cc [holly 1:00pm] /usr/ports/games/craft/work> file building.o building.o: NetBSD/i386 object file not stripped Now you may think 'ahh, its that hcc thing!' but that is basically a glorified preprocessor, if I do - hcc/hcc -compiler cat building It outputs a C++ source file. Anyone want to tell me what the heck is going on here? I am running -current (FreeBSD holly.dons.net.au 3.0-CURRENT FreeBSD 3.0-CURRENT #6: Sun Mar 1 18:10:56 CST 1998 darius@holly.dons.net.au:/opt/src/sys/compile/HOLLY i386) And /usr/bin/gcc -v gives "gcc version 2.7.2.1" Which is pretty useless, but hey :) I feel I am missing the totally obvious.. Does someone want to tell me what it is? :) I last CVSuped on March 1st..(I built world then too) --------------------------------------------------------------------- |Daniel O'Connor software and network engineer for Genesis Software | |http://www.gsoft.com.au | |The nice thing about standards is that there are so many of them to| |choose from. -- Andrew Tanenbaum | --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message