AMD64 or x86 64-bit package for ZULU OpenJRE 7 on Windows OS - azul-zulu

In my Windows application I used to ship Oracle JRE 7 with two folder (x86) and (AMD64). Now I am replacing it with Zulu OpenJRE 7. But on Azul site I can only see (x86) package for download in zip and msi format.
Is AMD64 package for Zulu OpenJRE is not available? Or will (x86) package will work on AMD platform?

Nowadays it's the same instruction set. Zulu works on "both" amd64 and x86-64.

Related

Why is libclang (libclang.so.3.9) so large(124 MB) in CentOS 6.5 after compiling from source?

I have downloaded and compiled libclang following this link on CentOS 6.5: https://www.vultr.com/docs/how-to-install-llvm-and-clang-on-centos-6
I did just till make as I only need libclang.so and not the clang compiler installed.
libclang.so.3.9 is about 124MB after the compilation!
In Windows libclang.dll is 39MB.
How can I reduce the Linux build to comparable size?

in libjvm.so wrong ELF class ELFCLASS64

I have installed java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64 on Cent OS 6.6. When i am trying to run my software it is thorwing error in "libjvm.so wrong ELF class ELFCLASS64". while I ran java -version output is-->
java version 1.7.0_15
java SE runtime environment (build 1.7.0_15)
Java Hotspot 64Bit Server VM (build 23.7-b01, mixed mode)
JRE version on machine
Jre – 1.7.0_15-fcs.x86_84
JDK version
java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64
Your software is a 32-bit ELF file but libjvm.so is only available as a 64-bit ELF library. The runtime linker therefor cannot link the library.
You either need to compile your program in 64-bit mode or get a 32-bit JVM.

How to install/update gcc-4.6 on openSUSE 11.2 (x86_64)?

I met an err when I installed JikesRVM, that is,
skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.4/libstdc++.so when searching for -lstdc++
So I am trying to install/update it to a later version. Now, the machine already has
gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]
I am new to openSUSE, could you help?
Thanks!
You need to install 32 bit support for the GNU C/C++ compiler since JikesRVM on x86_64 currently supports only the 32 bit architecture.
To install this support in OpenSuSE 11.2 type
sudo zypper install gcc44-32bit gcc-32bit libstdc++44-devel-32bit
The first two provide runtime support for the C language and the 32-bit version of libgcc, the GCC low level runtime library. The third provides the 32-bit version of libstdc++, both the static import library and the dynamic library. It is the static libstdc++.a that was missing for JikesRVM.
To verify that the 32bit C++ build system is installed correctly you can test it with the following
echo "int main(){}" | g++ -x c++ -m32 -
Note Official support for OpenSuSE 11.2 has ended. Evergreen support will be available through 2013. Yet it is reasonable to update to 11.3 or a later version soon.

How to get a 64 bit dll with c source file, def file, link file by using command line in vc 6.0

My compile environment is windows xp and vc 6.0.
Now I have a c source file(msgRout.c), def file(msgRout.def), link file(msgRout.link), then I use commands below to get a 32 bit dll:
1.cl /I ../include -c -W3 -Gs- -Z7 -Od -nologo -LD -D_X86_=1 -DWIN32 -D_WIN32 -D_MT -D_DLL msgRout.c
2.lib -out:msgRout.lib -def:msgRout.def -machine:i386
3.link /LIBPATH:../../Lib -nod -nologo -debug:full -dll #msgRout.link -out:msgRout.dll
But the dll I got cannot be loaded on X64 application. it required a 64 bit dll.
So here is my question:
Can I get a 64 bit dll with vc 6.0?
Using only above 3 commands alike, how can I get 64 bit dll?
Many GREAT THANKS!!!
Allan
Visual C++ 6.0 does not include 64-bit compiler/libraries. You will need either a more recent version of Visual C++ or a Windows Platform SDK that has the 64-bit support. The earliest one is the Windows Server 2003 Platform SDK.
Once you have that installed, cl /? and link /? will have info on how to build 64-bit apps.
Update: If you have VS2005, you can build 64-bit binaries with the x86-amd64 cross-compiler (a 32-bit cl.exe that produces 64-bit code) or with the x64 compiler (a 64-bit cl.exe). To do that, you need to:
Make sure you've installed the 64-bit tools support during VS installation.
Open a command line and set it for x86-amd64 builds using C:\Program Files\Microsoft Visual Studio 8\VC\Vcvarsall.bat x86_amd64 or
(on 64-bit Windows) Open an x64 command line and set it for 64-bit builds using C:\Program Files\Microsoft Visual Studio 8\VC\Vcvarsall.bat amd64.
Once you do that, you should be able to use the same command line as above (with tcouple small changes - for cl you'll have to define /D:X64=1 or /D_AMD64_ and for link you'll have to change the /machine:x86 to /machine:x64) to produce 64-bit version of your program.
Here are some links with more information:
Installing Visual Studio 64-bit Components
HowTo: Enable a 64-Bit Visual C++ Toolset at the Command Line
Use Visual Studio to build 64-bit application
64-bit Applications
Seven Steps of Migrating a Program to a 64-bit System
You cannot. Microsoft does not have time machines.

What 64bit target to choose when compiling with Visual Studio (vcvarsall.bat)?

The vcvarsall.bat that does setup de build environment let you choose between x86 | ia64 | amd64 | x86_amd64 | x86_ia64.
First option is obvious for 32bit, but the question is: what would be the optimal option between the other 4 if you want to build for 64bit and you want to run on all 64 bit machines.
Let say that you don't have time/resources to make 4 builds for 64 and you have to choose only one of them?
I found a page that clarifies this issue http://msdn.microsoft.com/en-us/library/x4d2c09s%28VS.80%29.aspx
32/64 OS building for 32 => x86
32 OS building for 64 => x86_amd64
64 OS building for 64 => amd64
And you can ignore the other options because Itanium does not have a real market share.
ia64 (Itanium) is a very redundant CPU (Google for ia64 market share) and you should use it only if you're going to deploy to that architecture.
x86_amd is for running 32 bit on amd64 architecture, use it only if your code doesn't compile/work under amd64.

Resources