Skip to content

Commit

Permalink
Linux/Classpath build fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Rogers committed Apr 16, 2009
1 parent b0dc85e commit 5cc237a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
1 change: 1 addition & 0 deletions build/targets/ia32-linux.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ target.dll-ext=.so
target.dll-prefix=lib
target.jni-suffix=${target.dll-ext}
target.debug-suffix=${target.dll-ext}
target.exe-ext=
target.arch.sse2=full
target.arch.hw_fsqrt=true
1 change: 1 addition & 0 deletions build/targets/x86_64-linux.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ target.obj-ext=.o
target.obj-prefix=
target.jni-suffix=${target.dll-ext}
target.debug-suffix=${target.dll-ext}
target.exe-ext=
target.arch.sse2=full
target.arch.hw_fsqrt=true
5 changes: 5 additions & 0 deletions tools/bootloader/jvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

#include "sys.h"

#ifndef RVM_FOR_HARMONY
#include <sys/mman.h>
#include <errno.h>
#endif

/** String used for name of RVM */
char *Me;

Expand Down
6 changes: 6 additions & 0 deletions tools/bootloader/jvm.def
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ EXPORTS
Me DATA
bootRecord DATA
verbose DATA
bootCodeFilename DATA
bootDataFilename DATA
bootRMapFilename DATA
initialHeapSize DATA
maximumHeapSize DATA
verboseBoot DATA
sysJavaVM DATA
findMappable
parse_memory_size
Expand Down
6 changes: 6 additions & 0 deletions tools/bootloader/libjvm.exp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ JVM_0.1 {
Me;
bootRecord;
verbose;
bootCodeFilename;
bootDataFilename;
bootRMapFilename;
initialHeapSize;
maximumHeapSize;
verboseBoot;
sysJavaVM;
findMappable;
parse_memory_size;
Expand Down
4 changes: 0 additions & 4 deletions tools/bootloader/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
#include <stdlib.h>
#include <string.h> /* strcmp, ... */

#ifndef RVM_FOR_HARMONY
#include <sys/mman.h>
#endif

#define BYTES_IN_PAGE MMTk_Constants_BYTES_IN_PAGE

/* These definitions must remain in sync with nonStandardArgs, the array
Expand Down

0 comments on commit 5cc237a

Please sign in to comment.