I need to cross-compile C/C++ code with gcc/g++ on Linux (RH7.2) for
Sparc/Solaris. The "Target Options" node in the gcc info pages says:

   "By default, GCC compiles code for the same type of machine that you
are using.  However, it can also be installed as a cross-compiler, to
compile for some other type of machine.  In fact, several different
configurations of GCC, for different target machines, can be installed
side by side.  Then you specify which one to use with the `-b'
option."

Does this mean that I need to configure and install another version of
gcc from sources on my computer, or is the supplied gcc (gcc-2.96-98)
configured for cross-compilation (I only see
/usr/lib/gcc-lib/i386-redhat-linux under gcc-lib, so I guess I sorta
know the answer... - is there a cross-compiler RPM anywhere)?

Thanks,

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] 
"If it ain't broken, it has not got enough features yet."

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to