This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Building egcs-1.1.2-x-h8300


Every few months, (when I have forgotten the pain) I try to build this
compiler for one host or another, and it never builds out of the box. <Sigh>
Nothing worthwhile is ever easy.

I am building the egcs 1.1.2/binutils 2.9.1/newlib 1.8.1 toolchain on a
Mandrake Linux 6.0 box. The native linux compiler is pgcc-2.91.66. The
configuration is for linux host and H8/300 target. I am following the HOWTO
on Randy Loomis' site at
http://www.zanshinsys.com/linux-h8300/linuxgcc-h8300-HOWTO.txt

Binutils built and installed without a hitch.

EGCS 1.1.2, however, is croaking:

1) When make attempts to build c-lex.c, the compiler gags on HANDLE_PRAGMA.
Apparently, the form of this macro has changed at some point (I couldn't
find exactly where in the ChangeLog), and it now takes 3 arguments. The
definition in config/h8300/h8300.h takes 2 arguments. I hacked h8300.h to
ignore the third argument (not the ideal solution but it will have to do for
now).

2) When the build gets to libgcc, it complains about a bunch of "not i386
instruction"s. Why is the new xgcc, used to build libgcc, calling the native
i386 assembler?

Any help would be appreciated. Mr. Loomis, I bet you have already build this
toolchain. Didn't you see these problems?

Best regards,

MKE




_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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