Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
42 user(s) are online (30 user(s) are browsing Forums)

Members: 0
Guests: 42

more...

Support us!

Headlines

Forum Index


Board index » All Posts (diegocr)




Re: Cross compilation first steps
Just popping in
Just popping in


Yesterday i've compiled the adtools trunk to get V2 sobjs sup, and hundred of compiler warnings apart (on the first steps only, regarding some gcc macro iirc), the only issue i've noticed is that the libs libstdc++ libsupc++ libssp etc are now placed into a different directory than on the zh cross-compiler.

Trunk: /usr/local/amiga/ppc-amigaos/lib

ZH: /usr/local/amiga/lib/gcc/ppc-amigaos/4.2.4/newlib/lib

However, the new compiler still seems to look for the libs at the zh path, so i just created symlinks.

I've compiled a .so before noticing that and it was linked without using libgcc.so (and reporting no errors), then tried to compile a C++ program (statically linked) and noticed the mixed libs due i get the same undefined references to sjlj functions...

but still using the right libs, i was forced to specify -lgcc_eh (thx afxgroup ;), otherwise it does not link. It's really like that for the last trunk or i might have something wrong somewhere?

Anyhow, despite those little "issues", I really recommend everybody to build his own cross-compiler, it's really easy, well...it compiles OOTB! (great job adtools guys)

Go to top


Re: Cross compilation first steps
Just popping in
Just popping in


@emeck

4.4.3 is broken, use 4.2.4 instead.


Edited by diegocr on 2010/8/7 11:25:39
Go to top


Re: Why the big filesizes for OS4 software?
Just popping in
Just popping in


@xenic

Quote:
I just D/L the latest WGet and the OS3 binary is 3 times the size (1.4MB) of the OS4 binary (0.4MB) which is even stranger in my view.


There are three binaries:

1) "wget" (m68k) 1.401Kb statically linked using OpenSSL 1.0.0a

2) "wget-NoSSL" (m68k) 336Kb

3) "wget-OS4" 455Kb dynamically linked using AmiSSL.

all of them are stripped.

Go to top



TopTop



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1 12% (26)
Pegasos2 3% (8)
X5000 22% (48)
X1000 14% (30)
A1222 8% (19)
Sam 440/460 18% (40)
Classic PowerPC Amiga 2% (6)
WinUAE emulation 7% (16)
Qemu emulation 9% (21)
Total Votes: 214
The poll closed at 2025/12/1 12:00
7 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project