This is the mail archive of the gcc-help@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]

Hitachi & GCC (or egcs)


  I'm currently developing code for a Hitachi H8/300H microcontroller. At the
moment, I'm totally fed up with my compiler which simply sucks (besides it
can't do c++) and consequently I'm testing gcc.
  Now, my problem is the output file format (and linker script, but I
probably have that covered already): I'm using Motorola SREC binary format
and I pass -Wl,--oformat,srec to gcc but I keep getting files that don't fit
in my H8's memory... what could be wrong? Looking at the map file ld creates
the binary should keep below 1 megabyte boundary. For further info, the
output file size is HORRIBLY greater than what I get with the other compiler.
If someone wants a map file of this, I can send it but I dislike sending it
to the list.
  Please reply directly to me: I'm not a member of the list.

-- 
Juha Jäykkä, juhaj@iki.fi.no.spam (remove the .no.spam part to reply)
PS See http://www.dcs.ex.ac.uk/~aba/rsa/ for latest version of RSA in perl.
Here goes the RSA code in two lines:
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`


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