Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make able to install cross compilers in Windows #19

Open
ZhymabekRoman opened this issue Feb 17, 2023 · 4 comments
Open

feat: make able to install cross compilers in Windows #19

ZhymabekRoman opened this issue Feb 17, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ZhymabekRoman
Copy link
Contributor

Some link:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%202.2.4/lazarus-2.2.4-fpc-3.2.2-cross-i386-win32-win64.exe

@gcarreno gcarreno self-assigned this Feb 17, 2023
@gcarreno gcarreno added enhancement New feature or request good first issue Good for newcomers labels Feb 17, 2023
@gcarreno
Copy link
Owner

gcarreno commented Feb 17, 2023

Hey Zhymabek (@ZhymabekRoman),

It's not a bad idea, but I'll have to have a think about how I'm gonna code that into a parameter.
And then there's the fact that it's only for the Windows GitHub runners.

The goal is to not have any differentiation between the GitHub runners, so one call to setup-lazarus can be the same on all 3 of the supported platforms: windows_latest, ubuntu_latest and macos_latest.

But it's not a bad suggestion, just a bit more in tune to your Windows needs and disregarding the other 2 platforms, right?

Cheers,
Gus

@ZhymabekRoman ZhymabekRoman changed the title feat: i386 cross compiler for x86_64 Windows environment feat: make able to install cross compilers in Windows Feb 17, 2023
@rdipardo
Copy link
Contributor

I thought maybe I could help out here since I'm already maintaining a CircleCi Orb for Lazarus with an optional cross-compiler for 32-bit Windows (and only Windows.) Not the best preparation, I admit — Orbs are just YAML templates with shell scripts pasted in.

But I had some trouble with the Lazarus.ts module, in large part because of all the duplicate switch-cases in the installer code path. So instead I did some refactoring in this pull request.

@gcarreno
Copy link
Owner

Hey @rdipardo,

Many thanks for the PR, I've merged it now!!

I would gladly work with you on any way we can figure out cross-compiling.
I've been enquiring about the easy path: A command line fpcupdeluxe. To no avail cuz it's a lot of changes to get the GUI out of the way 😉

The biggest issue is the fact that I'm heavily relying on the Source Forge install binaries. If I could, somehow, have some other alternative, I would be very happy to swap over.

Nonetheless, it would have to be for all 3 platform that the GitHub runners offer: Windows, Linux and macOS(I'm also hoping that they begin to offer ARM runners soon, but then we would, kinda, be stuck since there are no ARM install .deb, only .tar.gz archives that I would need to study).

So, any input you can provide would be awesome !!

Cheers,
Gus

@gcarreno
Copy link
Owner

Hey @rdipardo,

Since this is the only way I got to interface with you I have a question about your Orb:
The OPM Synapse package has a space in it.
Your Orb description mentions package names separated by spaces.
Is this not an issue with said Synapse package?

Cheers,
Gus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants