Sponsored Content
Operating Systems HP-UX Unable to compile ANSI compatible code on HP-UX Post 8085 by bitman on Friday 5th of October 2001 10:05:03 AM
Old 10-05-2001
Error

I think if you want to compile with Ansi C, then there is a compiler aCC... just type the following in the prompt....
$>type aCC

if you are able to get the path, then
$><PATH> <filename>.C

and it will compile the way u want

also if u could give the program, probably could find the actual reason such an error
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Compile a code for running on boot

How can I compile a code that can be runned on boot:?? (2 Replies)
Discussion started by: d4n1l0d
2 Replies

2. UNIX for Dummies Questions & Answers

Unable to compile the c programme in unix

Hi, My name is vreddy and I am learning c language now and written one programme on vi editor. how do I compile the programme please give me some advice and that would be helpfull for me. thanks vre (10 Replies)
Discussion started by: vasudeva
10 Replies

3. Shell Programming and Scripting

Convert file from Unix - ANSI to PC - ANSI

Hi, I am creating a file in Unix using a shell script. The file is getting created in the Unix - ANSI format. My requirement is to convert it to the PC - ANSI format. Can anyone tell me how to do this? Thanks, Sunil (0 Replies)
Discussion started by: ssmallya
0 Replies

4. Shell Programming and Scripting

Still unable to compile pro*c program

I am unable to compile the programs, I am able to compile .pc to .c but later part of the compilation from .c to executalbe i am unable to do. Here is the way i am doing make -f $LIB_LIB/makefile.templ sample I am getting the following errors, which environment and where to set to point... (1 Reply)
Discussion started by: satvd
1 Replies

5. UNIX and Linux Applications

How to compile from source code?

Hi all, I downloaded the source code for a pkg. But i dont know how to build from it? I have no prior experience in building from source,so could you pls help me? I tried ./configure(after entering into the dir containing the src codes) but it generated some errors!!!!! Some files... (1 Reply)
Discussion started by: wrapster
1 Replies

6. UNIX for Dummies Questions & Answers

Unable to compile Shell Script

Hi there, I have written the shell script to illustrate arithmetic operations using case command as shown below: #!/bin/bash echo -n "Enter any two numbers :" read a read b MENU=" Select any one option 1) Addition 2) Substraction 3) Multiplication 4) Division 5) Quit" clear $x=0;... (5 Replies)
Discussion started by: grc
5 Replies

7. Programming

why the implementatoin of Bakery algorithm in ANSI C does not work in ANSI C

I follow the description of wiki (Lamport's bakery algorithm - Wikipedia, the free encyclopedia), then implement that algorithm in C, but it doesn't work, Starving is still here, is the implementation worry? Only print out: Thread ID: 0 START! Thread ID: 0 END! Thread ID: 0 START!... (2 Replies)
Discussion started by: sehang
2 Replies

8. Shell Programming and Scripting

making code compatible to previous bash versions

First let me explain the scenario I have tywo files as usual file1.txt (it has n rows and 8 columns) $1 $2 $3 $4 $5 $6 $7 $8 Code: 1234567|iufgt|iuoy|iout|white |black |red |90879 1234567|iufgt|iuoy|iout|green |pink |blue |90879... (3 Replies)
Discussion started by: s.deepak
3 Replies

9. Shell Programming and Scripting

Convert decimal notation to ANSI point code notation

wondering if anyone has any thoughts to convert the below thru a shell script Convert decimal signalling point notation to ANSI point code notation There is a site that does that conversion but i need to implement the solution in a shell script.....Thoughts.... OS: Solaris 9 ... (4 Replies)
Discussion started by: aavam
4 Replies

10. Programming

C++ for dummies: how to compile a code.

Hi. I wrote a small programm which shows me display's refresh rate #include "stdafx.h" #include "windows.h" #include "iostream" using namespace std; int _tmain(int cout) { HDC hDCScreen = GetDC(NULL); int RefreshFrequency = GetDeviceCaps(hDCScreen, VREFRESH); ReleaseDC(NULL, hDCScreen);... (1 Reply)
Discussion started by: urello
1 Replies
iverilog-vpi(1) 						  Version 0.9.5 						   iverilog-vpi(1)

NAME
iverilog-vpi - Compile front end for VPI modules SYNOPSIS
iverilog-vpi [--name=name] sourcefile... DESCRIPTION
iverilog-vpi is a tool to simplify the compilation of VPI modules for use with Icarus Verilog. It takes on the command line a list of C or C++ source files, and generates as output a linked VPI module. See the vvp(1) man page for a description of how the linked module is loaded by a simulation. The output is named after the first source file. For example, if the first source file is named foo.c, the output becomes foo.vpi. OPTIONS
iverilog-vpi accepts the following options: -llibrary Include the named library in the link of the VPI module. This allows VPI modules to further reference external libraries. -Idirectory Add directory to the list of directories that will be search for header files. -Ddefine Define a macro named define. --name=name Normally, the output VPI module will be named after the first source file passed to the command. This flag sets the name (without the .vpi suffix) of the output vpi module. --install-dir This flag causes the program to print the install directory for VPI modules, then exit. It is a convenience for makefiles or auto- mated plug-in installers. --cflags, --ldflags and -ldlibs These flags provide compile time information. PC-ONLY OPTIONS The PC port of iverilog-vpi includes two special flags needed to support the more intractable development environment. These flags help the program locate parts that it needs. -mingw=path Tell the program the root of the Mingw compiler tool suite. The vvp runtime is compiled with this compiler, and this is the com- piler that iverilog-vpi expects to use to compile your source code. This is normally not needed, and if you do use it, it is only needed once. The compiler will save the path in the registry for use later. -ivl=path Set for the use during compilation the root if the Icarus Verilog install. This is the place where you installed Icarus Verilog when you ran the installer. This flag is also only needed once, and the path is stored in the registry for future use. UNIX-ONLY OPTIONS The UNIX version of iverilog-vpi includes additional flags to let Makefile gurus peek at the configuration of the iverilog installation. This way, Makefiles can be written that handle complex VPI builds natively, and without hard-coding values that depend on the system and installation. If used at all, these options must be used one at a time, and without any other options or directives. --cflags Print the compiler flags (CFLAGS or CXXFLAGS) needed to compile source code destined for a VPI module. --ldflags Print the linker flags (LDFLAGS) needed to link a VPI module. --ldlibs Print the libraries (LDLIBS) needed to link a VPI module. -m32 On 64bit systems that support it (and support vvp32) this flag requests a 32bit vpi binary instead of the default 64bit binary. Example GNU makefile that takes advantage of these flags: CFLAGS = -Wall -O $(CFLAGS_$@) VPI_CFLAGS := $(shell iverilog-vpi --cflags) CFLAGS_messagev.o = $(VPI_CFLAGS) CFLAGS_fifo.o = $(VPI_CFLAGS) messagev.o fifo.o: transport.h messagev.vpi: messagev.o fifo.o iverilog-vpi $^ AUTHOR
Steve Williams (steve@icarus.com) SEE ALSO
iverilog(1), vvp(1), <http://www.icarus.com/eda/verilog/>, <http://www.mingw.org>, COPYRIGHT
Copyright (C) 2002-2009 Stephen Williams This document can be freely redistributed according to the terms of the GNU General Public License version 2.0 April 17th, 2009 iverilog-vpi(1)
All times are GMT -4. The time now is 05:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy