Need gcc binary for a SPARC machine


 
Thread Tools Search this Thread
Operating Systems Solaris Need gcc binary for a SPARC machine
# 1  
Old 09-10-2011
Need gcc binary for a SPARC machine

The machine I am trying to compile on does have /usr/sfw/bin and all the files in it, EXCEPT gcc !!

This is a SUN Sparc-1 machine, so the binary does matter to match this. Can someone send me a gcc so I can put it locally for compilation purposes? Or point me a a site that has a compiled-ready gcc for this Hardware (OS is sunos 5.10)?

The one on my home machine is on an x86, so when I transfer a binary over it does not run on a sparc machine! Which I thought is odd, since it is same OS.
# 2  
Old 09-10-2011
# 3  
Old 09-10-2011
No - they do not have thee binary "gcc" alone.

Remember, I do not want to ask admin to install it, I just need gcc, period. Since the file is missing from /use/sfw/bin (I have NO idea why it would be missing from there and everything else there??)

So can you point me to a location on the web that would have a READY-built "gcc" which is built on a SUNOS 5.10 on a SPARC hardware machine? (I assume gcc can run on its OWN without any helper-binaries/libraries), otherwise, of course I'll need related files.
# 4  
Old 09-11-2011
why not download the package and extract the needed file?
# 5  
Old 09-11-2011
that was the first thing I though of. couple of issues:

1-they put source code which you have to build to get gcc, not the actual binaries....unless you can point me to a package which has "gcc" binary in it, and not source code to be built.

2-even if it does have something, they usually get "installed" on the target machine into presepcified directories, such as /usr/sfw/.... and as non-root on that target machine I do not have permission to install.

So all I need is from someone with a sparc machine to please email me that 1 file only, it will be very handy.

xxxxxxxx

Moderator's Comments:
Mod Comment no emails inside the forum. please use PM function to exchange email adresses!

Last edited by DukeNuke2; 09-11-2011 at 11:29 AM..
# 6  
Old 09-11-2011
Quote:
Originally Posted by steve701
1-they put source code which you have to build to get gcc, not the actual binaries....unless you can point me to a package which has "gcc" binary in it, and not source code to be built.
Sunfreeware (hopefully) provides binary packages for all programs it distributes.
Quote:
2-even if it does have something, they usually get "installed" on the target machine into presepcified directories, such as /usr/sfw/.... and as non-root on that target machine I do not have permission to install.
What makes you feel that gcc binary wouldn't work if installed elsewhere ? Especially as you state everything else is installed but the gcc command.
# 7  
Old 09-11-2011
"Sunfreeware (hopefully) provides binary packages for all programs it distributes."

i looked around last night, no hope - care to send me a specific link?

"What makes you feel that gcc binary wouldn't work if installed elsewhere?"

i am not too familaiar with install process of gcc, would it give one the option to install it locally on a user directory?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Start /SYS on SUN SPARC does not start machine [SUN SPARC ENTERPRISE T-5240]

-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS ]-> show HOST /HOST Targets: bootmode diag domain Properties: autorestart = reset autorunonerror = false bootfailrecovery = poweroff ... (29 Replies)
Discussion started by: z_haseeb
29 Replies

2. Solaris

Solaris virtual machine SPARC?

Hello, please, can somebody tell me if can i virtualize Solaris 11 SPARC architecture in a x86 PC? Virtualbox allows doing that? i need to run Solaris 11 SPARC to make a lab, and dont have any SUN machine to do on it. Thanks in advance! (9 Replies)
Discussion started by: MuziKizuM
9 Replies

3. Solaris

Newly Compiled GCC 4.4.4 on Solaris sparc gives problem with -m32/-m64 flags

Hello experts, This issue has kept me busy all day long. It started off with openssl compilation which was giving linking error with following message: /usr/local/bin/ld: target elf32-sparc not found collect2: ld returned 1 exit status I tried every step possible thing that I could think... (2 Replies)
Discussion started by: d_shanke
2 Replies

4. Programming

Header file compilation using gcc in Sparc Solaris

I am facing problem while migrating the c++ code from Linux to Solaris. In linux the code is absolutly compiled fine with GCC compiler but when i am using the same in Solaris it coomplains bash-3.1$ gcc LibSip.h gcc: Compilation of header file requested The same command is working fine in... (2 Replies)
Discussion started by: mrupesh74
2 Replies

5. UNIX for Dummies Questions & Answers

Booting SPARC 5 Machine 's CD-ROM

Hi, I have inherited a Ultra 5 SPARC machine that I need to boot from its CD-ROM. WHen I turn on the machine it just boots to its hard drive. How do I get it to boot from the CD-ROM. I am a Solaris newbie.... (1 Reply)
Discussion started by: mojoman
1 Replies

6. Solaris

Installing gcc on SPARC 5.9

Hi, I am trying to install gcc on SPARC 5.9 pkgadd -d gcc-3.4.2-sol9-sparc-local i get the below error pkgadd: ERROR: attempt to process datastream failed - open of <gcc-3.4.2-sol9-sparc-local> failed, errno=2 pkgadd: ERROR: could not process datastream from... (3 Replies)
Discussion started by: saharookiedba
3 Replies

7. Solaris

gcc 4.2.0 from SUN binary gccfss

Hi All I have installed the above version of gcc from the SUN binaries and recieved the following linker error when trying to compile and link a hello world test program written in C++. ld: fatal: option -z has illegal argument `ld32=-S/export/home/sources/gcc_SUN_b... (2 Replies)
Discussion started by: C3000
2 Replies

8. Solaris

Where to buy used Sparc machine

Hello, I plan to take the SCSA exam. I think if I have a Sparc machine that will be very helpful, though I could run VMWare on Win system. So could anyone know where I can buy a used workstaion. I am not dare going to eBay :) , (I am not sure the source is reliable). I live in up NY state. And... (1 Reply)
Discussion started by: billshu
1 Replies
Login or Register to Ask a Question