Coder Social home page Coder Social logo

Comments (7)

taviso avatar taviso commented on June 9, 2024

Yes, sorry about that - Debian don't enable coff-i386 support, if they did building would be very easy :(

  • First, you need to build your own copy of binutils, download and extract this: https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz
  • You need to build binutils with ./configure --enable-targets=all and then make.
  • Now copy the objcopy and objdump binaries you just built from the binutils directory into the 123elf directory.
  • Now copy ld-new from the ld directory into the 12elf directory, but rename it ld.

That should work, and now you can build it.

from 123elf.

taviso avatar taviso commented on June 9, 2024

Oh - you can try just running the binutils.sh script, it might work but hasn't had much testing.

from 123elf.

edbird avatar edbird commented on June 9, 2024

I have done both of the first two points: However I do not see any files called objcopy or objdump in the directory binutils-2.38. What am I missing?

Is this relevant?

WARNING: 'makeinfo' is missing on your system.

You should only need it if you modified a '.texi' file,...

Makefile:1466 doc/as.info Error 127

Sorry I can't copy and paste these from the VM in which this is running.

from 123elf.

edbird avatar edbird commented on June 9, 2024
/home/user/Downloads/binutils-2.38/missing: 81: makeinfo: not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <http://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <http://www.gnu.org/software/make/>
make[4]: *** [Makefile:1466: doc/as.info] Error 127
make[4]: Leaving directory '/home/user/Downloads/binutils-2.38/gas'
make[3]: *** [Makefile:1648: all-recursive] Error 1
make[3]: Leaving directory '/home/user/Downloads/binutils-2.38/gas'
make[2]: *** [Makefile:994: all] Error 2
make[2]: Leaving directory '/home/user/Downloads/binutils-2.38/gas'
make[1]: *** [Makefile:5430: all-gas] Error 2
make[1]: Leaving directory '/home/user/Downloads/binutils-2.38'
make: *** [Makefile:1000: all] Error 2

from 123elf.

taviso avatar taviso commented on June 9, 2024

I think it's okay to ignore it - you don't need the documentation. I would just do make -i to say ignore the errors.

The objcopy and objdump binaries will be in the binutils directory, ld-new will be in the ld directory. Remember to rename ld-new to ld when you copy it.

from 123elf.

mparson avatar mparson commented on June 9, 2024

FWIW, I used your binutils.sh script on my Fedora 35 box and it worked perfectly.

from 123elf.

edbird avatar edbird commented on June 9, 2024

I've had a play around with it again today. Telling make to ignore the errors fixed the build. Interesting program - thanks for bringing back a piece of history

from 123elf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.