08-07-2008
If you create a directory named /usr/local/bin/gcc, you'll have a hard time running a command being /usr/local/bin/gcc too.
What Solaris version is this ?
10 More Discussions You Might Find Interesting
1. Programming
(Installing GCC: Configuration)
In the document of Installing GCC, there is a sentence I don't
understand:
" Second, when configuring a native system, either cc or gcc must be in your path or you must set CC in your environment before running configure. Otherwise the configuration scripts... (2 Replies)
Discussion started by: wwz
2 Replies
2. UNIX for Dummies Questions & Answers
Hi! I have downloaded a precompiled gcc package but I'm having problems installing it. It is supposed to install in /usr/local and there is plenty of space left there but during the installation I get the following error message “No space left on device”. Is it some kind of temp folder that is out... (2 Replies)
Discussion started by: alfabetman
2 Replies
3. Programming
I am trying to install gcc-3.1 in an SGI Indigo2 running Irix 6.5.15.
When I try to configure gcc-3.1 I keep getting the following message:
Created "Makefile in gcc/ using "mh-frag"
cc ERROR: cannot exec /usr/lib32/cmplrs/fec
*** The command 'cc -o conftest -g conftest.c' failed
*** You... (0 Replies)
Discussion started by: mdbanas
0 Replies
4. Programming
Hi all
I'm trying to install the latest version of gcc but I keep getting this message on make;
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./../zlib -I./../include -W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -g -O2 -c jartool.c
jartool.c:234: getopt.h: No... (3 Replies)
Discussion started by: squeakywheel
3 Replies
5. Solaris
Hi friends,
i down loaded the gcc*.gz file and i am getting the following error when i am trying to install it on solaris 8
=======================================================
Processing package instance <SMCgcc342> from </export/gcc-3.4.2-sol8-sparc-local>
gcc
(sparc) 3.4.2
FSF... (1 Reply)
Discussion started by: sveera
1 Replies
6. Solaris
GCC 3.4.6 was installed in Solaris 2.8. I ran the commands ./configure and make. When running make install I got the below mentioned errors at the end. Please help me in resolving the same.
make: *** Error 1
make: Leaving directory `/gmsp/antony/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libf2c'... (1 Reply)
Discussion started by: chrisanto_2000
1 Replies
7. SCO
Did anyone get gcc updated on sco 5.0.7 ?
Here is what I did
installed Openserver Development System
installed Openserver Linker and Application Development Libraries
This gave me older gcc compiler 2.95.3 which is required to compile the latest gcc 3.4.3
Configuration went ok but issued... (1 Reply)
Discussion started by: miles556
1 Replies
8. 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
9. Solaris
dear, please just didn't understand the problem that appears when i try to install ./configure here is the message that appears in unix when installing gcc
root@ccbtest # ./configure
checking build system type... /bin/bash: ./config.guess: No such file or directory
configure: error: cannot... (3 Replies)
Discussion started by: semaan
3 Replies
10. UNIX for Dummies Questions & Answers
Hi, I am having trouble installing Arachne from the broad institute.
I'm using ubuntu through Oracle's VirtualBox.
When I use the ./configure command, I do not get any obvious errors. However, the make command always fails.
Here is my output for the .configure command and for the make... (3 Replies)
Discussion started by: kblanch
3 Replies
LEARN ABOUT DEBIAN
ragg2-cc
RAGG2-CC(1) BSD General Commands Manual RAGG2-CC(1)
NAME
ragg2-cc -- CC frontend for compiling shellcodes
SYNOPSIS
ragg2-cc [-a arch] [-b bits] [-k kernel] [-o file] [-dscxvh]
DESCRIPTION
ragg2-cc is a frontend of CC. It is used to creates tiny binaries (1KB) or shellcodes in binary or hexpairs from a C source.
The compiler used is the one configured by the CC environment. This has been tested with gcc, llvm-gcc and clang.
Uses sflib (shellforge4) includes to get the syscall definitions.
Only linux/darwin x86-32/64 is supported at the moment. Planned support for more architectures.
OPTIONS
-a arch set architecture x86, arm
-b bits 32 or 64
-k kernel windows, linux or osx
-o file output file to write result of compilation
-h show help message
-v show version
-d show assembler code
-s generate assembly file
-c generate compiled shellcode
-x show hexpair bytes
EXAMPLE
$ cat hi.c
int main() {
write (1, "Hello World
", 12);
exit (0);
}
$ ragg2-cc hi.c
hi.c.bin
# Linked into a tiny binary. This is 294 bytes
$ wc -c < hi.c.bin
294
$ ./hi.c.bin
Hello World
# The compiled shellcode has zeroes
$ ragg2-cc -x hi.c
e90000000083ec0ce800000000588d882a000000b804000000606a0651
6a0150cd8083c41061b8010000006a0050cd8083c40883c40cc368656c
6c6f0a00
# Use a xor encoder with key 32 to bypass
$ ragg2 -e xor -c key=32 -B `ragg2-cc -x hi.c`
6a3e596a205be8ffffffffc15e4883c60d301e48ffc6e2f9c920202020
a3cc2cc82020202078ada80a2020209824202020404a26714a2170eda0
a3e4304198212020204a2070eda0a3e428a3e42ce348454c4c4f2a20
SEE ALSO
radare2(1), rahash2(1), rafind2(1), rabin2(1), rafind2(1), ranal2(1), radiff2(1), rasm2(1), ragg2cc(1),
AUTHORS
pancake <pancake@nopcode.org>
BSD
Dec 5, 2011 BSD