Cross compilation compilation problems

Cross compilation compilation problems

Post by Will Pier » Thu, 09 Jun 1994 21:51:33

I am trying to compile the binutils package in order to have a
Sun gcc executable that will create linux binaries.

I am on a Sun 4.1.3.

Some of the problems arise from (in binutils 9l.4) from a MISSING
getopt.h file and no demangle.h file.  Apparently SunOS doesn't
sidtribute getopt.h, or my local sysadmin's didn't think anyone
would require it.

Problems arising from binutils .9l.3 are the confusion with the
a.out.h file, either missing certain #define's, or being included

The documentation for making the binutils package is rather obtuse.

If someone _has_ a binary distribution of a SunOS 4.1.x -> linux compiler,
that would be _great_, and if not, then how do I fix up the
makefiles and header files for either version of binutils?


(The traffic here is terrific)