Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Mark Jeghers
Mon, 24 Sep 1990 21:04
Problems using GAS on Interactive 386/ix 2.2 (with patches)
Author: Mark Jeghers
Date: Mon, 24 Sep 1990 21:04
Date: Mon, 24 Sep 1990 21:04
25 lines
1837 bytes
1837 bytes
I may just need to be educated in how to properly use the GNU products, or I may have a problem in the software. I got all the latest versions of gas, gcc, g++, libg++, gdb, etc. My understanding at this point is that I probably need to build gas first (please correct me if this is not true) so that gcc can use it instead of the standard assembler. I assume that even if this is not required, it might be preferable. THEREFORE, I have started my gnu-building efforts with gas. I have applied the ISC patches recently posted in comp.unix.sysv386, and it all pretty much compiled. Next, I compiled a C program up to assembly language and tried assembling it with gas. Here is the problem: gas makes an object file alright, but the standard linker does not accept it, saying that the magic number is wrong. The 'file' command says it's a PDP/11 (or earlier!) object file! I suppose this strange effect has to do with the patches (since they appear to implement COFF format), but I am not totally clear on what I should do next. Do I need to use a different linker? Or is gas broken? Are there other pieces (in gcc, for example) that need to be built before I can use gas? Is there any reasonable documentation such as "Bert and Ernie build GNU tools for the first time"? Thanks for all responses in advance.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads