联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2019-09-07 10:57

02/09/2019 Startup Files for Workshops and Assignments: Computer Systems (2000_7081 Combined)

https://myuni.adelaide.edu.au/courses/44936/pages/startup-files-for-workshops-and-assignments 1/2

Startup Files for Workshops and

Assignments

Precompiled Startup Files

The startup files for Workshop 05, Workshop 07, Workshop 10, Workshop 11, Assignment 1, Assignment

2 and Assignments 3 all rely on the use of one or more precompiled programs and libraries. In order to

successfully complete these workshops and assignments, you will need to use a system that can run the

precompiled programs and compile new programs using the libraries.

Very Important

When you submit your work for assessment, it will be compiled and run by our Web Submission

System's servers. These servers are running the same Linux image as in the CAT suites and also on our

server, uss.cs.adelaide.edu.au. Therefore, you must check that your work compiles and runs as

expected on a CAT suite system before submitting it. Provided that you have not modified any files that

you were told not to, your work should behave as expected.

G++ Version 4.8.5 on Linux

The startup files have been compiled using g++ 4.8.5 for use with the CAT Suite Linux image, the Web

Submission system, the Docker image csadelaide/cscli and other Linux systems such as Ubuntu . Your

Linux system must also be a 64-bit version or the startup files will not work.

RedHat / CentOS

On your own RedHat / CentOS Linux system, the CAT suite systems run RedHat, you can install the

correct version of the C++ compiler using:

% yum install gcc-c++

This will be placed in /usr/bin/g++.

Ubuntu

On your own Ubuntu Linux system you can install the correct version of the C++ compiler by running

% apt-get install g++-4.8

This will name the required compiler /usr/bin/g++-4.8 rather than /usr/bin/g++ but the Makefile will look

for this automatically.

Finding the C++ compiler

If there is a problem finding the right C++ compiler you can explicity set the environment variable CXX

使⽤以下语⾔查看此⽹⻚: 中⽂(简体) 翻译 选项 ▼

02/09/2019 Startup Files for Workshops and Assignments: Computer Systems (2000_7081 Combined)

https://myuni.adelaide.edu.au/courses/44936/pages/startup-files-for-workshops-and-assignments 2/2

If there is a problem finding the right C++ compiler you can explicity set the environment variable, CXX,

to the pathname for your 4.8.5 compiler. This is how you can do this in bash:

% export CXX=/usr/bin/g++-4.8

Mac OS X

If you are using a Mac the startup files will also work, they have also been compiled using Mac OS

(10.13). The startup files maintain separate sub-directories in the lib sub-directory to keep the Linux and

MacOS code separate. The Makefile and test scripts will automatically use the correct version so you

can checkout your work on a Mac and in a CAT suite and things should behave as expected. If you do

this, always remember that when you sit down to work you must run:

svn update

and when you stop working, for any reason, you must run:

svn commit -m " .. message describing what you changed .. "

That way you will always have a current version of your work on the svn server and will never have to

worry about your working copy and the svn server copy being different.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp