This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RTEMS Q.


"Tomaz Stih" <tomaz.stih@triglif.com> writes:

|> >    I am using a linux-i586 host to produce code for a
|> >mvme135 which is an embedded mc68020 computer. I use the
|> >prom monitor to download the code. 
|> 
|> What is a prom monitor? My problem is that when I write an asm
|> program like :
|> 
|> 	move.l #10,d0
|> 	move.l d0,d1
|> 
|> it linkes not into few bytes but (with stripped option on) into 30Kb 
|> of code regardless of me using coff, ihex, bin or whatever format.
|> 
|> How do I tell GNU asm and linker to produce pure binary that I can
|> burn into eprom.

Use objcopy -O binary.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]