1 / 31

Lecture X. Brain Pathways: Movement

Lecture X. Brain Pathways: Movement. Bio 3411 Monday October 4, 2010. Readings (background only). Neuroscience 4 th ed Page(s) Feature 423-451 Upper motor control of Brain Stem and Spinal Cord The Brain Atlas 3 rd ed Page(s) Feature 198-199 Vestibular Pathways

ciel
Télécharger la présentation

Lecture X. Brain Pathways: Movement

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. tircms02-p les 5 • Installatie procedure Debian Linux

  2. Installeren virtual PC • microsoft urllink http://www.microsoft.com/downloads/thankyou.aspx?familyId=6D58729D-DFA8-40BF-AFAF-20BCB7F01CD1&displayLang=en • extract • setup • finish

  3. Installeren virtual pc • In program menu start virtual pc • create a virtual machine • browse , kies een directory debian op C-schijf of usb-stick • other • using recommanded ram • a new virtual hard disk • zelfde naam als virtual machine • finish

  4. Ophalen Debian CD • laad debian CD ( iso-formaat) .Hier kun je een CD-Rom van maken , maar hoeft niet • url-link • http://www.debian.org/CD/ • of op http://med.hro.nl/padta/lessen/cms02/praktikum • onder de naam debian-31r4-i386-netinst.iso

  5. Uitvoeren virtual pc (installatie Debian) 1 • start • CD • capture ISO image • open de file die je ingelezen hebt van debian <enter> • debian-31r4-i386-netinst.iso • <enter> ( start debian) • Nederlands • Nederland • Amerikaans • Handmatige netwerk instellingen • lees de ip adressen met ipconfig • computernaam debian • domeinnaam hro.nl • Volledige schijf wissen : IDE1 master (hda) • Alles in 1 partitie • Schijfindeling afsluiten • Ja (wegschrijven)

  6. Uitvoeren virtual pc (installatie Debian) 2 • Grub opstartlader op een harde schijf installeren installeren <Ja> • De installatie afronden <volgende> • <ok> • <ja> • <ja> • Password root • test • test • Geen andere gebruiker (annuleren) • Apt instellen • <ftp> • <nederland> • ftp.debian.nl • Te installeren pakketten uitkiezen en installeren • Kies desktopomgeving • Basissysteem- configuratie afsluiten

  7. Uivoeren Virtual pc • Hierna kunt u inloggen • Onder root met password test • Om terug te keren in basis menu type”base-config” • Om de machine af sluiten geef commando: • Shutdown –h now • Hierna kunt u de virtuele machine uitzetten

  8. Verdere aanwijzingen • Nadat alles geinstalleerd is heeft u een werkende linux computer. Hiermee kunt u de C-opgaven maken die in de volgende weken uitgevoerd worden. • Informatie over linux is te vinden in de manual • http://med.hro.nl/padta/lessen/cms02/praktikum/unix.pdf • Hier staan welke commando’s bij linux gebruikt worden. Voor ons doel zijn de commando’s remove , ls cp, mkdir van belang. Hiermee kun je in console mode bestanden manipuleren. In de grafische mode zijn die commando’s niet nodig.

  9. Installeren virtual pc met bestaande virtuele disk • In program menu start virtual pc • Kies new • Add an existing virtual machine • browse , kies de directory debian op C-schijf of usb-stick die de files al bevatten • finish

  10. Compiler opties 1 • De GCC compiler is in staat om het preprocessen, compileren, en linken uit te voeren. • De linker is een extern programma dat door de compiler zonodig aangeroepen wordt. • In veel gevallen wordt eerst de source-code gecompileerd, • nadat alle object files zijn gemaakt wordt de linker aangesproken. • Dit houdt in dat de GCC compiler tijdens het uitvoeren, niet de linker aan moet spreken. • Dit is een optie, diemee te geven is aan de compiler. • Aan de compiler kunnen vele andere opties worden meegegeven. • De meest gebruikte opties zijn -L, -I, -c -o -W -O.

  11. Compiler opties 2 • GCC maakt onderscheid in de volgende opties: • Algemene opties • Hoofdzakelijk output opties • C Language Options – • C Dialect varianten (ANSI/traditional) • C++ Language Options • Warning Options - De mate van oplettendheid van de compiler. • Debugging Options - Debug opties, gradaties in debug informatie. • Optimization Options - Mate van optimalizatie.

  12. Compileren • Dit hoofdstuk beschrijft het principe van compileren, de pre-processor en de linker. • Hieronder is een voorbeeldprogrammaatje HELLO WORLD • #include <stdio.h> • int main() • { • printf (” hello world\n”); • return 0; • }

  13. Compileren 1 • Start onder linux een console • Start een editor op onder linux. Dit kan met het programma editor • kopieer het hello world programma in een bestand en noem dit ’hello.c’ • compileer ’hello.c’ dmv: gcc hello.c • run de executable: ./a.out

  14. Compileren 2 • De compile opdracht gcc hello.c heeft de C code gecompileerd en gelinkt met enkele • standaard bibliotheken. Deze zijn oa. nodig omdat de functie aanroep print f (::) • een functie uit de standaard C library (libc) is. De output van de compiler is a.out. • Dit is de standaard output.

  15. Opgaven • Installeren linux • Doorlezen system calls les 6

More Related