12-08-2006
This is what's known as cross-compilation, and it's not that simple. gcc can be configured to cross-compile, yes, but that's not usually installed as standard, it's not as easy as "add sparc module", and there's more to it than the compiler. You need the Solaris headers and libraries, too -- after all you're compiling for Sparc/Solaris, not Sparc/GNU. Even if you do get a working sparc compiler on x86, you could be plagued with weird issues. You wouldn't even have a way to test your executables.
My suggestion would be to just get a sparc on ebay.
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
We are porting our application from 32bit to 64bit.
We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings.
But we are not getting any porting warninings
WE are using CC 5.5 compiler on sparc-solaris m/c.
Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
2. Solaris
Hi there,
I am trying to mount a SAN volume (which is mapped to solaris sparc) partitioned with ufs filesystem onto a linux (intel processor 64bit) server.
*I have re-compiled the linux kernel t support ufs fstype with ro mount support.
filesystem on solaris:... (3 Replies)
Discussion started by: ilan
3 Replies
3. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
4. AIX
Hi ,
I want to know which debugger can I use to debug application built using Xl CC compiler .I know dbx,gdb debuggers just want to find out whether I can use for debugging XL CC compiler generated build.
Thanks (1 Reply)
Discussion started by: kittu1979
1 Replies
5. Linux
Hi ,
I am exploring the nmap utility for Linux.
I know that, nmap binaries are specific to the platforms e.g. nmap binaries will be diferent for Windows , AIX , Solaris and Linux platforms.
Can anyone tell me , will the nmap binaries be different for different flavours of Linux such as... (1 Reply)
Discussion started by: jatin56
1 Replies
6. Web Development
Hello ,
I have s Solaris 10 10/09 s10x_u8wos_08a X86 OS.
I installed Apache 1.3.34 and MYSQL 5.1.50.
while executing the following command to compile the mod_auth_mysql.c module
sudo ./apxs -c -L/d00/tbls/mysql/lib -I/d00/tbls/mysql/include -lmysqlclient -lm -lz mod_auth_mysql.c.
result of it... (2 Replies)
Discussion started by: cnighojkar
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus
can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?
regards,
Israel. (9 Replies)
Discussion started by: iga3725
9 Replies
8. Shell Programming and Scripting
Hi Gurus,
We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.
we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..
Could you please help me here by proving any info... (1 Reply)
Discussion started by: mssprince
1 Replies
9. Red Hat
Hi Gurus,
We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.
we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..
Could you please help me here by proving any info ... (4 Replies)
Discussion started by: mssprince
4 Replies