How I will compiler Source code in C (arq.txt) in solaris ?

I ''d like to know how I will a source code in solaris enviromment (in command line) my file (arq.txt) ?
[113 byte] By [Gmourada] at [2007-11-26 17:23:44]
# 1

I'm sorry, but I don't understand what you want to do.

If you have C source code, first install a C compiler. We recommend getting Sun Studio 11, which is free. You can get it here:

http://developers.sun.com/sunstudio

After you have installed Sun Studio, put the its "bin" directory on your execution path. For example, the default location for Sun Studio is /opt. The bin directory is /opt/SUNWspro/bin, so you would add that to your execution path. If you are using the C shell, add a line similar to

set path = ( /opt/SUNWspro/bin $PATH)

to your .cshrc file, or just run that command in a shell window.

Now you can run the C compiler as the command "cc".

clamage45a at 2007-7-8 23:51:45 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
HiDo you mean that you have a problem likeld: fatal: file .txt: unknown file typeld: fatal: File processing errors. No output written to fooI think that you need to rename (or perhaps symlink) the file so that it has a .c extension.Paul
Paul_Floyda at 2007-7-8 23:51:45 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
-- Message was edited by: Gmourad
Gmourada at 2007-7-8 23:51:45 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
ok
Gmourada at 2007-7-8 23:51:45 > top of Java-index,Development Tools,Solaris and Linux Development Tools...