This is the mail archive of the 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]

Fwd: Building gcc-4.9 on OpenBSD

The reason I'm doing this is that I want to understand why the total
size of the binaries grew from around 10MB (gcc v 4.5) to over 70MB in

I can compile the first stage OK, and the binaries are quite modest:

-rwxr-xr-x  1 ian  ian  17.2M Sep  6 03:47 prev-gcc/cc1
-rwxr-xr-x  1 ian  ian   1.2M Sep  6 04:24 prev-gcc/cpp
-rwxr-xr-x  1 ian  ian   1.2M Sep  6 04:24 prev-gcc/xgcc

The 2nd stage doesn't compile however, because the Intel library
doesn't support OpenBSD. The host/target is i386-unknown-openbsd5.4:

../.././libcilkrts/runtime/os-unix.c:69:5: error: #error "Unsupported OS"
 #   error "Unsupported OS"
../.././libcilkrts/runtime/os-unix.c: In function
../.././libcilkrts/runtime/os-unix.c:386:2: error: #error "Unknown architecture"
 #error "Unknown architecture"
Makefile:691: recipe for target 'os-unix.lo' failed

My questions are, is this what I should expect in terms of file sizes?:

ian3@jaguar:~/build/guile-2.0.11$ ls -l ~/usr/bin/gcc
-rwxr-xr-x 3 ian3 ian3  2538426 2014-08-03 01:18 /home/ian3/usr/bin/gcc
-rwxr-xr-x 1 ian3 ian3 66149541 2014-08-03 01:18

And is there any way to disable the Intel library? The fact that the
first stage bootstrap works without it indicates that it might be


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