English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 12 August 2022, 19:25   #1
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
compiling software in winuae

Hi all,

Is there any reason something compiled on my pc in winuae would not work on other pc's in winuae other than a non compatible setup?

or am I missing something obvious?
abu_the_monkey is offline  
Old 13 August 2022, 19:11   #2
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
hi there,

maybe that was a rather ambiguous question, to put it another way, are there any settings that could result in an executable that works only on my pc? jit for example, could this influence the way a compiler works under emulation?
abu_the_monkey is offline  
Old 13 August 2022, 20:27   #3
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
We would need more information. What have you compiled, what is your setup etc.. Why doesn't it work? Error codes, crash??
BippyM is offline  
Old 13 August 2022, 20:35   #4
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
just after a general rule of thumb.
is it best to avoid using things that speed up compilation like jit?
is it better to use cycle exact modes?
does it make a difference which cpu is used for emulation (is 68020 emulation more accurate than 68060)?
or does none of that make any difference?
abu_the_monkey is offline  
Old 13 August 2022, 21:03   #5
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
The emulation wont make a difference if compiling amiga software. The compiler outputs the code.
BippyM is offline  
Old 13 August 2022, 21:10   #6
FlynnTheAvatar
Registered User
 
FlynnTheAvatar's Avatar
 
Join Date: Jan 2018
Location: Germany
Posts: 46
Hi,

The settings in WinUAE do not make any difference when compiling stuff. The code that is generated will not differ if you are using JIT or not.

But the settings will be important when running your code. As a rule of thumb:
- the more you are hitting the hardware directly, the more "hand" optimized loops you have, the similar the WinUAE settings on both PCs need to be. Using JIT in that case will definitely break things.
- the cleaner your coding style is (the more system friendly), the less the settings matter. If you are only using the system libraries, do not depend on the time it takes for code to execute, the better. In this case even using JIT will not make a difference.

Hope this helps.
FlynnTheAvatar is offline  
Old 13 August 2022, 21:12   #7
abu_the_monkey
Registered User
 
Join Date: Oct 2020
Location: Bicester
Posts: 1,950
so its ok to run it with any setup, the output will be the same regardless of jit, no jit, 68020/68060 processor selected, cycle exact, etc.

thank you.
abu_the_monkey is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
We are compiling a list of dead 3D animation software for Amiga Pyromania Amiga scene 21 05 January 2021 16:16
DIY Compiling WinUAE 2.0.x gilgamesh support.WinUAE 19 10 July 2010 19:00
Compiling WinUAE 2.1.0 rotacak support.WinUAE 8 06 May 2010 17:09
Idiots guide to compiling WinUAE? Ian New to Emulation or Amiga scene 1 28 September 2009 14:30
Compiling WinUAE 1.3.2 rotacak support.WinUAE 1 06 October 2006 20:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:44.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09228 seconds with 15 queries