Re: Crosscompiling Linux?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Saturday, October 24, 1992 - 4:51 pm

I don't know which version you're using (of gcc), but one of them notes that
when configuring as a cross-compiler, to specify --use-gas or something like
that. (I also realize that it says that that doesn't matter for certain
configs, but I don't have INSTALL around right now to read it). If the
loader or 'file' is barking about a bad magic number, it sounds like
either the wrong assembler or the wrong loader is being envoked. (Or
both). I also think (but I'm probably wrong) that the as86 should be in
the same directory as cc1, cpp, ld, libgcc.a, as 'as', and, failing to
find it as that, gcc will envoke 'as' w/o the gcc directory prefix,
finding the system assembler, which will then assemble the .s file to a
sysV image. If gnu's ld is then run, it will complain about 'bad magic
number'.
        Of course, I could be mistaken...

-- 
;abdsf;alshnt;laiwkejr;abndsf;alsdkjf;sf
Steve Rich
a;lsdkfab;wekja;sdfjh;alfdj;lkjf;lkjsadf
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Crosscompiling Linux?, Steve Rich, (Sat Oct 24, 4:51 pm)