I am trying to compile c files using cc and gcc commands but getting errors cc and gcc not found. I tried man cc and man gcc still not found.
Can somebody help me this problem.
thanks (3 Replies)
I get this error warning.
test.c: In function 'main':
test.c:5: warning: incompatible implicit declaration of built-in function 'memset'
After compiling this code
#include <stdio.h>
int main() {
char pBuffer;
memset(pBuffer, 0, 32);
return 0;
}
What seems... (2 Replies)
Hi all,
I am trying to create 64-bit shared libraries on Power PC "ppc64" architecture SuSe Linux 10 machine using gcc compiler.
I am using "-m64" as an option for gcc to create 64-bit libraries which needs pam module. As we specify -m64 the compiler should look for all 64-bit... (0 Replies)
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Hi,
I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error--
Please help me to resolve it.
Thanks in Advance.. (6 Replies)
Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
I m trying to Install FTP (vsftpd-2.3.2) on my linux machine.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)... (7 Replies)
I want to compile all files in my directory i wrote
find *.c | gcc -o * *.c
but it dosent work :( Help pliz (12 Replies)
Discussion started by: rzili
12 Replies
LEARN ABOUT SUSE
perlbeos
PERLBEOS(1) Perl Programmers Reference Guide PERLBEOS(1)NAME
README.beos - Perl version 5.8+ on BeOS
DESCRIPTION
This file contains instructions how to build Perl under BeOS and lists known problems.
BUILD AND INSTALL
Requirements
I have built and tested Perl 5.8.6 and 5.9.1 under BeOS R5 x86 net server. I can't say anything with regard to PPC. Since Perl 5.8.0 had
been released for BeOS BONE, I suspect, there is a good chance, that it still compiles on a BONE system. The only change I've made, that
affects BONE systems is the recognition of whether it is a BONE system or not in "hints/beos.sh". Now network socket support should remain
enabled on BONE systems. This might as well break the build, though.
As more recent versions of autoconf require flock() support, I wrote a flock() emulation (flock_server) and released it on BeBits:
http://www.bebits.com/app/4030
If you want to build a Perl with flock() support, you have to install this package first.
Configure
With flock() support:
CFLAGS=-I/path/to/flock/server/headers ./configure.gnu
--prefix=/boot/home/config
Replace "/path/to/flock/server/headers" with the path to the directory containing the "flock.h" header.
Without flock() support:
./configure.gnu --prefix=/boot/home/config
Build
With flock() support:
make LDLOADLIBS="-lnet -lflock"
Without flock() support:
make LDLOADLIBS="-lnet"
"-lnet" is needed on net server systems only and if the compiler doesn't add it automatically (Be's R5 gcc does, Oliver Tappe's gcc 2.95.3
does not).
Install
Install all perl files:
make install
Create a symlink for libperl:
cd ~/config/lib; ln -s perl5/5.8.6/BePC-beos/CORE/libperl.so .
Replace 5.8.6 with your respective version of Perl.
KNOWN PROBLEMS
o Network socket support is disabled for BeOS R5 net server. I didn't dare yet to try enabling it and see what problems occur.
o The LFS (large file support) tests ("t/op/lfs" and "xt/Fcntl/t/syslfs") are disabled as seeking beyond 2 GB is broken according to
jhi@iki.fi who was the last one checking the BeOS port and updating this file before me. Haven't checked this myself.
o The "t/io/fflush" test fails at #6. As far as I can tell, this is caused by a bug in the BeOS pipes implementation that occurs when
starting other child processes. In the particular test case a "system("perl -e 0")" flushes the stdout pipe of another child process.
o The "ext/POSIX/t/waitpid" test fails at #1. After all child processes are gone BeOS' waitpid(-1,...) returns 0 instead of -1 (as it
should). No idea how to fix this.
CONTACT
For BeOS specifics problems feel free to mail to: Ingo Weinhold <bonefish@cs.tu-berlin.de>
Last update: 2004-12-16
perl v5.12.1 2010-04-26 PERLBEOS(1)