06-14-2004
If you want to programm on Linux you have to use th gcc. There are some differences between Windows and Linux. For example, you can not use conio.h beacuse this is not a part of the linux compiler. So, if you want to use some commands like getch you need curses. This is a good package for the compiler with many features and better than conio.h . have fun with coding...
10 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
i am looking forward to this one:
http://www.opensolaris.org/jive/message.jspa?messageID=11672#11672
i thought that the gentoo community would release the first opensolaris distri, but perhabs we will get a chance to try opensolaris within 1/2 hour installation and not 12 hours "gentoo-stage_1"... (2 Replies)
Discussion started by: pressy
2 Replies
2. UNIX for Dummies Questions & Answers
I know there are some posts on getting the time with milliseconds included and I realize unix may not be the best on this.
I have seem some posts where its advised to install the GNU date.
Any one know where I can download this as I am struggling to find it.
Alternatively - if you have... (5 Replies)
Discussion started by: frustrated1
5 Replies
3. UNIX for Advanced & Expert Users
Hello,
One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a... (2 Replies)
Discussion started by: neked
2 Replies
4. UNIX for Advanced & Expert Users
Hi Chaps,
Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
Discussion started by: wempy
4 Replies
5. BSD
Is anyone using or planning to use GNU BSD in production yet? I'd like to hear experiences. (Debian GNU/NetBSD) (8 Replies)
Discussion started by: vpsville
8 Replies
6. AIX
Hi, We are running 64-bit AIX 6.1. I have gcc 4.2.0 on our system. I'd like to get the latest copy of GNU findutils on the server. From what I see, I have two basic options: 1) download source code and compile using gcc or 2) download rpm and install. Would someone please point me in the right... (1 Reply)
Discussion started by: Eben Yong
1 Replies
7. 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
8. Debian
I wish to be able to print a barcode .5 inches from top of the page and centered.
I generate the barcode -
yes 12345 | head -84 | barcode -p 5x5.0cm -umm -e CODE39 > test.ps;
and print -
lpr -o media=letter -#1 -P LJ1012 /var/www/test.ps -o page-top=33 -o page-bottom=44 -o... (1 Reply)
Discussion started by: Meow613
1 Replies
9. Shell Programming and Scripting
I'm just learning Regex and while testing my understanding I received some unexpected results.
I created example.txt with the text "abcddd". Running the command
grep --color 'd' example.txt
I received the results:
"abcddd" with the first and second letter d highlighted in red.
So... (1 Reply)
Discussion started by: rthomas529
1 Replies
10. UNIX for Advanced & Expert Users
Stumbled over this today on GNU/Linux, output from ps -fp :
UID PID PPID C STIME TTY TIME CMD
root 3516 1 0 2017 ? 00:00:13 syslogd -m 0
UID PID PPID C STIME TTY TIME CMD
syslog 2952 1 0 2017 ? 00:02:08 rsyslogdSTIME showing... (8 Replies)
Discussion started by: MadeInGermany
8 Replies
LEARN ABOUT DEBIAN
extutils::f77
F77(3pm) User Contributed Perl Documentation F77(3pm)
NAME
ExtUtils::F77 - Simple interface to F77 libs
DESCRIPTION
This module tries to figure out how to link C programs with Fortran subroutines on your system. Basically one must add a list of Fortran
runtime libraries. The problem is their location and name varies with each OS/compiler combination!
This module tries to implement a simple 'rule-of-thumb' database for various flavours of UNIX systems. A simple self-documenting Perl
database of knowledge/code for figuring out how to link for various combinations of OS and compiler is embedded in the modules Perl code.
Please help save the world by sending database entries for your system to karl_pgplot@mac.com
Note the default on most systems is now to search for a generic 'GNU' compiler which can be g77, gfortran or g95 and then find the
appropriate link libraries automatically. (This is the 'Generic' 'GNU' database entry in the code.)
The library list which the module returns can be explicitly overridden by setting the environment variable F77LIBS, e.g.
% setenv F77LIBS "-lfoo -lbar"
% perl Makefile.PL
...
SYNOPSIS
use ExtUtils::F77; # Automatic guess
use ExtUtils::F77 qw(sunos); # Specify system
use ExtUtils::F77 qw(linux g77); # Specify system and compiler
$fortranlibs = ExtUtils::F77->runtime;
METHODS
The following methods are provided:
o runtime
Returns a list of F77 runtime libraries.
$fortranlibs = ExtUtils::F77->runtime;
o runtimeok
Returns TRUE only if runtime libraries have been found successfully.
o trail_
Returns true if F77 names have trailing underscores.
o compiler
Returns command to execute the compiler (e.g. 'f77').
o cflags
Returns compiler flags.
o testcompiler
Test to see if compiler actually works.
More methods will probably be added in the future.
AUTHOR
Karl Glazebrook (karlglazebrook@mac.com).
perl v5.10.1 2011-01-01 F77(3pm)