ComLinC User Manual. Kefei Lu
|
|
- Laurence Mervin Harrell
- 5 years ago
- Views:
Transcription
1 ComLinC User Manual Kefei Lu December 3, 2007
2 Contents 1 Introduction to ComLinC Licensing Getting Started Prerequists How to Compile Using ComLinC ComLinC Basic 4 3 Modulation and Demodulation 5 4 Digital Signal Processing Filtering Wireless Environment 8 1
3 Abstract ComLinC (a COMmunications Library IN C programming language) is a C library for communications research and simulation. It s based on GSL (GNU scientific library). ComLinC aims at providing general, elegent, yet easy-to-use functionality to the frequently encountered problems in communications area. ComLinc is developed by Kefei Lu at the University of Miami since October Currently, ComLinc is still under development. We encourage you to download a copy of the project from the SVN repository, and tell us how you like it. If you have any suggestion, or you are interested in participating the project, please don t hesitate to let me know. You can drop me an or put a post on the forum.
4 Chapter 1 Introduction to ComLinC ComLinC (a COMmunications Library IN C programming language) is a C library for communications research and simulation. It s based on GSL (GNU scientific library). ComLinC aims at providing general, elegent, yet easy-to-use functionality to the frequently encountered problems in communications area. ComLinc is developed by Kefei Lu at the University of Miami since October Currently, ComLinc is still under development. 1.1 Licensing ComLinC is distributed under the terms of the GNU General Public License (GPL). ComLinC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ComLinC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL- ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA USA 1.2 Getting Started Prerequists To compile ComLinC library and make programs which based on ComLinC run, the following applications/libraries are neccesary: GCC GNU scientific library (GSL) You might notice that to make ComLinC work properly, not much things are needed. As a matter of fact it is. Actually, ComLinC should work on any 1
5 platform that GSL is able to work. And, according to GSL website, it is claimed that at least it is able to work under these platforms: SunOS & Solaris 2.x (Sparc) Alpha GNU/Linux, gcc HP-UX 9/10/11, PA-RISC, gcc/cc IRIX 6.5, gcc m68k NeXTSTEP, gcc Compaq Alpha Tru64 Unix, gcc FreeBSD, OpenBSD & NetBSD, gcc Cygwin Apple Darwin 5.4 Hitachi SR8000 Super Technical Server, cc ComLinC/GSL should also work under Windows systems, even without cygwin. But I didn t try that yet How to Compile ComLinC comes with a Makefile in the project main directory. To compile the project to a shared library under GNU Linux, simply type make command. This will produce a libcomlinc.so file in the project main directory. The output screen looks like: gcc -fpic -c -Wall -ggdb -I. -I.. cl_base.c gcc -fpic -c -Wall -ggdb -I. -I.. cl_modem.c gcc -fpic -c -Wall -ggdb -I. -I.. cl_wireless.c gcc -fpic -c -Wall -ggdb -I. -I.. cl_dsp.c gcc -shared -W1,soname,libcomlinc.so -o libcomlinc.so cl_base.o cl_modem.o cl_wireless.o cl_dsp.o As seen, the library is debuggable using GNU GDB. Currently we don t provide an option to the make utility to produce a static library. But this can be done by modify the makefile manually. The library should work under operating systems other than Linux, such as Unix and Windows, because ComLinC is developed upon GNU scientific library (GSL), which should work on OS s other than Linux. Once the library is successfully compiled, you might want to run some tests or demo programs, which are located in the test directory. To make the test programs, type make test. To clean the project directory, use make clean command. This will remove all the object files and the shared library, as well as the test programs, if any. 2
6 1.2.3 Using ComLinC Include the header files Once an application/program is developped based on ComLinC, it needs some settings to get it run. Firstly, make sure that the proper ComLinC header files are included in the program. Basically, the commonly used headers are grouped in cl common.h, so #include <cl_common.h> should be enough most time. In order to let the compiler find where the ComLinC headers locates, passing -IHeaderDIR to the compiler, where HeaderDIR is the directory containing the ComLinC header files. For example: gcc -c -Wall -ggdb yourfile.c -I. This will compile (-c) yourfile.c, and let the program DGB debuggable (-ggdb), warning everything during the compiling (-Wall), also notifying the compiler that the header files are located in current directory (-I.). Linking with ComLinC and GSL After successfully compiling the code, it needs to be linked with ComLinC and GSL. To link with GSL, two libraries are needed to be specified, libgsl and libgslcblas. Similarly, ComLinC s library is libcomlinc. So, to link with those libraries, pass the following arguments to the linker: -lgsl -lgslcblas -lcomlinc. If any of the above libraries are not installed in system library path, an extra argument is need: -Llibdir, where libdir is the directory where those libraries locate. An Important Step, LD LIBRARY PATH So far, the program that make use of ComLinC should work. One last thing to do is to let the dynamic library loader be able to find the shared libraries at run time. To do this, export the following environment value before running: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:libdir, where libdir is the place the shared library locates. To automate this step, put the above command in the.bashrc file in the home directory. Note that this is not necessary if all the necessary libraries are put in the system library path such as /lib or /usr/lib. An Example An example: Suppose the application is test.c. The ComLinC headers are in /home/me/comlinc/include. libcomlinc.so is in /home/me/comlinc. And the compiler is gcc. Then the following operations will make the program run. > gcc -c -Wall -ggdb test.c -I/home/me/comlinc/include > gcc -o test.out test.o -lgsl -lgslcblas -lcomlinc -L/home/me/comlinc > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/me/comlinc >./test.out 3
7 Chapter 2 ComLinC Basic Basic concepts in ComLinc. The use of gsl things... 4
8 Chapter 3 Modulation and Demodulation 5
9 Chapter 4 Digital Signal Processing 4.1 Filtering ComLinC implemented digital filter in the similar way that of MatLab. Infinite Impulse Response (IIR) Filter Consider an IIR filter such that: or equivalently, N 1 k=0 a k y n k = H(z) = Y (z) X(z) = So the output can be written as: y n = M 1 k=0 M 1 k=0 b k x n k, (4.1) M 1 k=0 b kz k N 1 k=0 a kz N 1 c k x n k k=1 k. (4.2) d k y n k, (4.3) where c k = b k /a 0, d k = a k /a 0, and n = 0, 1,..., L 1, L = length(x). In ComLinC, the IIR filter is implemented according to eq To use the IIR filter, call the function cl_filter_iir(). The function prototype looks like the following: gsl_vector* cl_filter_iir( gsl_vector* b, gsl_vector* a, gsl_vector* x ); b,a are the filter coefficients defined in eq x is the input to the filter. The output of cl_filter_iir is a double vector of the same length as the input vector. 6
10 Finite Impulse Response (FIR) Filter An FIR filter can be implemented using the IIR filter described the above. Since an FIR filter can be expressed as: or equivalently, y n = M 1 k=0 b k x n k, (4.4) H(z) = Y (z) M 1 X(z) = b k z k. (4.5) k=0 So in fact, the FIR filter implementation is: gsl_vector* y = cl_filter_iir(b,&a.vector,x); where a.vector is an all-one vector with length 1, e.g., a 0 = 1, a k = 0, k > 0. 7
11 Chapter 5 Wireless Environment 8
Follow us on Twitter for important news and Compiling Programs
Follow us on Twitter for important news and updates: @ACCREVandy Compiling Programs Outline Compiling process Linking libraries Common compiling op2ons Automa2ng the process Program compilation Programmers
More informationFAQ 1-4M9MLY Banner Supported Compiler Versions
FAQ 1-4M9MLY Banner Supported Compiler Versions This note provides a list of the latest SunGard Higher Education supported versions for Banner Pro*C and Pro*COBOL. If you have a specific version which
More informationAStyle C/C++ Source Code Formatter Plugin
AStyle C/C++ Source Code Formatter Plugin This plugin allows for formatting and pretty-printing of C/C++ source code in an easy and convenient way. It is based on the Artistic Style code formatter utility.
More informationC Compilation Model. Comp-206 : Introduction to Software Systems Lecture 9. Alexandre Denault Computer Science McGill University Fall 2006
C Compilation Model Comp-206 : Introduction to Software Systems Lecture 9 Alexandre Denault Computer Science McGill University Fall 2006 Midterm Date: Thursday, October 19th, 2006 Time: from 16h00 to 17h30
More informationMakefiles SE 2XA3. Term I, 2018/19
Makefiles SE 2XA3 Term I, 2018/19 Outline Example Calling make Syntax How it works Macros Suffix rules Command line options Example Assume we have files main.c, test.c, and lo.asm Consider the makefile
More informationSystems Programming. The Unix/Linux Operating System
Systems Programming The Unix/Linux Operating System 1 What is UNIX? A modern computer operating system Operating system: a program that acts as an intermediary between a user of the computer and the computer
More informationCompiling and Linking
Compiling and Linking ECE2893 Lecture 17 ECE2893 Compiling and Linking Spring 2011 1 / 10 The gcc/g++ Compiler 1 The Gnu C and C++ compiler (gcc and g++ respectively) have been under development for decades,
More informationModule 2: GNU Tools and Compilation Process Introduction to GCC and History The original GNU C Compiler is developed by Richard Stallman in 1984 to create a complete UNIX like operating systems as free
More informationUSING CODEBLOCKS. Implementing Computational Models
USING CODEBLOCKS Implementing Computational Models With C and the the GSL on Linux Dr. José M. Garrido Department of Computer Science Updated September 2014 College of Science and Mathematics Kennesaw
More informationNumber Song Names by Play Order v2.0
Number Song Names by Play Order v2.0 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes. This script will prefix each selected track's Song
More informationThe build2 Toolchain Installation and Upgrade
The build2 Toolchain Installation and Upgrade Copyright 2014-2019 Code Synthesis Ltd Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License This revision
More informationRust on FreeBSD. Luca Pizzamiglio
Rust on FreeBSD Luca Pizzamiglio pizzamig@freebsd.org 2018-11-08 Rust on FreeBSD whoami(1) Luca Pizzamiglio FreeBSD user since 2009 FreeBSD contributor since 2011 FreeBSD port committer since 2017 The
More informationShared Libraries: The Dynamic Linker
Building and Using Shared Libraries on Linux Shared Libraries: The Dynamic Linker Michael Kerrisk, man7.org c 2017 mtk@man7.org November 2017 Outline 3 Operation of the Dynamic Linker 3-1 3.1 Rpath: specifying
More informationReviewing gcc, make, gdb, and Linux Editors 1
Reviewing gcc, make, gdb, and Linux Editors 1 Colin Gordon csgordon@cs.washington.edu University of Washington CSE333 Section 1, 3/31/11 1 Lots of material borrowed from 351/303 slides Colin Gordon (University
More informationInstalling Version 9 of Icon on UNIX Platforms
Installing Version 9 of Icon on UNIX Platforms Gregg M. Townsend, Ralph E. Griswold, and Clinton L. Jeffery Department of Computer Science The University of Arizona Tucson, Arizona IPD243f May 17, 1999
More informationOpen Systems may 26, 2006 Éric Lévénez < UNIX Time-Sharing System Third Edition (V3) february 1973
1969 1970 1971 1972 1973 UNICS september 1969 First Edition (V1) november 3, 1971 Second Edition (V2) june 12, 1972 Third Edition (V3) february 1973 Open Systems may 26, 2006 Éric Lévénez 1998-2006
More information2 Compiling a C program
2 Compiling a C program This chapter describes how to compile C programs using gcc. Programs can be compiled from a single source file or from multiple source files, and may use system libraries and header
More informationGeneric Programming in C
Generic Programming in C Void * This is where the real fun starts There is too much coding everywhere else! 1 Using void * and function pointers to write generic code Using libraries to reuse code without
More informationThe make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them.
What is make? 1 make is a system utility for managing the build process (compilation/linking/etc). There are various versions of make; these notes discuss the GNU make utility included on Linux systems.
More informationChapter 8. The incremental linker
The Almagest 8-1 Chapter 8. The incremental linker Authors: Joseph T. Buck Christopher Hylands The incremental linker permits user written code to be added to the system at runtime. Two different mechanisms
More informationHello, World! in C. Johann Myrkraverk Oskarsson October 23, The Quintessential Example Program 1. I Printing Text 2. II The Main Function 3
Hello, World! in C Johann Myrkraverk Oskarsson October 23, 2018 Contents 1 The Quintessential Example Program 1 I Printing Text 2 II The Main Function 3 III The Header Files 4 IV Compiling and Running
More informationProgramming Tips for CS758/858
Programming Tips for CS758/858 January 28, 2016 1 Introduction The programming assignments for CS758/858 will all be done in C. If you are not very familiar with the C programming language we recommend
More informationContinue: How do I learn C? C Primer Continued (Makefiles, debugging, and more ) Last Time: A Simple(st) C Program 1-hello-world.c!
Continue: How do I learn C? C Primer Continued (Makefiles, debugging, and more ) Hello Word! ~/ctest/ In addition to syntax you need to learn: the Tools the Libraries. And the Documentation. Maria Hybinette,
More informationComputer Science 2500 Computer Organization Rensselaer Polytechnic Institute Spring Topic Notes: C and Unix Overview
Computer Science 2500 Computer Organization Rensselaer Polytechnic Institute Spring 2009 Topic Notes: C and Unix Overview This course is about computer organization, but since most of our programming is
More informationRelease Notes. KeyView Filter SDK. Contents. Version Revision 0
R E L E A S E N O T E S KeyView Filter SDK Version 10.23 Release Notes Revision 0 This document describes new features and resolved issues for KeyView Filter SDK 10.23. You can retrieve the latest available
More informationCS354 gdb Tutorial Written by Chris Feilbach
CS354 gdb Tutorial Written by Chris Feilbach Purpose This tutorial aims to show you the basics of using gdb to debug C programs. gdb is the GNU debugger, and is provided on systems that
More informationOPEN SOURCE SOFTWARE
Introduction to Open Source Software Development Spring semester, 2017 School of Computer Science and Engineering, Pusan National University Joon-Seok Kim OPEN SOURCE SOFTWARE Outline Open source software
More informationUNIX Makefile. C Project Library Distribution and Installation.
UNIX Makefile C Project Library Distribution and Installation. Tarballs Most non-package software is distributed in source code format. The most common format being C project libraries in compressed TAR
More informationIntroduction to Linux
Introduction to Linux EECS 211 Martin Luessi April 14, 2010 Martin Luessi () Introduction to Linux April 14, 2010 1 / 14 Outline 1 Introduction 2 How to Get Started 3 Software Development under Linux 4
More informationfinger-user-enum User Documentation
finger-user-enum User Documentation pentestmonkey@pentestmonkey.net 21 January 2007 Contents 1 Overview 2 2 Installation 2 3 Usage 3 4 Some Examples 3 4.1 Normal Usage............................. 4 4.2
More informationComputer Science 322 Operating Systems Mount Holyoke College Spring Topic Notes: C and Unix Overview
Computer Science 322 Operating Systems Mount Holyoke College Spring 2010 Topic Notes: C and Unix Overview This course is about operating systems, but since most of our upcoming programming is in C on a
More informationThe CS-220 Development Environment
The Development Environment (No relevant sections in text) Picking the right tool for the job 2 Integrated Development Environment 3 Command Line Mentality Old fashioned but surprisingly efficient (except
More informationThe NetBSD Operating. Overview
The NetBSD Operating System Jason R. Thorpe The NetBSD Foundation, Inc. June 17, 1998 6/17/98 Jason R. Thorpe 1 Overview What is NetBSD? NetBSD Project Goals NetBSD Project Organization
More informationLecture 01: welcome and intro what LSD and Unix have in common
Lecture 01: welcome and intro what LSD and Unix have in common Hands-On Unix System Administration DeCal 2012-08-27 1 / 21 The Two of the most famous products of Berkeley are LSD and Unix. I don t think
More information[S9I ] gtmsecshr vulnerability Security Advisory Page 1 of 6
[S9I10-002703] gtmsecshr vulnerability Security Advisory Page 1 of 6 Background The GT.M Group at Fidelity National Information Services (FIS) recently received a report of a GT.M security vulnerability.
More informationOutline. Threads. Single and Multithreaded Processes. Benefits of Threads. Eike Ritter 1. Modified: October 16, 2012
Eike Ritter 1 Modified: October 16, 2012 Lecture 8: Operating Systems with C/C++ School of Computer Science, University of Birmingham, UK 1 Based on material by Matt Smart and Nick Blundell Outline 1 Concurrent
More informationSDPLR 1.03-beta User s Guide (short version)
SDPLR 3-beta User s Guide (short version) August 12, 2009 1 Summary SDPLR is a C software package for solving large-scale semidefinite programming problems. Source code, binaries, and a Matlab interface
More informationBasics of system administration on a Unix system
Basics of system administration on a Unix system Contents Introduction 3 Unix 9 User environment: the shell 10 File management: starting from / 11 Text editing 12 Package management 13 User management
More informationCS 211 Programming I for Engineers
CS 211 Programming I for Engineers Instructor: Tom Bartenstein Course Web Page: http://www.cs.binghamton.edu/~tbartens/cs211_fall_2018/ 1 Catalog Description Introduction to computer programming with engineering
More informationWe first learn one useful option of gcc. Copy the following C source file to your
Lecture 5 p.1 Faculty of Computer Science, Dalhousie University CSCI 2132 Software Development Lab 5: gcc and gdb tools 10-Oct-2018 Location: Teaching Labs Time: Thursday Instructor: Vlado Keselj Lab 5:
More informationsin(a+b) = sinacosb+sinbcosa. (1) sin(2πft+θ) = sin(2πft)cosθ +sinθcos(2πft). (2)
Fourier analysis This week, we will learn to apply the technique of Fourier analysis in a simple situation. Fourier analysis is a topic that could cover the better part of a whole graduate level course,
More informationHow to use MPLABX to program and debug PICsimLab
How to use MPLABX to program and debug PICsimLab Luis Claudio Gambôa Lopes http://sourceforge.net/projects/picsim/ November 2, 2015 Contents 1 Installing the Necessary Tools 2 1.1
More informationSetting up an SDK for Secondo
This file is part of SECONDO. Copyright (C) 2004, University in Hagen, Department of Computer Science, Database Systems for New Applications. SECONDO is free software; you can redistribute it and/or modify
More informationEL2310 Scientific Programming
Lecture 6: Introduction to C (pronobis@kth.se) Overview Overview Lecture 6: Introduction to C Roots of C Getting started with C Closer look at Hello World Programming Environment Schedule Last time (and
More informationInstallation Guide for UNIX
Installation Guide for UNIX IDL Version 5.4 September, 2000 Edition Copyright Research Systems, Inc. All Rights Reserved Restricted Rights Notice The IDL software program and the accompanying procedures,
More informationDynamic & Static Libraries in Linux (New Talk!) Wim Cardoen and Brett Milash CHPC User Services
Dynamic & Static Libraries in Linux (New Talk!) Wim Cardoen and Brett Milash CHPC User Services Overview Warm-up exercise: Install GSL What is a library? Static vs. Dynamic libraries Create static & dynamic
More informationDynext: Running a C Compiler/Linker
Dynext: Running a C Compiler/Linker Version 6.6 July 22, 2016 The "dynext" collection provides libraries for using a platform-specific C compiler and linker. 1 Contents 1 Compilation 3 1.1 Compilation
More informationREADME for X11R7.5. The X.Org Foundation 1. October 2009
The X.Org Foundation 1 October 2009 X11R7.5 is an Open Source version of the X Window System that supports many UNIX and UNIX-like operating systems (such as Linux, FreeBSD, NetBSD, OpenBSD, and Solaris)
More informationArcInfo 9.0 System Requirements
ArcInfo 9.0 System Requirements This PDF contains system requirements information, including hardware requirements, best performance configurations, and limitations, for ArcInfo 9.0. HP HP-UX 11i (11.11)
More informationCOSC 2P91. Introduction Part Deux. Week 1b. Brock University. Brock University (Week 1b) Introduction Part Deux 1 / 14
COSC 2P91 Introduction Part Deux Week 1b Brock University Brock University (Week 1b) Introduction Part Deux 1 / 14 Source Files Like most other compiled languages, we ll be dealing with a few different
More informationSep 12, 2006 Lecture 2: System Programming
Sep 12, 2006 Lecture 2: System Programming September 19, 2007 1 Introduction In this lecture, we will introduce the basics of systems programming using the language of choice C language. We also introduce
More informationCS 107 Lecture 18: GCC and Make
S 107 Lecture 18: G and Make Monday, March 12, 2018 omputer Systems Winter 2018 Stanford University omputer Science Department Lecturers: Gabbi Fisher and hris hute Today's Topics 1. What really happens
More informationPROGRAMMAZIONE I A.A. 2017/2018
PROGRAMMAZIONE I A.A. 2017/2018 STEPS OF GCC STEPS file.c Preprocessor Compiler file1.o file2.o Assembler Linker executable file PREPROCESSOR PREPROCESSOR The C preprocessor is a macro processor that is
More informationJBoss Transactions 4.2.2
JBoss Transactions 4.2.2 Installation Guide JBTS-IG-11/2/06 JBTS-IG-11/2/06 i Legal Notices The information contained in this documentation is subject to change without notice. JBoss Inc. makes no warranty
More informationChapter 2. Basics of Program Writing
Chapter 2. Basics of Program Writing Programs start as a set of instructions written by a human being. Before they can be used by the computer, they must undergo several transformations. In this chapter,
More informationEL2310 Scientific Programming
(yaseminb@kth.se) Overview Overview Roots of C Getting started with C Closer look at Hello World Programming Environment Discussion Basic Datatypes and printf Schedule Introduction to C - main part of
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come
More informationBMS: Build Management System
BMS: Build Management System D. Lawrence Jefferson Lab May 3, 2005 Abstract The BMS Build Management System is a set of GNU Makefiles which simplify and standardize the building of source code distribruted
More informationUsing GNU make C HAPTER 4
CH04.fm Page 101 Monday, October 7, 2002 8:54 PM C HAPTER 4 Using GNU make A ll serious software projects are built in pieces by many developers. These pieces consist of source code and header files, libraries
More informationGCC: the GNU Compiler Collection
GCC: the GNU Compiler Collection We will be primarily concerned with the C compiler, gcc. 1 The program gcc is actually a front-end for a suite of programming tools. For the purposes of CS 2505, the underlying
More informationLink 8.A Dynamic Linking
Link 8.A Dynamic Linking Young W. Lim 2019-01-04 Fri Young W. Lim Link 8.A Dynamic Linking 2019-01-04 Fri 1 / 42 Outline 1 Linking - 8.A Dynamic Linking Based on Dynamic linking with a shared library example
More informationOverview of Unix / Linux operating systems
Overview of Unix / Linux operating systems Mohammad S. Hasan Staffordshire University, UK Overview of Unix / Linux operating systems Slide 1 Lecture Outline History and development of Unix / Linux Early
More informationLab 4: Interrupts and Realtime
Lab 4: Interrupts and Realtime Overview At this point, we have learned the basics of how to write kernel driver module, and we wrote a driver kernel module for the LCD+shift register. Writing kernel driver
More informationC: Program Structure. Department of Computer Science College of Engineering Boise State University. September 11, /13
Department of Computer Science College of Engineering Boise State University September 11, 2017 1/13 Scope Variables and functions are visible from the point they are defined until the end of the source
More informationPractical Programming Methodology
General Course Information Practical Programming Methodology (CMPUT-2) Lecture Michael Buro Introduction to the course Computer architecture Section home page: www.cs.ualberta.ca/ mburo/courses/2 news,
More informationCMPSC 311- Introduction to Systems Programming Module: Build Processing
CMPSC 311- Introduction to Systems Programming Module: Build Processing Professor Patrick McDaniel Fall 2016 UNIX Pipes Pipes are ways of redirecting the output of one command to the input of another Make
More informationDebugging and Debugger. Terminology. GNU gcc and gdb. Debugging C programs in Unix and Windows Environments - Part One
Debugging C programs in Unix and Windows Environments - Part One ICT106 Fundamentals of Computer Systems Eric Li Debugging and Debugger The process of finding bugs in code called Debugging; A must-have
More informationIMPLEMENTING SCL PROGRAMS. Using Codeblocks
IMPLEMENTING SCL PROGRAMS Using Codeblocks With the GSL on Linux Dr. José M. Garrido Department of Computer Science Updated September 2014 College of Science and Mathematics Kennesaw State University c
More informationHow to learn C? CSCI [4 6]730: A C Refresher or Introduction. Diving In: A Simple C Program 1-hello-word.c
How to learn C? CSCI [4 6]730: A C Refresher or Introduction Hello Word! ~/ctutorial/ In addition to syntax you need to learn: the Tools. the Libraries. And the Documentation (how to access) Practice on
More informationCSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209
CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System
More informationScientific Programming in C IX. Debugging
Scientific Programming in C IX. Debugging Susi Lehtola 13 November 2012 Debugging Quite often you spend an hour to write a code, and then two hours debugging why it doesn t work properly. Scientific Programming
More informationCS307 Operating Systems Introduction Fan Wu
CS307 Introduction Fan Wu Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2018 2 UNIX-family: BSD(Berkeley Software Distribution), System-V, GNU/Linux, MINIX, Nachos,
More informationEmbedded Systems Programming
Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes
More informationCompiler (1A) Young Won Lim 6/8/14
Compiler (1A) Copyright (c) 2010-2013 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later
More informationECM583 Special Topics in Computer Systems
ECM583 Special Topics in Computer Systems Lab 2. ARM Cross-Compilation using Eclipse In this lab, we are going to set up an environment to cross-compile ARM code (C and/or Assembly code) under Eclipse.
More informationUsing the Go Programming Language in Practice
Using the Go Programming Language in Practice Erik Westrup & Fredrik Pettersson Department of Computer Science, Lund University Axis Communications, Sweden May 28, 2014 Supervisors: Jonas Skeppstedt
More informationInstallation Guide. Version 8.1 January 2016 TOOLBOX. CryoSoft. Quick guide to the installation and maintenance of the CryoSoft codes
Installation Guide Version 8.1 January 2016 TOOLBOX CryoSoft Quick guide to the installation and maintenance of the CryoSoft codes 2 Overview CryoSoft has produced an integrated suite of codes for the
More informationDebugging. ICS312 Machine-Level and Systems Programming. Henri Casanova
Debugging ICS312 Machine-Level and Systems Programming Henri Casanova (henric@hawaii.edu) Debugging Even when written in high-level languages, programs have bugs Recall the thought that when moving away
More informationCS631 - Advanced Programming in the UNIX Environment. UNIX development tools
CS631 - Advanced Programming in the UNIX Environment Slide 1 CS631 - Advanced Programming in the UNIX Environment UNIX development tools Department of Computer Science Stevens Institute of Technology Jan
More informationCS 261 Recitation 1 Compiling C on UNIX
Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Compiling C on UNIX Winter 2017 Outline Secure Shell Basic UNIX commands Editing text The GNU Compiler
More informationArcInfo System Requirements
ArcInfo 8.0.1 System Requirements This PDF contains system requirements information, including hardware requirements, best performance configurations, and limitations, for ArcInfo 8.0.1. Compaq/Digital
More informationIntroduction of Linux. Huang Cheng-Chao Dept. of Comput. Sci. & Tech. East China Normal University
Introduction of Linux Huang Cheng-Chao Dept. of Comput. Sci. & Tech. East China Normal University Outline PART I Brief Introduction Basic Conceptions & Environment Basic Commands Shell Script PART II Text
More informationCS480. Compilers Eclipse, SVN, Makefile examples
CS480 Compilers Eclipse, SVN, Makefile examples January 26, 2015 New Project New Project C/C++ Project Create a New C Project Choose Makefile Project EmptyProject Toolchain: Linux GCC Next Advanced C/C++
More informationThe makeutility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them.
What is make? 1 make is a system utility for managing the build process (compilation/linking/etc). There are various versions of make; these notes discuss the GNU makeutility included on Linux systems.
More informationExercise 1: Basic Tools
Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit
More informationHow to use PDFlib products with PHP
How to use PDFlib products with PHP Last change: July 20, 2017 Latest PDFlib version covered in this document: 9.1.1 Latest version of this document available at: www.pdflib.com/developer/technical-documentation
More informationBasic C Programming. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island
Basic C Programming Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Announcements Exam 1 (20%): Feb. 27 (Tuesday) Tentative Proposal Deadline:
More informationindependent compilation and Make
independent compilation and Make Geoffrey Brown David S. Wise Chris Haynes Bryce Himebaugh Computer Structures Fall 2013 Independent Compilation As a matter of style, source code files should rarely be
More informationCMPSC 311- Introduction to Systems Programming Module: Build Processing
CMPSC 311- Introduction to Systems Programming Module: Build Processing Professor Patrick McDaniel Fall 2014 UNIX Pipes Pipes are ways of redirecting the output of one command to the input of another Make
More informationB Y P A S S R D E G R Version 1.0.2
B Y P A S S R D E G R Version 1.0.2 March, 2008 Contents Overview.................................. 2 Installation notes.............................. 2 Quick Start................................. 3 Examples
More information8 Novembre How to install
Utilizzo del toolkit di simulazione Geant4 Laboratori Nazionali del Gran Sasso 8 Novembre 2010 2010 How to install Outline Supported platforms & compilers External software packages and tools Working area
More informationSection 1: Tools. Kaifei Chen, Luca Zuccarini. January 23, Make Motivation How... 2
Kaifei Chen, Luca Zuccarini January 23, 2015 Contents 1 Make 2 1.1 Motivation............................................ 2 1.2 How................................................ 2 2 Git 2 2.1 Learn by
More informationLicensed Program Specifications
Licensed Program Specifications Tivoli Storage Manager, S/390 Edition Version 4 Release 2 Program Number 5697-TS9 Tivoli 1 Storage Manager, S/390 2 Edition, is an advanced storage management solution now
More informationCSE 303, Winter 2006, Final Examination 16 March Please do not turn the page until everyone is ready.
CSE 303, Winter 2006, Final Examination 16 March 2006 Please do not turn the page until everyone is ready. Rules: The exam is closed-book, closed-note, except for one side of one 8.5x11in piece of paper.
More informationVeritas NetBackup Enterprise Server and Server 6.x OS Software Compatibility List
Veritas NetBackup Enterprise Server and Server 6.x OS Software Compatibility List Created on July 21, 2010 Copyright 2010 Symantec Corporation. All rights reserved. Symantec, the Symantec Logo, and Backup
More informationSOFTWARE ARCHITECTURE
1 SOFTWARE ARCHITECTURE Tatsuya Hagino hagino@sfc.keio.ac.jp Slide URL https://vu5.sfc.keio.ac.jp/slide/ 2 Lecture Slide System Please access to: https://vu5.sfc.keio.ac.jp/slide/ Select: Software Architecture
More informationGCC: the GNU Compiler Collection
GCC: the GNU Compiler Collection We will be primarily concerned with the C compiler, gcc. 1 The program gcc is actually a front-end for a suite of programming tools. For the purposes of CS 2505, the underlying
More informationMake: a build automation tool
Make: a build automation tool What is the problem? The lab examples repository for the CS 253 course has 228 files in 54 folders. To build them all would requires us to navigate to 54 folders and compile
More informationRelease Bulletin Open Server 15.5 for Sun Solaris
Release Bulletin Open Server 15.5 for Sun Solaris Document ID: DC75902-01-1550-02 Last revised: July 26, 2011 Topic Page 1. Electronic Bug Fix (EBF) downloads for security fixes 2 2. Accessing current
More informationPCICC32 Linux Driver Quick Installation and Usage Guide
PCICC32 Linux Driver Quick Installation and Usage Guide ARW Elektronik, Germany and Klaus Hitschler (klaus.hitschler@gmx.de) document history 1st version of this document 16.04.2002 PCICC32 Linux Driver
More information