This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.3.5 on old Quadra 700 (25 MHz 68040)


14.4.2011 2:48, kevin diggs kirjoitti:

If I got 3.4.6 to build on this beast what is the likelihood I can get
4.3.5 to build?

I remember the "beast" being NetBSD 1.6.1 for mac68k, and also that I tried this $target and later $host on a much quicker $build host. If compared to the Quadra 700 but quite slow if compared to the uptodate x86_64 PCs, the $build system was only a AMD Duron 750MHz machine with CentOS 5.5. Up to gcc-4.2.4 things worked but gcc-4.3.5 not any more :(

How does the installed size of C and C++ for 4.3.5 compare to 3.4.6?

The native (mac68k) GCC drivers sizes were for gcc-3.4 and 4.1 :


[root@localhost bin]# ls -l gcc-* g++-* cpp-*
-rwxr-xr-x 1 root root  83041  1. maalis 11:02 cpp-3.4
-rwxr-xr-x 1 root root 106325  1. maalis 11:16 cpp-4.1
-rwxr-xr-x 3 root root  81982  1. maalis 11:02 gcc-3.4
-rwxr-xr-x 3 root root 105170  1. maalis 11:17 gcc-4.1
-rwxr-xr-x 4 root root  83598  1. maalis 11:02 g++-3.4
-rwxr-xr-x 4 root root 106916  1. maalis 11:15 g++-4.1

and the sizes for the native mac68k C and C++ compilers were :

[root@localhost usr]# ls -l local/lib/gcc/m68k-netbsdelf1.6.1/3.4.6
yhteensä 4856
-rwxr-xr-x 1 root root 2213538  1. maalis 11:02 cc1
-rwxr-xr-x 1 root root 2632958  1. maalis 11:02 cc1plus
-rwxr-xr-x 1 root root   86243  1. maalis 11:02 collect2
drwxr-xr-x 2 root root    4096  1. maalis 11:02 install-tools
[root@localhost usr]# ls -l local/lib/gcc/m68k-netbsdelf1.6.1/4.1.2
yhteensä 6572
-rwxr-xr-x 1 root root 3076564  1. maalis 11:15 cc1
-rwxr-xr-x 1 root root 3523259  1. maalis 11:15 cc1plus
-rwxr-xr-x 1 root root   87184  1. maalis 11:15 collect2
drwxr-xr-x 2 root root    4096  1. maalis 10:58 install-tools

So the compiler sizes were even 50% or so bigger!

This system is VERY short on space. And if anyone has a rough guess as
to the build time ratio (i.e. 1.3x, 1.6x)? 3.4.6 took like 36 hours or
so.

You mean "native build" ? As you can see from the previous time stamps, the time between the 3.4.6 and 4.1.2 installs was about 15 minutes, so doing it cross could be much, much more sane!

The current "gcc-4.1.3 20080704 prerelease (NetBSD nb2 20081120)" for
NetBSD 5.1/mac68k seems to been configured with :

/usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd4.99.72 --host=m68k--netbsdelf --target=m68k--netbsdelf --enable-__cxa_atexit

So the cross $build machine was a "x86_64-unknown-netbsd4.99.72"
system for the "native m68k--netbsdelf"...

So the stupid question is: Why you must do the GCC build natively for
a system like a 25 MHz m68040 ?  As you can see, one could see the
answers to the "does it work" questions in some minutes with an
uptodate quick development platform...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]