Sponsored Content
Full Discussion: C compiler
Top Forums Programming C compiler Post 28692 by Nisha on Monday 23rd of September 2002 10:07:08 AM
Old 09-23-2002
Post your code...

u may have given void main() and tried to return a value.. and thats why is the warning i think...

If you are trying to open a file from types.c file, then check for the access permissions.. may be thats why u r unable to open it.. or it may not be in the proper path...

Hope it helps...

-Nisha
 

9 More Discussions You Might Find Interesting

1. Programming

c compiler

i'm using linux to compile my c program right now. are there any free c compiler with all the standard header file, such as <stdio.h>, <unistd.h>..., i can download and use? can Microsoft Visual C++ compile C code? thanks. (1 Reply)
Discussion started by: bb00y
1 Replies

2. Programming

C compiler

I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies

3. Solaris

C compiler

Hello Everyone!!! Can i use the C shell to compile a C program ? how ? please teach me how to compile ? Thanks!!!! Giancarlo D. Jabon (1 Reply)
Discussion started by: giancarlodjabon
1 Replies

4. Programming

C compiler

my C compiler cc is not working. probably it has corrupted. can anyone tell me location from where i can download it. Regards (4 Replies)
Discussion started by: rochitsharma
4 Replies

5. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

6. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

7. Solaris

C Compiler

Greetings, :rolleyes: :o :confused: I am working on Solaris 8. I have a few questions: 1. How do I determine if I have the CC compiler? I know it isn't in my $PATH, so how do I find it? 2. How do you install wget? I have read the INSTALL file, but I am not familar with the switches,... (25 Replies)
Discussion started by: Roam
25 Replies

8. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies

9. Shell Programming and Scripting

I need the compiler !!! help me

I have the code .section .data format_string: .asciz "Tong la '%d'\n" n: .int 6 .section .text .globl _start _start: movl $0,%esi movl n,%eax movl $0,%ecx loop1: cmp %eax,%ecx je print add %eax,%esi dec %eax jmp loop1 print: movl $format_string, %edi movl $0, %eax (1 Reply)
Discussion started by: toantk_55
1 Replies
sdl-config(1)						      General Commands Manual						     sdl-config(1)

NAME
sdl-config - script to get information about the installed version of SDL SYNOPSIS
sdl-config [ --prefix[=DIR] ] [ --exec-prefix[=DIR] ] [ --version ] [ --cflags ] [ --libs ] [ --static-libs ] DESCRIPTION
sdl-config is a tool that is used to configure and determine the compiler and linker flags that should be used to compile and link pro- grams, and libraries, and plugins that use SDL. It is also used internally by the m4 macros that are included with SDL. OPTIONS
--cflags Print the compiler flags that are necessary to compile a program or library that uses SDL. --exec-prefix=DIR If specified, use DIR instead of the installation exec prefix that SDL was build with when computing the output for the --exec-pre- fix option. This option must be specified before any of the --cflags, and --libs options. --libs Print the linker flags that are necessary to link a program that uses SDL. --prefix=DIR If specified, use DIR instead of the installation prefix that SDL was built with when computing the output for the --prefix, and --exec-prefix options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be speci- fied before any of the --cflags, and --libs options. --static-libs Print the linker flags that are necessary to statically link a program that uses SDL. --version Prints the currently installed version of SDL on standard output. EXAMPLES
gcc -o main.o $(sdl-config --cflags) main.c is how you might use sdl-config to compile a C source file for an executable program. gcc -o my_app $(sdl-config --libs) main.o util.o is how you might use sdl-config to link compiled objects into an executable program. AUTHOR
The Simple DirectMedia Layer (SDL) library was written by Sam Lantinga. This manual page was written by Branden Robinson, originally for Progeny Linux Systems, Inc., and the Debian Project. This manual page was modified by Petr Pisar to match original SDL distribution. SDL 1.2 2013-06-19 sdl-config(1)
All times are GMT -4. The time now is 12:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy