Help with gcc-2.7.2 compilation..

Help with gcc-2.7.2 compilation..

Post by ishwar ratta » Sat, 25 Jan 1997 04:00:00


I am trying to compile gcc-2.7.2 distribution under FreeBSD-2.1.5.
I used
        ./configure  --build=i386-freebsd --prefix=/local/gnu
to generate the Makefile.

I see the following warning messages in stage1 compilation of gcc-2.7.2
distribution using gcc-2.6.3. I looked at the header files

        /usr/include/stdio.h:43 IS #include <sys/types.h>
        /usr/include/sys/types.h:107 IS #ifdef _BSD_SIZE_T_
                                         typedef _BSD_SIZE_T_  size_t;
        /usr/include/sys/types.h:99 IS #include <machine/ansi.h>
        /usr/include/machine/ansi.h:51 IS #define  _BSD_SIZE_T_  unsigned int

which means that warning should not be there!! Any pointers will be

Ishwar Rattan

In file included from /usr/include/stdio.h:43,
                 from ./libgcc2.c:1419:
/usr/include/sys/types.h:108: warning: empty declaration
In file included from /usr/include/stdio.h:43,
                 from ./libgcc2.c:1705:
/usr/include/sys/types.h:108: warning: empty declaration
In file included from /usr/include/stdio.h:43,
                 from ./libgcc2.c:1465:
/usr/include/sys/types.h:108: warning: empty declaration


1. gcc-2.7.2 compilation for x86 Solaris 2.5 on Linux machine

Hi, there!
I have Linux Slackware 3.0 at home and x86 Solaris 2.5 at work.
Now, the funny thing is that Solaris shipped without any compiler at
all. I'm quite new in the Unix/Linux world so please excuse my
ignorance if some questions sound silly. I have gcc-2.7.2.tar.gz which
I beliewe is Solaris distribution, since I ftp-ed it from Solaris
site. The questions are:
1. Can I use that gcc-2.7.2.tar.gz source to compile on my Linux box
for using on x86 Solaris 2.5 machine (i.e. build=Linux, host=Solaris,
target=Solaris) or should I find Linux specific source (if there is
any difference at source level)?
2. Is there anything I should do besides specifying target directory
with configure's option "--prefix=DIR" to avoid overriding files
current Linux's compiler is using.
3. What would be the procedure of porting compiled binaries from Linux
to Solaris? Just moving /DIR tree ?

Help greatly appreciated, thanks.

Pavel Tkatchouk
Squirrel Inc.

2. Newbie -modem using non-standard IRQ

3. configuring gcc-2.7.2.x on redhat 7.2

4. NIS problem

5. GCC-2.7.2 OR GCC-2.8.1 FOR AIX

6. Man page : how ?

7. How to upgrade from gcc-2.7.0 to gcc-2.7.2 ?

8. __locore_lmabegin ?

9. Help on Installing gcc-2.7.2

10. Help - GCC-2.7.0 libc-4.7.2 1.7.3

11. Help with GCC-2.7.2

12. help:gcc-2.7.2,g++,ELF

13. Help with g77-0.5.29 for gcc-2.7.2 under FreeBSD-2.1.5