Sponsored Content
Full Discussion: C Programming in Unix
Top Forums UNIX for Dummies Questions & Answers C Programming in Unix Post 302253637 by Lakris on Saturday 1st of November 2008 01:09:23 PM
Old 11-01-2008
Quote:
Originally Posted by zapper222
I asked this over on the "High Level Programming Section" but there must be a secret handshake or something that I am missing.....anyway....if a person wanted to start some C programming in UNIX what would be the best compiler to start with ??
I am fairly familiar with visual studio and have done some windows programming but not sure how to get started on unix type systems.

Thanks
Zapper
Hi,
the compiler of choice is GCC, the Gnu C Compiler. And for IDE, there a a few, You better search the net. If You come from the Java world, maybe Eclipse with addons for C feels familiar, Anjuta is another, focused on Gnome, but perfectly useful for "plain" C as well. A search on Google for "integrated development environments for Unix" gives just too many answers to list here.

/Lakris
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

programming on unix

can someone tell me some programming commands on unix? (2 Replies)
Discussion started by: fretis
2 Replies

2. Programming

c programming or unix programming!?

i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
Discussion started by: moxxx68
1 Replies

3. UNIX for Advanced & Expert Users

unix programming

hi guys, I m from india. I m working as programmer in one of MNC. Since 3 years im working on Microsoft platform on dot net and platforms. but now i decided to shift my future to unix , Linux side. I want to be the part of this open source family. and with this i want to make my future also.... (3 Replies)
Discussion started by: d_swapneel14
3 Replies

4. UNIX for Dummies Questions & Answers

new to unix programming

hi guys, I m from india. I m working as programmer in one of MNC. Since 3 years im working on Microsoft platform on dot net and platforms. but now i decided to shift my future to unix , Linux side. I want to be the part of this open source family. and with this i want to make my future also.... (6 Replies)
Discussion started by: d_swapneel14
6 Replies

5. Shell Programming and Scripting

Unix Systems Programming Vs Unix Programming

Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do. It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
Discussion started by: BCarlson
0 Replies

6. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

7. Programming

Need help in Unix C programming

hey guys. im currently trying to make a program in unix (redhat, compiling the .c file using gcc) and i need urgent urgent help. i need to save objects of structures in a file but they dont seem to be saving properly. ive been on it for a whole day now. dunno why i cant do it. when i try to... (4 Replies)
Discussion started by: mjumrani
4 Replies

8. Shell Programming and Scripting

Unix programming help

hey guys im trying to create a batch file that makes directories i have this code atm #!/bin/sh echo "Please enter file name:" read Filename echo "enter number of files to be created " read created for (( i = 1; i < &created; 1++ )) do mkdir $Filename$i done assume i enter... (7 Replies)
Discussion started by: josh111
7 Replies

9. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
GELF(3) 						   BSD Library Functions Manual 						   GELF(3)

NAME
GElf -- class-independent API for ELF manipulation LIBRARY
ELF Access Library (libelf, -lelf) SYNOPSIS
#include <gelf.h> DESCRIPTION
This manual page describes a class independent API for manipulating ELF objects. This API allows an application to operate on ELF descrip- tors without needing to the know the ELF class of the descriptor. The GElf API may be used alongside the ELF API without restriction. GElf Data Structures The GElf API defines the following class-independent data structures: GElf_Addr A representation of ELF addresses. GElf_Dyn A class-independent representation of ELF .dynamic section entries. GElf_Ehdr A class-independent representation of an ELF Executable Header. GElf_Half An unsigned 16 bit quantity. GElf_Off A class-independent representation of a ELF offset. GElf_Phdr A class-independent representation of an ELF Program Header Table entry. GElf_Rel A class-independent representation of an ELF relocation entry. GElf_Rela A class-independent representation of an ELF relocation entry with addend. GElf_Shdr A class-independent representation of an ELF Section Header Table entry. GElf_Sword A signed 32 bit quantity. GElf_Sxword A signed 64 bit quantity. GElf_Sym A class-independent representation of an ELF symbol table entry. GElf_Word An unsigned 32 bit quantity. GElf_Xword An unsigned 64 bit quantity. These data structures are sized to be compatible with the corresponding 64 bit ELF structures, and have the same internal structure as their 64 bit class-dependent counterparts. Class-dependent ELF structures are described in elf(5). GElf Programming Model GElf functions always return a copy of the underlying (class-dependent) ELF data structure. The programming model with GElf is as follows: 1. An application will retrieve data from an ELF descriptor using a gelf_get_*() function. This will copy out data into a private GElf_* data structure. 2. The application will work with its private copy of the GElf structure. 3. Once done, the application copies the new values back to the underlying ELF data structure using the gelf_update_*() functions. 4. The application will then use the elf_flag*() APIs to indicate to the ELF library that an ELF data structure is dirty. When updating an underlying 32 bit ELF data structure, the GElf routines will signal an error if a GElf value is out of range for the under- lying ELF data type. Namespace use The GElf interface uses the following symbols: GElf_* Class-independent data types. gelf_* For functions defined in the API set. GElf Programming APIs This section provides an overview of the GElf programming APIs. Further information is provided in the manual page of each function listed here. Allocating ELF Data Structures gelf_newehdr() Allocate a new ELF Executable Header. gelf_newphdr() Allocate a new ELF Program Header Table. Data Translation gelf_xlatetof() Translate the native representation of an ELF data structure to its file representation. gelf_xlatetom() Translate from the file representation of an ELF data structure to a native representation. Retrieving ELF Data gelf_getdyn() Retrieve an ELF .dynamic table entry. gelf_getehdr() Retrieve an ELF Executable Header from the underlying ELF descriptor. gelf_getphdr() Retrieve an ELF Program Header Table entry from the underlying ELF descriptor. gelf_getrel() Retrieve an ELF relocation entry. gelf_getrela() Retrieve an ELF relocation entry with addend. gelf_getshdr() Retrieve an ELF Section Header Table entry from the underlying ELF descriptor. gelf_getsym() Retrieve an ELF symbol table entry. Queries gelf_checksum() Retrieves the ELF checksum for an ELF descriptor. gelf_fsize() Retrieves the size of the file representation of an ELF type. gelf_getclass() Retrieves the ELF class of an ELF descriptor. Updating ELF Data gelf_update_dyn() Copy back an ELF .dynamic Table entry. gelf_update_phdr() Copy back an ELF Program Header Table entry. gelf_update_rel() Copy back an ELF relocation entry. gelf_update_rela() Copy back an ELF relocation with addend entry. gelf_update_shdr() Copy back an ELF Section Header Table entry. gelf_update_sym() Copy back an ELF symbol table entry. SEE ALSO
elf(3), elf(5) HISTORY
The GELF(3) API first appeared in System V Release 4. This implementation of the API first appeared in FreeBSD 7.0. AUTHORS
The GElf API was implemented by Joseph Koshy <jkoshy@FreeBSD.org>. BSD
September 1, 2006 BSD
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy