Commit Graph

65 Commits

Author SHA1 Message Date
Joel Dice
21d1a6c883 add __attribute__ ((used)) to EXPORT macro definition
This ensures that exported functions are not stripped when using the
-dead_strip option to the Apple linker.
2011-09-22 16:57:44 -06:00
Joel Dice
70c65c7053 update bootimage instructions in readme.txt 2011-09-20 20:03:16 -06:00
Joel Dice
561eb72726 fix typo in readme.txt 2011-08-12 14:17:31 -06:00
Joel Dice
a2dca0dc62 fix Cygwin 1.7.x build
Recent versions of Cygwin's GCC no longer support the -mno-cygwin flag
(compilation works, but linking fails).  However, Cygwin now includes
mingw64-i686-gcc, mingw64-x86_64-gcc, and related packages, so we use
those compilers instead.  This has the added benefit that we can build
native x86_64 binaries on Cygwin now.

This will break the build for old Cygwin installs, so it will be
necessary to upgrade Cygwin and install the aforementioned packages to
build Avian going forward.
2011-07-12 22:58:51 +00:00
Joel Dice
cada2c6acc add reference to avian-swt-examples.git in readme.txt 2011-04-10 17:04:58 -06:00
Joel Dice
4d1711cd04 add OpenJDK build examples to readme.txt 2011-04-10 15:57:03 -06:00
Joel Dice
16b936a600 mention Linux/PowerPC support in readme.txt 2011-03-01 15:32:14 -07:00
Joel Dice
5586f8133c update readme.txt to reflect new test classpath 2011-02-02 08:31:52 -07:00
Joel Dice
d4c39e07a2 update readme.txt to reflect that 64-bit Windows does not use an underscore prefix for symbols 2011-02-01 08:48:30 -07:00
Joel Dice
220f7760b7 fix MSVC build regressions 2011-01-21 16:14:21 -07:00
Joel Dice
2dcc1d525a add note about slower floating point code for 32-bit x86 bootimage build 2011-01-20 08:50:53 -07:00
Joel Dice
9c36105b8f fix misleading pathnames in bootimage build instructions 2011-01-19 16:00:18 -07:00
Joel Dice
74d2afd707 use "no-underscore" naming convention for 64-bit Windows
GCC 4.5.1 and later use a naming convention where functions are not
prefixed with an underscore, whereas previous versions added the
underscore.  This change was made to ensure compatibility with
Microsoft's compiler.  Since GCC 4.5.0 has a serious code generation
bug, we now only support later versions, so it makes sense to assume
the newer convention.
2010-12-20 12:11:29 -07:00
Joel Dice
d408040b2c add trademark notice to readme.txt and specify Proguard 4.6 in example 2010-12-05 20:39:17 -07:00
Joel Dice
d19cab9ac9 update readme.txt to cover OpenJDK and ARM support 2010-12-05 17:38:10 -07:00
Joel Dice
02bdec6f8c fix Cygwin/MSYS openjdk-src builds 2010-11-15 16:27:00 -07:00
Joel Dice
cabad6926f enable standalone OpenJDK builds
As described in readme.txt, a standalone OpenJDK build embeds all
libraries, classes, and other files needed at runtime in the resulting
binary, eliminating dependencies on external resources.
2010-11-04 11:02:09 -06:00
Joel Dice
ec6080fea6 update readme.txt to point to new classpath.jar path 2010-10-24 11:45:41 -06:00
Joel Dice
c1c9d2111b remove GNU Classpath and Apache Harmony compatibility code
Rather than try to support mixing Avian's core classes with those of
an external class library -- which necessitates adding a lot of stub
methods which throw UnsupportedOperationExceptions, among other
comprimises -- we're looking to support such external class libraries
in their unmodified forms.  The latter strategy has already proven
successful with OpenJDK's class library.  Thus, this commit removes
the stub methods, etc., which not only cleans up the code but avoids
misleading application developers as to what classes and methods
Avian's built-in class library supports.
2010-09-27 15:58:02 -06:00
Joel Dice
20990950bb build everything (including classes) in options-specific directory
Previously, we only built platform specific code in an
options-specific directory (e.g. build/linux-x86_64-debug), but built
the Java classes in the shared, top-level build directory.  This
minimized duplication when building with different sets of options,
but now that we're supporting the option of selecting a third-party
class library, we need to put the classes in the options-specific
directory as well.
2010-09-17 16:03:37 -06:00
Joel Dice
bcf7c0639c clarify GNU Classpath build instructions in readme.txt 2010-08-16 09:37:44 -06:00
Joel Dice
bdeb61fc99 fix grammar in readme.txt 2010-01-15 08:25:06 -07:00
Joel Dice
30db38ebd6 replace calls to ExceptionOccurred with calls to ExceptionCheck
The latter is cheaper (avoids a state transition and possible memory
allocation) when we just want to know if an exception is thrown
without needing a handle to that exception.
2009-12-16 19:25:03 -07:00
Joel Dice
2fa9dc9123 grammar tweak in readme.txt 2009-12-06 13:35:00 -07:00
Joel Dice
8c3e779d4c add instructions for building with GNU Classpath 2009-12-05 20:05:54 -07:00
Joel Dice
8cf67a76ad add note to bootimage flag documentation in readme.txt 2009-12-03 10:47:08 -07:00
Joel Dice
a4e3987166 add "building with MSVC" section to readme.txt 2009-12-02 18:37:22 -07:00
Joel Dice
d56713dc13 refer to ProGuard 4.4 instead of 4.3 in readme.txt 2009-11-03 15:10:30 -07:00
Joel Dice
3d5a5c5c3d replace Win32 with Windows in readme.txt 2009-10-27 09:26:19 -06:00
Joel Dice
b1835982ab update readme.txt to reflect 64-bit Windows support 2009-10-27 09:22:02 -06:00
Joel Dice
7b0378c180 support darwin/x86_64 2009-10-14 10:01:37 -06:00
Joel Dice
0f4fc07048 whitespace tweaks in readme.txt 2009-10-13 19:08:45 -06:00
Joel Dice
ef4a8430ad add binaryToObject utility
We use this utility instead of objcopy to embed data into object files
because it offers more control over e.g. section alignment, which is
important for bootimage builds.
2009-10-13 19:00:16 -06:00
Joel Dice
dc10bcacf8 update heapdump doc to refer to new Machine.dumpHeap method 2009-09-15 07:59:24 -06:00
Joel Dice
70bd2d908f update readme.txt to reflect new bootimage-generator parameter 2009-06-01 12:51:20 -06:00
Joel Dice
0debcf0f16 document "tails" and "continuations" options in readme.txt 2009-05-31 18:31:15 -06:00
Joel Dice
296512de70 fix misleading statement in readme.txt 2009-04-14 09:02:13 -06:00
Joel Dice
fc6c11fadb fix cut-and-paste artifacts in readme.txt 2009-03-15 17:34:48 -06:00
Joel Dice
482055b7d4 refine estimate of bootimage overhead in readme.txt 2009-03-15 17:29:45 -06:00
Joel Dice
6fef9f2464 whitespace tweaks in readme.txt 2009-03-15 16:19:48 -06:00
Joel Dice
90cbfc12cb update readme.txt to document powerpc support and bootimage builds 2009-03-15 13:49:13 -06:00
Joel Dice
21df2e9153 update readme.txt to indicate new binaryToMacho arguments 2008-12-18 20:01:18 -07:00
Joel Dice
1a39012002 support building on Cygwin 2008-10-11 14:46:20 -06:00
Joel Dice
a6f1b92b63 additional readme.txt embedding example clarification 2008-10-10 18:08:01 -06:00
Joel Dice
7a1522e94e readme.txt clarifications for building on Windows 2008-10-10 17:53:51 -06:00
Joel Dice
5c04c19e29 look for %s@%d format symbols when resolving native methods on Windows, which obviates the need for -k flag to dlltool 2008-10-10 17:37:36 -06:00
Joel Dice
88828e7a02 update readme.txt windows build instructions 2008-10-10 11:47:31 -06:00
Frank Jacobs
68513521ef support building on Windows using MinGW
Here is a patch for getting Avian to build in Windows. I used MinGW
and MSYS for the build environment. The patch has the following
changes:

1. java-nio.cpp: Had to add an include and remove a function
declaration that was reported as duplicate.
2. readme.txt: Updated the instructions to include notes about
building on Windows.
3. makefile: Added a conditional for MinGW. I left the existing "ifeq
($(platform),windows)" conditional alone so as to not break
cross-compiled Windows builds. There are some similarities between the
two, so it might be possible to combine portions of them in an elegant
manner. Since I'm not sure how the cross-compiled builds have been
done, I didn't want to mess with that portion of the makefile.
2008-10-10 08:06:31 -06:00
Eric Scharff
360ab7d9f9 Fix typo in mac build instructions 2008-07-15 15:31:01 -06:00
Joel Dice
920034e231 use JavaVMInitArgs instead of JDK1_1InitArgs in JNI_CreateJavaVM; support -Xbootclasspath option 2008-07-14 11:02:43 -06:00