26 December 2022, 03:32 | #1 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
AmiSSL and VBCC on AmigaOS3
Hi all!
I want to use AmiSSL in AmiModRadio to access the modules available at modules.pl via HTTPS. I'm compiling the given examples and even "smaller" examples but the compilation is taking sooooo long I defined AMISSL_NO_STATIC_FUNCTIONS but still it's slow at compiling. I know from here and there that AmiSSL has been tested with GCC on AmigaOS3 and VBCC on AmigaOS4. Maybe there are other things that I should do? Cheers! |
26 December 2022, 09:49 | #2 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
|
Do you compile it on a real Amiga? I cross compile, using an old core2duo machine and I would not say it’s slow, but using AmiSSL is definitely noticeable. Without it, the compile is more or less instant, but with it, it takes a couple of seconds (3-4).
|
26 December 2022, 21:00 | #3 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Yes, I'm doing everything (except version control) on my Amiga 1200/060 and adding AmiSSL-related includes really, really slow the compilation...
|
27 December 2022, 00:15 | #4 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
|
Quote:
One workaround I suspect would speed up the compile quite a lot would be to create minimal versions of the VBCC proto define files <inline/amissl_protos.h and <inline/amisslext_protos.h>, which only contain the AmiSSL/OpenSSL functions you actually use. Another idea would be to keep the network code in a separate file and compile it to an object file, which is linked to the rest in the final step. That way only time the slow compile happens is when you change that part of the code and not the rest. |
|
27 December 2022, 01:59 | #5 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,434
|
Thank you very much for your kind advice!
I'm going to try just that and hopefully get back to "reasonable" compile times, will keep you posted Last edited by tygre; 27 December 2022 at 01:59. Reason: Typos |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AmiSSL 4.9 Now Available | Futaura | News | 4 | 06 April 2021 19:44 |
New AmiSSL v4.6 | stevelord | News | 1 | 09 June 2020 13:42 |
AmiSSL 4 | Robbie | support.Apps | 62 | 17 February 2020 19:54 |
AmiSSL 4.0 | Sir_Lucas | News | 6 | 09 February 2017 12:45 |
new AmiSSL | hal9000 | support.Apps | 1 | 14 August 2016 18:23 |
|
|