GithubHelp home page GithubHelp logo

Code for the test cases about sdb HOT 5 CLOSED

briansp8210 avatar briansp8210 commented on September 26, 2024
Code for the test cases

from sdb.

Comments (5)

briansp8210 avatar briansp8210 commented on September 26, 2024

Hi, those test files are provided by the course, I don't have the source code.
I try to write and build a simple helloworld and it works as expected.

// gcc hello.c -o hello
#include <stdio.h>

int main(void) {
  printf("Hello, world!\n");
  return 0;
}

Could you provide more details of your environment?

from sdb.

RENEEGAILP avatar RENEEGAILP commented on September 26, 2024

sdbtest

I have attached the steps that I have used. hello is the program that I compiled and hello64 is provided in tests.
I have used the code provided in the previous comment

I am running this code on a Ubuntu machine in a VirtualBox environment. Let me know if you need any additional details

from sdb.

briansp8210 avatar briansp8210 commented on September 26, 2024

What is your Ubuntu release?
Also the kernel and gcc version might be helpful.
Thanks.

from sdb.

RENEEGAILP avatar RENEEGAILP commented on September 26, 2024

My Ubuntu release is 20.04
GCC version is 9.3.0
Kernel version is 5.8.0-63-generic

I am going to try this on Ubuntu 18.04 as mentioned in the usage guide since I think it works on that release of Ubuntu. I'll post an update once I try that.

from sdb.

RENEEGAILP avatar RENEEGAILP commented on September 26, 2024

I reproduced the same case on Ubuntu 18.04 and it works as expected. I am not sure why there is an issue with 20.04 release. Thanks for the help!

from sdb.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.