Compilers, Make and SubVersion

Slides:



Advertisements
Similar presentations
TortoiseSVN By Group 1 Team B. Installing TortoiseSVN.
Advertisements

Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
Tetherless World Constellation Conference Calls LDAP Subversion Trac.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
2/6/2008Prof. Hilfinger CS164 Lecture 71 Version Control Lecture 7.
1 ENERGY 211 / CME 211 Lecture 2 September 24, 2008.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
1 CS 161 Introduction to Programming and Problem Solving Chapter 10 g++ Compiler Usage Herbert G. Mayer, PSU Status 10/21/2014.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
NEEDS Berkeley Workshop 2014 NEEDS Compact Model Development Process Michael McLennan Director, HUBzero® Platform for Scientific Collaboration Purdue University.
Subversion Code Deployment LifeCycle August 2011.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
CSC 215 : Procedural Programming with C C Compilers.
Warmup A programmer’s wife tells him, “Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.” The programmer.
Object-Oriented Software Engineering Using UNIX groups and Subversion Estimated Time: minutes “Unix is user-friendly. It's just very selective about.
Object-Oriented Software Engineering Using UNIX groups and CVS Estimated Time: minutes.
Subversion (SVN) Tutorial Source:
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
Open ModelSphere, a free CASE tool Page 1 © neosapiens 2010 Get Source Code from SVN Repository This tutorial explains how to get source code from a SVN.
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill.
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
Version Control with SVN Images from TortoiseSVN documentation
CVS – concurrent versions system AROC Guatemala July 19-23, 2010 Guatemala City, Guatemala.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
CPSC 871 John D. McGregor Change management Module 2 Session 3.
Copyright © Curt Hill Tortoise SVN A Subversion Client.
L.T.E :: Learning Through Experimenting Using google-svn for MtM Docs Development Denis Thibault Version 3.2 Mar 12 th, 2009.
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
Version Control System
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
Cygwin Tutorial 1. What is Cygwin? Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Using Subversion for Source Code Control Michael McLennan HUBzero® Platform for Scientific Collaboration Purdue University This work licensed under Creative.
Importing a github repository Dong Nie. Example used: JavaTeaching If you have already loaded JavaTeahcing from zip file, you should delete it before.
Problem Solving With C++ SVN ( Version Control ) April 2016.
CS491A Software Design Lab Version Control with CVS and Subversion Chengyu Sun California State University, Los Angeles.
Version Control Systems
Source Code Control For CSE 3902 By: Matt Boggus.
Cygwin Tutorial 1.
Subversion Subversion is a brand of version control software that is frequently used to store the code and documentation of a project so as to permit.
CSC 215 : Procedural Programming with C
PowerShell Introduction Copyright © 2016 – Curt Hill.
Computer Terms Review from what language did C++ originate?
An Eclipse Plugin for Creating Windows Graphical User Interfaces
SVN intro (review).
Documentation Generators
Tortoise SubVersion Client Again
CSE 303 Concepts and Tools for Software Development
A Guide to Unix Using Linux Fourth Edition
Subversion.
Version Control Systems
slides borrowed and adapted from Alex Mariakis and CSE 390a
Shell Commands Using BASH Copyright © 2017 Curt Hill.
Subclipse CSCI 3130 Summer 2016.
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Cmdlets “Command-lets”
Cygwin.
Cygwin Tutorial 1.
Prof. Hilfinger CS164 Lecture 4
Cygwin Tutorial 1.
An Eclipse Plugin for Creating Windows Graphical User Interfaces
Review of Previous Lesson
VERSION CONTROL SVN (SubVersioN)
Presentation transcript:

Compilers, Make and SubVersion UNIX/LINUX Tool Chain Compilers, Make and SubVersion Copyright © 2017 – Curt Hill

Introduction As Software Engineers we need several things Competency in the OS commands Ability to create and manipulate text files Compilers Make Version control This presentation is about the last three of these Copyright © 2017 – Curt Hill

Execution A command that is typed must be on the path The installation of most commands puts the executable on the path The output of a compiler is not usually on the path So to test X we must specify ./X This directs to the current directory Copyright © 2017 – Curt Hill

Compilers There are two standard GNU compilers gcc is the C compiler g++ is the C++ compiler The default behavior is to create an executable called a.out This will be executed with ./a.out See next page Copyright © 2017 – Curt Hill

Copyright © 2017 – Curt Hill

Compile Options -c – compile only -o file – output file name Many others as well Most of these we will not need Copyright © 2017 – Curt Hill

Make Make was invented on a UNIX system We used GNU make on Windows Not too much new here The windows make needed more path information since a Windows program may execute things not on the path Copyright © 2017 – Curt Hill

SubVersion Commands Our approach previously used a Windows File Explorer plugin None of that anymore Now we have to use the console SubVersion commands There is only one command: svn It is the options that make it do different things Copyright © 2017 – Curt Hill

SVN Options svn checkout url svn update url svn add url svn delete url Checkout can be abbreviated co svn update url Update can be abbreviated up svn add url Announces the SubVersion a new file to be added Must be followed by a commit svn delete url Also requires a delete svn commit url Commit abbreviation ci Copyright © 2017 – Curt Hill

SVN URL In the previous screen the URLs refers to the repository This may be either: svn://… http://... https://... For example either of these: svn checkout https://svn.code.sf.net/p/cppunit/code/trunk cppunit-code svn checkout svn://svn.code.sf.net/p/cppunit/code/trunk cppunit-code Copyright © 2017 – Curt Hill

Finally We should now be ready for a project on UNIX Then we will be real software engineers Copyright © 2017 – Curt Hill