Cross Compiler and Linker for Linux
Dave Jarvis
dave@joot.com
Fri May 30 21:55:00 GMT 2003
Hi, folks.
>>Try using absolute pathnames in the configure:
> ../gcc-%{gcc_version}/configure --target=sparc-solaris \
> --with-gnu-as --with-gnu-ld --without-newlib --verbose \
> --disable-shared --disable-nls --enable-languages=c,ada \
> --prefix=%{prefix}
With a combination of absolute pathmanes and specifying the extra
options on the command-line, I have managed to compile (and install!) a
"working" sparc-solaris-gcc-3.3 compiler on Linux. I'm so excited that
I'm sharing the news before I have actually tried compiling something
(the executable pulls up version information just fine, so I figure it
will compile without problems).
Please find attached the complete instructions on how to create a cross
compiler on Linux Mandrake i686 (probably RedHat, Slackware, and Debian
too) for a Solaris sparc machine. You have my permission to include
them (with modifications and appropriate attributions to myself, Joel,
and Peter) in any and all GCC-related documentation. (If you believe
them to be of any use.)
Thanks for all your help!
Sincerely,
Dave Jarvis
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ccdocs3.txt
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030530/05a65a6b/attachment.txt>
More information about the Gcc
mailing list