Results 1 to 3 of 3
I have a program based out of Green Hill's MULTI Software that needs to be moved to GNU so that may become a standalone executable, ported to run on an ...
- 07-17-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 27
Moving program to GNU, few questions
I have a program based out of Green Hill's MULTI Software that needs to be moved to GNU so that may become a standalone executable, ported to run on an intel processor and a Motorola 68k. I have been working on this for a while but have several questions. The program currently consists of several c scripts, assembly files, and header files.
I realize I need a Linker script, a config script, a Makefile, and changes to all the code to make it function properly. However, there are some underlying details that I do not understand.
Right now I am working on the makefile and have the following question:
- Where do I compile the assembly files? Do they even need to be compiled? In most makefiles I have seen online they do not include the assembly files.
That is all for now but I will post other questions as they come up. Thanks for any help!!
- 07-17-2009 #2
If the assembly files are converted to GAS(AT&T) syntax and Linux then you can compile them using GNU GCC like:
as filename.s -o filename.o
ld filename.o -o filename
Note assembly code is notorious for being non-portable, you'll probably have to rewrite most of the assembler files...Gerard4143Make mine Arch Linux
- 07-17-2009 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 27


Reply With Quote
