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] |
Denis V. Manilo wrote:
I'm the beginner.....
I was trying to compile gcc configured gcc as follows:
./configure --target=sparc-sun-sunos42 --with-gnu-as -with-gnu-ld
My host machine is i586-*-linux.
After
make LANGUAGE=c
I've met such message
Most probably your native (linux) assembler was used. The best
way to build
cross-compiler is to perform so-called 'one-tree build'. You can read
details
in crossgcc FAQ. In short, you can create directory and create symbolic
links to subdirectories from binutils package and gcc (egcs) package.
configure and makefile in 'root directory' of this packages generally
are the same,
and written in generic way to build any combination of GNU development
tools.
I've preffered to build this common tree manually, but it is possible
to use some
scripts (read about it in crossgcc FAQ).
Another way is to build and install binutils for host linux, target
sparc-sun-sunos42
first, include <prefix>/bin in your PATH, and configure, build and
install gcc with the
same prefix directory.
Please, note, most probably you will need solaris headers to build gcc.
Pass
--with-headers=<path to solaris's /usr/include> to configure for
pointing on
appropriate directories.
Also, it is possible that you will need to pass --with-libs=<dir> to
point on solaris
run-time libraries (I'm not sure now about it).
With Regard, Denis Manilo
Good luck!
Victor Vengerov
-- Victor V. Vengerov TEPKOM State Enterprise Bibliotechnaya sq., 2, office 3384, St.-Petersburg 198904, Russia 7-812-4284659