Skip to content

Build org.eclipse.swt.gtk.linux.riscv64 and SWT native binaries on riscv64 #1443

@yuzibo

Description

@yuzibo

Hi,

The background I have reported it at #1431 on eclipse.platform. If I understand correctly, if we want to get Eclipse built on riscv64, we first build
org.eclipse.swt.gtk.linux.riscv64 and SWT native binaries on riscv64 from the value guidance.

First I followed these instructions to build the Eclipse on riscv64 machines, and got the log at last. From the REAMDME, I got confused that:

From Eclipse:

If necessary, install the M2E - Maven integration for Eclipse (see [m2e](https://eclipse.dev/m2e/))
Open the Launch Configurations dialog.
Run the Maven configuration called: Build-SWT-native-binaries-for-running-platform.
If compile fails, inspect build log for warnings, they can point out issues in your configuration.

Are these operations performed on the Eclipse IDE? I mean we do not have Eclipse on riscv64 however. If not on Eclipse, just to use build.sh:

$ ./Eclipse\ SWT\ PI/gtk/library/build.sh
./Eclipse SWT PI/gtk/library/build.sh: 152: [: missing ]
-e Cairo found, compiling SWT support for the cairo graphics library.
-e jni.h found
-e libjawt.so found, the SWT/AWT integration library will be compiled.
-e Building SWT/GTK+ for Architectures: linux riscv64
-e Building GTK3 bindings:
make: make_linux.mak: No such file or directory
make: *** No rule to make target 'make_linux.mak'.  Stop.
-e *** GTK3 Build failed, aborting further actions..

Even though I fixed the issue, I got another error:

./build.sh: 152: [: missing ]
-e Cairo found, compiling SWT support for the cairo graphics library.
-e jni.h found
-e libjawt.so found, the SWT/AWT integration library will be compiled.
-e Building SWT/GTK+ for Architectures: linux riscv64
-e Building GTK3 bindings:
make: *** No rule to make target 'swt.c', needed by 'swt.o'.  Stop.
-e *** GTK3 Build failed, aborting further actions..

I must have wrongly understand here.

I built one Eclipse on window also, but no luck. Is this right direction?

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions