Good Windows Linker
Good Windows Linker
Does anyone know where I can get a good linker - for windows - that is compatible with a.out object files?
Help appreciated
Help appreciated
Current Project:
Unnamed OS (5% complete)
Unnamed OS (5% complete)
-
- Member
- Posts: 109
- Joined: Wed Nov 10, 2010 10:49 am
Re: Good Windows Linker
Hi fbudek,
You can use DJGPP : http://www.delorie.com/djgpp/
You can use DJGPP : http://www.delorie.com/djgpp/
Re: Good Windows Linker
Thanks, Mezo
Now it can recognise them as a.out but it comes out in a different error this time:
main.o:main.c:(.text+0x94): undefined reference to '___main'
Once again, help appreciated!
Now it can recognise them as a.out but it comes out in a different error this time:
main.o:main.c:(.text+0x94): undefined reference to '___main'
Once again, help appreciated!
Current Project:
Unnamed OS (5% complete)
Unnamed OS (5% complete)
- thepowersgang
- Member
- Posts: 734
- Joined: Tue Dec 25, 2007 6:03 am
- Libera.chat IRC: thePowersGang
- Location: Perth, Western Australia
- Contact:
Re: Good Windows Linker
I counter the previous suggestion, and point you to MinGW
DJGPP is a vastly out of date port of the GNU toolchain to DOS/Win16. MinGW is nicely updated.
DJGPP is a vastly out of date port of the GNU toolchain to DOS/Win16. MinGW is nicely updated.
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Re: Good Windows Linker
Thanks, powersgang.
I already started by trying it with MinGW but it didnt seem to support a.out
I already started by trying it with MinGW but it didnt seem to support a.out
Current Project:
Unnamed OS (5% complete)
Unnamed OS (5% complete)
Re: Good Windows Linker
Hi,
I guess one way would be to look at cross-compiling binutils on cygwin/mingw? Could you give a higher-level overview of what you are trying to achieve and why you need to be tied to a.out? It may be that with a it more detail there's an alternative solution to the problem.
Cheers,
Adam
I guess one way would be to look at cross-compiling binutils on cygwin/mingw? Could you give a higher-level overview of what you are trying to achieve and why you need to be tied to a.out? It may be that with a it more detail there's an alternative solution to the problem.
Cheers,
Adam
Re: Good Windows Linker
I am going to try compiling everything under Linux (through VirtualPC) and see if that works.
If not, then I will start to look into a.out alternatives.
Thanks for the great response overall so far, though
If not, then I will start to look into a.out alternatives.
Thanks for the great response overall so far, though
Current Project:
Unnamed OS (5% complete)
Unnamed OS (5% complete)
Re: Good Windows Linker
To find the question behind the question: why are you using such an outdated format?
Re: Good Windows Linker
I am making this as an extremely minimal OS which I am building up from part of a tutorial,
which used a.out (nasm -f aout -o start.o start.asm)
So I'm not entirely sure whether everything will work together if I change the object format for start.o
which used a.out (nasm -f aout -o start.o start.asm)
So I'm not entirely sure whether everything will work together if I change the object format for start.o
Current Project:
Unnamed OS (5% complete)
Unnamed OS (5% complete)
Re: Good Windows Linker
I recommend try out the tutorial from this site, which adopt decent tool-chain.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Good Windows Linker
The canon solution for this error in general is the GCC Cross-Compiler. In your case Searching should have been sufficient.