Thanks for looking into it. And yes, your adaption is more generic, although i doubt that are any other compilers beside gcc and clang that are able to cross-compile ;) After i did the patch i also noticed that there is a NATIVE_CC variable used in some Makefiles, but i think these are only used for win32.
Add support for Atari FreeMinT
Better support for cross-compilation
Thats up to you of course, but a single "if" does not look very complex ;) Anyway, i'm fine with any solution that works. In the meantime, i try to fix that also in MiNT.
Yes, you are right, almost forgot that. But you could still do something like if ((pid = Pexec(104), ...)) == -32) Pexec(4,...); else if (pid <0) /* maybe handle other errors here */ else Pwaitpid(pid, 2, NULL, NULL);
Yes, you are right, almost forgot that. But you could still do something like if ((pid = Pexec(104), ...)) == -32) Pexec(4,...); else if (pid <0) / maybe handle other errors here / else Pwaitpid(pid, 2, NULL, NULL);
Another idea (also not tried yet): you could use Pexec(104) instead of Pexec(4). That call does not wait, and should give you also the pid of the started Process, which you can use for Pwaitpid(pid, 2, NULL, NULL)
Yes, Pwait() is identical to Pwait3(2, NULL), or Pwaitpid(-1, 2, NULL, NULL),as you can see here Pwait should report something, The module you started with Pexec(4) already has exited, so there is nothing to report... unless you have loaded other libraries before with Slbopen(). They are handled a bit strange by MiNT: they are started also with Pexec(), but then they get a SIGSTOP signal sent once their init function has been called. That is why Pwait() hangs: it waits for them to exit or change...
Call to Pwait() in ldg_load is wrong
Fix some calls to memset()
Use boolean, not jboolean for older jpeg libraries.
For now, make sure memory configuration isn't changed when
Fix a few debug printf format strings
Prefer jpeglib over SDL_image; this is the only format needed,
Disable using the SDL2 sample rate conversion again, it did not work
Increase low starting address for memory probing, using a too low value sometimes yields an uncatchable SIGSEGV
Do not install SIGINT handler when only probing for available memory ranges
Remove forgotten debug output
Fix audio output for SDL2
gitignore .directory files created by some filemanagers
Display an alert in the sdl-gui when no TOS image could be found.
Change default emutos image filename to emutos-aranym.img.
Make the TOS- and EmuTOS-path selectable in the GUI.
Sort some keys in dyngl.pl to avoid randomness in generated output
Convert logo.png to bmp, and use builtin function from SDL
SDL_DisplayFormat() is no longer available in SDL2
Define the EXT2 ioctl constants if <ext2fs/ext2_fs.h> is not available
Get rid of some annoying warnings generated by gcc 6.x+
Set the window manager icon after initializing the video mode
Comment out unused usart field
Fix handling of throw() with newer compilers
replace verify.h with slightly different version that was released
ata.cpp: fix some cases where two or more
Fix a wrong signed comparison in usbhost.cpp
Add missing NEWS entry from last release
Comment out some unused functions
Use HAVE_VASPRINTF instead of HAVE_GNU_SOURCE
blitter.cpp: handle word read/writes of blitter src/dst address
blitter.cpp: reformat the op table to make it more readable
blitter.cpp: do not read the source at all for operations that
Remove some unused declarations
xhdi: return error if fseek fails
ldd: avoid some warnings on Win32
add some comments
nfosmesa: fix prototype of glClearNamedFramebuf...
JIT: fix regression in definition of status flags
JIT: sync compemu_midfunc_x86.[cpp|h] with curr...
JIT: sync gencomp*.c with current WinUAE sources
JIT: more sync with current WinUAE sources
add disassembler support to JIT (with JIT_DEBUG)
Change some debug output to match other output ...
Detect accesses to HOST NULL ptrs at least in c...
JIT: sync with current WinUAE sources
Fix some file permissions; move verify.h to inc...
JIT: workaround for cases where a buserror was ...
Update sigsegv handler for x86 to handle some m...
rtc.h: add define for Mexico, found in TOS sources
Fix typo in phys_put_quad()
Update EmuTOS loader for upcoming version
configure.ac: Fix non-linux build
nf_scsidrv.cpp: some fixes to media change dete...
Mark texts in sdlgui.sdl as translatable
Fix compilation of standalone disassembler
nf_scsidrv.cpp: experimental udev-based media c...
nf_scsidrv.cpp: some interface changes as sugge...
nf_scsidrv.cpp: some interface changes as sugge...
autogen.sh: automake must run after autoheader ...
rtc.cpp: freeze reported time while Bit 7 in Re...
nf_scsidrv.cpp: handle the case of NULL pointer...
Implement NF_SCSIDRV Native Feature
Fixed buffersize calculation for buffers passed...
nfvdi_soft.{cpp|h}: Fixes and some optimization...
mathlib.h: remove useless assignment in make_nan()
nfosmesa: make it possible to semi-automaticall...
nfosmesa: try to use renderbuffers when Mesa li...
nfosmesa: support OSMesaGetProcAddress(); retur...
OSMesaCreateLDG(atari side): round buffersize u...
nfosmesa: For FULLMMU, copy all input parameter...
osmesa(Atari side): Rework the way parameters a...
allow opengl libraries to be a colon separated ...
nfosmesa: a few fixes, and grouping of function...
nfosmesa: update to OpenGL 4.5, adding 172 func...
nfosmesa: Add remaining conversion macros for s...
nfosmesa: Add conversion macros for several fun...
nfosmesa: Add conversion macros for several fun...
nfosmesa: Add conversion macros for several fun...
nfosmesa: Add conversion macros for several fun...
nfosmesa: handle functions that return a 64-bit...
nfosmesa: Add conversion macros for several fun...
nfosmesa: fix some export names
nfosmesa: fix a few prototypes
nfosmesa: support exception_error callback (tin...
nfosmesa: Add conversion macros for several fun...
nfosmesa: cosmetic: fix prototype descriptions ...
nfosmesa: fix wrong parameter in glGetStringi
Fix truncated icon file
nfosmesa: Add conversion macros for several fun...
nfosmesa: Fix ldg interface for stupid programs...
nfosmesa: support glGet() for enums that return...
nfosmesa: Fix passing/returning GLhandleARB par...