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.
8 More Discussions You Might Find Interesting
1. Solaris
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
2. Solaris
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
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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
5. Programming
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
6. Solaris
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
7. Solaris
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
8. UNIX for Beginners Questions & Answers
-> 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
LEARN ABOUT DEBIAN
builder-cc
BUILDER-CC(1) Debian GNU/Linux BUILDER-CC(1)
NAME
builder-cc - gcc wrapper to facilitate pentium-optimizations
SYNOPSIS
export DEBIAN_BUILDARCH=architecture
export DEBIAN_BUILDGCCVER=gcc-version
gcc ...
DESCRIPTION
The builder-cc wrapper is normally used by calling gcc as usual. If the environment variable DEBIAN_BUILDARCH is not set, builder-cc does
nothing, and the real gcc is invoked with the specified arguments.
When the DEBIAN_BUILDARCH environment variable is set, builder-cc invokes gcc with the specified arguments, plus -mcpu=DEBIAN_BUILDARCH
-march=DEBIAN_BUILDARCH This has the effect of telling gcc to use architecture-specific optimizations without changing the command line.
This is particularly useful for package builds.
If DEBIAN_BUILDGCCVER is not set, builder-cc calls gcc.real. If DEBIAN_BUILDGCCVER is set, builder-cc calls gcc-DEBIAN_BUILDGCCVER
instead.
ENVIRONMENT
DEBIAN_BUILDARCH
If set, the architecture to compile for. Useful values are pentium or pentiumpro.
DEBIAN_BUILDGCCVER
If set, the version of gcc to be invoked. Useful values are 3.0 or 2.95.
NOTES
The real gcc is renamed gcc.real, and a diversion is registered with dpkg-divert(1). Thus builder-cc's idea of the default gcc is dictated
by whatever package installed /usr/bin/gcc.
SEE ALSO
gcc(1)
Debian Project 2002-03-02 BUILDER-CC(1)