RE: [Tuxnes-devel] Trying to build on OpenBSD 2.9
Brought to you by:
tmmm
|
From: HUYNH,SONTRI (HP-Richardson,ex1) <son...@hp...> - 2001-08-24 22:41:19
|
Hello, once again.. Still no further on the OpenBSD build, I thought I'd try it out on a FreeBSD machine to see how that would go. I had to steal a getopt.h from binutils (although, there are tons of them.. so, neither of these systems really has a default one it seems, which should be noted). So after throwing that in the include path, I get this same error on this 4.2-RELEASE FreeBSD machine, as on my OpenBSD/i386 2.9 machine: ld -r -b binary -r -defsym TRANS_TBL=_binary_compdata_start -o table.o /usr/libexec/elf/ld: no input files So, I still have that same question.. what am I supposed to be linking here, or is this whole line wrong somehow? (although this ld recognizes -b and -defsym at least). > As for the "ld" command you included, my suggestion is to > upgrade your binutils! hehehe.. well, i've done stuff like that before, but really, it's easier said than done. FSF binutils doesn't really support OpenBSD, so it's not like I can just go grab a new tarball and install that. OpenBSD users are basically dependant on the binutils that is in the OpenBSD tree, and while on many architectures they use binutils 2.10 and newer, i386 isn't yet (currently there are 2 versions of gas and ld in the tree)... so, anybody have any other ideas? maybe as simple as telling me what that link line should be? the "$<" in the Makefile line ld -r -b binary -r -defsym TRANS_TBL=_binary_compdata_start $< -o table.o is confusing me here.. thanks, Tomo |