Date: Tue, 03 Mar 1998 13:11:40 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: hackers@FreeBSD.ORG Subject: Argh! Why the heck is this making ELF object files?! Message-ID: <199803030241.NAA10940@cain.gsoft.com.au>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803030241.NAA10940>