9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I have a weird problem.
When i run the below code in SunOS and Linux i get different outputs
====
$ cat tst.ksh
#!/bin/ksh
echo "Abc" > $LOG_FILE
echo "Ret - $?"
=====
In Solaris
$ ./tst.ksh
Abc
Ret - 0
In GNU Linux (1 Reply)
Discussion started by: NickKnight
1 Replies
2. UNIX for Advanced & Expert Users
Hi Frds,
I am new to unix forums. With lot of hope, i'm posting this thread. I want to understand GCC functionality(from commandline parsing to Assembly code generatio). i have relavant source code with me. But i felt little bit difficulty in understanding / reading each line of code. Is... (5 Replies)
Discussion started by: muthu_u
5 Replies
3. Solaris
Am new to Solaris OS and need to install the GNU cpp compiler. Followed the instructions from Sunfreeware for installing the gcc compiler and it looks as if it correctly installed but i cannot run it from the command window.
# cd /usr/local/bin
# ls
c++ ... (2 Replies)
Discussion started by: brb
2 Replies
4. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
5. AIX
Hello, I am trying to use the IBM XL C/C++ Compiler on my AIX server. I have uised smit to install it and it appears to have been successful. When I however type XlC it tells me that I am still using my old compiler which is VisualAge C++ Professional / C for AIX Compiler, Version 5. How can I... (3 Replies)
Discussion started by: dkranes
3 Replies
6. 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
7. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
8. Programming
I have just installed C compiler, the installation
was successful but when I try to excute a gcc file I received the error message
"types.c: In function `main':
> types.c:4: warning: return type of `main' is not `int'
> ld: fatal: file values-Xa.o: open failed: No such file or directory
>... (5 Replies)
Discussion started by: hassan2
5 Replies
9. Programming
What can I do if my unix didn't come with cc or gcc. there must be a place to get those programs.
Just not where i can find them:confused: (3 Replies)
Discussion started by: hector
3 Replies