03-12-2003
you need to compile it with the 'cc' command.
so youd type
cc test.c
however iwould suggest naming the program something other than test, because there already exists a command 'test'. you can keep the name as test if youd like, but you will need to make sure you have the ./ infront of the command ./test. but if you just use the command cc test.c it is ok, the binary will be there as a.out and not test, unless you specify it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone
first of all you should know that I've been working with solaris for a few days only. :)
I need to install some programs and I have had the following troubles:
1. When I used /.configure it showed the following message:
"no acceptable C compiler found in $PATH"
I included... (2 Replies)
Discussion started by: eldiego
2 Replies
2. Programming
Hi ,
I get the following error when i run the make command.
cc -Aa -DUNIX -osrcmpmn srcmpmn.c
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000014
*** Error exit code 14
here the file is C program which has been modified.
Please help. (1 Reply)
Discussion started by: shashidhara_01
1 Replies
3. Programming
The problem is that the original program was compiled using v5.0 MQ client but now we are using MQ client v5.3. Had modified the "make file" options as follows but still i could see the errors.
#CLIENT_V5_LIBS = -limqb23ss -limqc23ss -lmqic -lmqmcs -lnsl -ldl
CLIENT_V5.3_LIBS =... (1 Reply)
Discussion started by: hram
1 Replies
4. Shell Programming and Scripting
I am trying to install Expect 5.43 on my Solaris 10 x86 PC. When I run the make file I get - Command failed for target 'exp_inter.o'. I tried to find the file (find / -name exp_inter.o -print 2>/dev/null) but could not. Where can I get this file from? (2 Replies)
Discussion started by: pazzy
2 Replies
5. AIX
When I try to run the history command from the prompt i get the following error:
$ history
ksh: cd: 0403-011 The specified substitution is not valid for this command.
ON running history with a parameter I get the following
$ history -10
ksh: cd: 0403-008 The number of parameters... (6 Replies)
Discussion started by: meetzap
6 Replies
6. UNIX for Dummies Questions & Answers
I am running nm for a file.
the command is
nm -f libC.a
but it gives below error
nm: libC.a: 0654-203 Specify an XCOFF object module.
any solution ?
Please use and tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks. (2 Replies)
Discussion started by: yatrik007
2 Replies
7. Shell Programming and Scripting
Hi All,
I have some 80,000 files in a directory which I need to rename. Below is the command which I am currently running and it seems, it is taking fore ever to run this command. This command seems too slow. Is there any way to speed up the command. I have have GNU Parallel installed on my... (6 Replies)
Discussion started by: shoaibjameel123
6 Replies
8. Shell Programming and Scripting
Hello Gurus,
I am firing the below command :
df -g | grep -v var| awk '{ (if $4 > 90% ) print "Filesystem", $NF,"over sized";}'
But I am getting the below error:-
======
syntax error The source line is 1.
The error context is
{if ($4 > >>> 90%) <<<
awk: The... (9 Replies)
Discussion started by: pokhraj_d
9 Replies
9. Programming
Hi guys..i'm a newbie here and i really need your help urgently..currently i want to run a 'make' command in Ubuntu..But this error occurs:
gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Waggregate-return... (5 Replies)
Discussion started by: naz1406
5 Replies
10. AIX
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded.
0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 Replies
LEARN ABOUT DEBIAN
dist::zilla::app::command::test
Dist::Zilla::App::Command::test(3pm) User Contributed Perl Documentation Dist::Zilla::App::Command::test(3pm)
NAME
Dist::Zilla::App::Command::test - test your dist
VERSION
version 4.300020
SYNOPSIS
dzil test [ --release ] [ --no-author ] [ --automated ] [ --all ]
DESCRIPTION
This command is a thin wrapper around the test method in Dist::Zilla. It builds your dist and runs the tests with the AUTHOR_TESTING
environment variable turned on, so it's like doing this:
export AUTHOR_TESTING=1
dzil build --no-tgz
cd $BUILD_DIRECTORY
perl Makefile.PL
make
make test
A build that fails tests will be left behind for analysis, and dzil will exit a non-zero value. If the tests are successful, the build
directory will be removed and dzil will exit with status 0.
OPTIONS
--release
This will run the test suite with RELEASE_TESTING=1
--automated
This will run the test suite with AUTOMATED_TESTING=1
--no-author
This will run the test suite without setting AUTHOR_TESTING
--all
Equivalent to --release --automated --author
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-21 Dist::Zilla::App::Command::test(3pm)