Skip to content

Commit

Permalink
fixes Dockerfile and hello.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
anthongretter committed Oct 3, 2024
1 parent 39c5dbe commit 06695d1
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 120 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM fedora:40
ENV APP=hello

RUN yum -y update && \
yum -y install make qemu binutils binutils-x86_64-linux-gnu nano dev86 && \
yum -y install make g++ gcc gdb qemu binutils binutils-x86_64-linux-gnu cross-gcc-common \
gcc-c++-x86_64-linux-gnu nano dev86 && \
yum clean all

WORKDIR /app
Expand Down
3 changes: 1 addition & 2 deletions app/hello/hello.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ OStream cout;

int main()
{
int tasks[3];

cout << "Hello\n" << endl;

return 0;
}
4 changes: 2 additions & 2 deletions app/hello/hello_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ template<> struct Traits<Debug>: public Traits<Build>
{
static const bool error = true;
static const bool warning = true;
static const bool info = true;
static const bool trace = true;
static const bool info = false;
static const bool trace = false;
};

template<> struct Traits<Lists>: public Traits<Build>
Expand Down
32 changes: 0 additions & 32 deletions etc/epos.cfg

This file was deleted.

36 changes: 0 additions & 36 deletions etc/eposcc.cfg

This file was deleted.

22 changes: 11 additions & 11 deletions include/system/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
// ARCHITECTURE, MACHINE, AND APPLICATION SELECTION
// This section is generated automatically from makedefs by $EPOS/etc/makefile
//============================================================================
#define SMOD library
#define ARCH ia32
#define MACH pc
#define MMOD legacy_pc
#define NETW standalone
#define APPL hello
#define __library__
#define __ia32__
#define __pc__
#define __legacy_pc__
#define __standalone__
#define SMOD xxx
#define ARCH xxx
#define MACH xxx
#define MMOD xxx
#define NETW xxx
#define APPL xxx
#define __mode_xxx__
#define __arch_xxx__
#define __mach_xxx__
#define __mmod_xxx__
#define __netw_xxx__

//============================================================================
// NAMESPACES AND DEFINITIONS
Expand Down
36 changes: 0 additions & 36 deletions tools/eposcc/eposcc.cfg

This file was deleted.

Binary file removed tools/eposcfg/eposcfg
Binary file not shown.
Binary file removed tools/eposcfg/eposcfg.o
Binary file not shown.
Binary file removed tools/eposmkbi/eposmkbi
Binary file not shown.
Binary file removed tools/eposmkbi/eposmkbi.o
Binary file not shown.

0 comments on commit 06695d1

Please sign in to comment.