Good evening,
On 04 May 2019, at 15:15, Frits Letteboer <[email protected]> wrote:
> Good afternoon,
and welcome to t2 ;-)
> Attached you will find some patches required to get a somewhat workable
> minimal m68k target for further experimentation and native compilation.
>
> The target runs on emulated Amigas via WinUAE, Atari via ARAnyM and
> qemu-m68k-user
amazing, and thanks for testing!
> Issues not covered in this patch:
>
> - Cross-compilation of perl was done manually because Perl tries to run
> native code, which obviously fails. I used perl-cross[1] for this. It works
> by extracting those files in the perl source dir and use that for compilation
> (configure --target=m68k-t2-linux-gnu && make && make DESTDIR=$root install)
>
> - base/embutils doesn't compile, probably because there is no dietlibc for
> m68k
>
> - I'm not sure of the selected CPU (for optimization purposes) actually gets
> used anywhere, so that problably needs some review
some changes such as package/base/glibc/glibc.conf might be only because of our
wrapper variables (which should take care of O2/Os may not be exported with
last years bash versions. Really need to finally review this ASAP.
bdb atomics is probably only required for certain configs, can you
conditionalize that arch m86k or so for now?
+++ package/database/bdb/bdb-conf.in (working copy)
@@ -52,7 +52,9 @@
+ var_append confopt ' ' '--disable-atomicsupport’
Committed revision 48252. # options
Committed revision 48253. # linux.conf
Committed revision 48254. # strafe
I find too many dots in filename slightly unintuitive, maybe in the future just
fix-m68k.patch or
add-… etc.
Committed revision 48255. # python2
that is for any build, e.g. not m68k specific?
package/scientific/gmp/zzz.m68k.patch
is similarly likely only necessary if our gcc wrapper does not have it’s
variables exported.
We better 1) fix that and 2) remove -m68* generally off the compiler
invocation, then we
do not need to patch all packages like this. All the generic options are
currently removed
in: package/develop/gcc/parse-config
Committed revision 48256.
K33p H4cK1ng,
René
--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
https://exactscan.com | https://ocrkit.com | https://t2sde.org |
https://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2