Need gcc binary for a SPARC machine


 
Thread Tools Search this Thread
Operating Systems Solaris Need gcc binary for a SPARC machine
# 8  
Old 09-11-2011
i don't know where you looked around...

ftp://ftp.sunfreeware.com/pub/freewa...sparc-local.gz
# 9  
Old 09-11-2011
Quote:
Originally Posted by steve701
i am not too familaiar with install process of gcc, would it give one the option to install it locally on a user directory?
Your answer is confusing. Didn't you previously wrote all of sfw was installed but only the gcc command was missing ?
and again, why aren't you simply asking your administrator to install a C compiler ?
# 10  
Old 09-11-2011
1-yes installed, but not by me, by admin.
2-politics / visibility

---------- Post updated at 11:27 AM ---------- Previous update was at 11:24 AM ----------

Dukenuke2: yes thanks for the links, but in description on site says: "The GNU C compiler and related programs - installs in /usr/local"

question is, as non-root, do I have access to install in /usr/local?
# 11  
Old 09-11-2011
You can extract all of the package files anywhere by using the pkgtrans command. If the only component you need is the gcc binary, which I start to doubt seriously, just extract the package in your home directory, /var/tmp, or /tmp, copy gcc somewhere in your PATH, make it executable and you might be done.

I don't get your politic/visibility point. Do you mean you are asking us to help circumventing a security or whatever measure taken by the people administering your machine ?
# 12  
Old 09-11-2011
ok will give that a try later tonight.

no - I have developed a fully working app and using it for a month now - on another machine, but not on the work machine. I want to indicate that to management. Now if I am after installing this stuff now at work, they may start doubting that I have done this over a month now, so I don't want any leakage on that time-frame (through sysadmins). that's all, nothing more.

---------- Post updated at 01:10 PM ---------- Previous update was at 12:55 PM ----------

Jilliagre: regarding you dubting that gcc is all I need, then can you explain my question in this post:

Why is gcc missing from </usr/sfw/bin>

why would sysadmin go ahead and remove the gcc out of there?
# 13  
Old 09-11-2011
Steve, there are various reasons why the sysadmin would remove a compiler binary, not least of which is for security purposes. Not all systems need a compiler installed, and if not then there is no reason to leave one on in order to give tools to miscreants who want to build their own versions of system utilities etc. If you want a compiler on your system, you are going to have to talk to your sysadmin.
# 14  
Old 09-11-2011
As far as security goes, removing the compiler is one of the more useless measures that you often hear about. Whatever means are used to install source files for compilation can instead be used to install the compiler binary itself (or any arbitrary executable).

Regards,
Alister
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