public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* successful build gcc-3.2.2 solaris x86
@ 2003-02-15 22:49 Robert Hoffmann
  2003-02-16  0:41 ` Robert Hoffmann
  2003-02-17 19:57 ` Piotr Kasztelowicz
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Hoffmann @ 2003-02-15 22:49 UTC (permalink / raw)
  To: gcc, steve

Hello,

I just finished building gcc-3.2.2 on a Solaris 8 x86 box. I noticed 
that sunfreeware only copied 3.2.1 over, to 3.2.2, so I decided to make 
it myself.

the machine had gnu make and gnu binutils, and there was a package 
installation og the SMCgcc (3.2.1).

The only thing I changed in the machine to make it work, is:

I added the following line in /usr/include/stdlib.h (was an easy place 
to put it)

    #define DEFAULT_PCC_STRUCT_RETURN    0

I ran gmake bootstrap, then gmake, and then gmake install, and the 
following is what I get:

./config.guess  
i386-pc-solaris2.8


gcc --version
gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The programs seem to compile fine, I made a little hello world proggy, and
gcc aa.c -o aa
bash-2.03# ./aa
Hello da world

cheers

BobX


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: successful build gcc-3.2.2 solaris x86
  2003-02-15 22:49 successful build gcc-3.2.2 solaris x86 Robert Hoffmann
@ 2003-02-16  0:41 ` Robert Hoffmann
  2003-02-17 19:57 ` Piotr Kasztelowicz
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Hoffmann @ 2003-02-16  0:41 UTC (permalink / raw)
  To: Robert Hoffmann; +Cc: gcc, steve

I forgot,

the gcc -v output is:

bash-2.03# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.8/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --with-gnu-ld --with-gnu-as
Thread model: posix
gcc version 3.2.2


Bob



Robert Hoffmann wrote:

> Hello,
>
> I just finished building gcc-3.2.2 on a Solaris 8 x86 box. I noticed 
> that sunfreeware only copied 3.2.1 over, to 3.2.2, so I decided to 
> make it myself.
>
> the machine had gnu make and gnu binutils, and there was a package 
> installation og the SMCgcc (3.2.1).
>
> The only thing I changed in the machine to make it work, is:
>
> I added the following line in /usr/include/stdlib.h (was an easy place 
> to put it)
>
>    #define DEFAULT_PCC_STRUCT_RETURN    0
>
> I ran gmake bootstrap, then gmake, and then gmake install, and the 
> following is what I get:
>
> ./config.guess  i386-pc-solaris2.8
>
>
> gcc --version
> gcc (GCC) 3.2.2
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There 
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
> PURPOSE.
>
> The programs seem to compile fine, I made a little hello world proggy, 
> and
> gcc aa.c -o aa
> bash-2.03# ./aa
> Hello da world
>
> cheers
>
> BobX
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: successful build gcc-3.2.2 solaris x86
  2003-02-15 22:49 successful build gcc-3.2.2 solaris x86 Robert Hoffmann
  2003-02-16  0:41 ` Robert Hoffmann
@ 2003-02-17 19:57 ` Piotr Kasztelowicz
  1 sibling, 0 replies; 5+ messages in thread
From: Piotr Kasztelowicz @ 2003-02-17 19:57 UTC (permalink / raw)
  To: Robert Hoffmann; +Cc: gcc, steve

On Sat, 15 Feb 2003, Robert Hoffmann wrote:

> I just finished building gcc-3.2.2 on a Solaris 8 x86 box. I noticed
> that sunfreeware only copied 3.2.1 over, to 3.2.2, so I decided to make
> it myself.

nice, but a some software don't compile properly on solaris under
gcc 3.2.x or compile but not work properly - for instance reformime,
which is a part of maildrop software. So, I must in this case replace
this software with compiled on gcc 2.95.3 and this do it working.
This is also great question to answer if I should compile new gcc on
Solaris or leave 2.95.3. This second way remains be still better

P.
--
Piotr Kasztelowicz                  Piotr.Kasztelowicz@lodz.ptkardio.pl
http://www.am.torun.pl/~pekasz

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: successful build gcc-3.2.2 solaris x86
  2003-02-16  2:49 Steven M. Christensen
@ 2003-02-16  3:31 ` Robert Hoffmann
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Hoffmann @ 2003-02-16  3:31 UTC (permalink / raw)
  To: Steven M. Christensen; +Cc: gcc, bobx

Hello Steven,

well, some mirrors must be out of date, cause if you look here:
ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/opcom.sunfreeware.com/intel/8/

you can see both: 3.2.1 and 3.2.2  having the same size, and after 
installing the 3.2.2 it is actually 3.2.1, try it ! hehe.

About the DEFAULT_PCC_STRUCT_RETURN, shoite, I guess for ELF I do have 
to put a 1, ok then, I will put a 1, and remake it. I think it will work 
fine too.
The only problem was that it was undefined to begin with.

Maybe we should figure out a way to run fixincludes in the solaris 
install, and fully replace the old stuff. Actually, even better, maybe 
solaris should come with a "old" and a "gnu compatible" installation of 
the header files. I will suggest that to the Sun guys hehehe.

cheers

Bob




Steven M. Christensen wrote:

>No, in fact I did not copy gcc 3.2.1 to gcc 3.2.2.  To make sure
>I have tested the package I have an also recopied it to sunfreeware.com.
>The package there should be correct.
>
>Note also that as far as I can see 3.2.1 has
>
>#define DEFAULT_PCC_STRUCT_RETURN    1
>
>and so this should be set in 3.2.2 rather than a 0.  Correct or not?
>
>Steve Christensen
>sunfreeware.com
>
>
>  
>
>From bobx@servermasters.com Sat Feb 15 16:21:40 2003
>>Date: Sat, 15 Feb 2003 21:15:06 +0000
>>From: Robert Hoffmann <bobx@servermasters.com>
>>X-Accept-Language: en-us, en
>>To: gcc@gcc.gnu.org, steve@smc.vnet.net
>>Subject: successful build gcc-3.2.2 solaris x86
>>
>>Hello,
>>
>>I just finished building gcc-3.2.2 on a Solaris 8 x86 box. I noticed 
>>that sunfreeware only copied 3.2.1 over, to 3.2.2, so I decided to make 
>>it myself.
>>
>>the machine had gnu make and gnu binutils, and there was a package 
>>installation og the SMCgcc (3.2.1).
>>
>>The only thing I changed in the machine to make it work, is:
>>
>>I added the following line in /usr/include/stdlib.h (was an easy place 
>>to put it)
>>
>>    #define DEFAULT_PCC_STRUCT_RETURN    0
>>
>>I ran gmake bootstrap, then gmake, and then gmake install, and the 
>>following is what I get:
>>
>>./config.guess  
>>i386-pc-solaris2.8
>>
>>
>>gcc --version
>>gcc (GCC) 3.2.2
>>Copyright (C) 2002 Free Software Foundation, Inc.
>>This is free software; see the source for copying conditions.  There is NO
>>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>
>>The programs seem to compile fine, I made a little hello world proggy, and
>>gcc aa.c -o aa
>>bash-2.03# ./aa
>>Hello da world
>>
>>cheers
>>
>>BobX
>>
>>
>>
>>    
>>
>
>  
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: successful build gcc-3.2.2 solaris x86
@ 2003-02-16  2:49 Steven M. Christensen
  2003-02-16  3:31 ` Robert Hoffmann
  0 siblings, 1 reply; 5+ messages in thread
From: Steven M. Christensen @ 2003-02-16  2:49 UTC (permalink / raw)
  To: gcc, steve, bobx

No, in fact I did not copy gcc 3.2.1 to gcc 3.2.2.  To make sure
I have tested the package I have an also recopied it to sunfreeware.com.
The package there should be correct.

Note also that as far as I can see 3.2.1 has

#define DEFAULT_PCC_STRUCT_RETURN    1

and so this should be set in 3.2.2 rather than a 0.  Correct or not?

Steve Christensen
sunfreeware.com


> From bobx@servermasters.com Sat Feb 15 16:21:40 2003
> Date: Sat, 15 Feb 2003 21:15:06 +0000
> From: Robert Hoffmann <bobx@servermasters.com>
> X-Accept-Language: en-us, en
> To: gcc@gcc.gnu.org, steve@smc.vnet.net
> Subject: successful build gcc-3.2.2 solaris x86
> 
> Hello,
> 
> I just finished building gcc-3.2.2 on a Solaris 8 x86 box. I noticed 
> that sunfreeware only copied 3.2.1 over, to 3.2.2, so I decided to make 
> it myself.
> 
> the machine had gnu make and gnu binutils, and there was a package 
> installation og the SMCgcc (3.2.1).
> 
> The only thing I changed in the machine to make it work, is:
> 
> I added the following line in /usr/include/stdlib.h (was an easy place 
> to put it)
> 
>     #define DEFAULT_PCC_STRUCT_RETURN    0
> 
> I ran gmake bootstrap, then gmake, and then gmake install, and the 
> following is what I get:
> 
> ./config.guess  
> i386-pc-solaris2.8
> 
> 
> gcc --version
> gcc (GCC) 3.2.2
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> The programs seem to compile fine, I made a little hello world proggy, and
> gcc aa.c -o aa
> bash-2.03# ./aa
> Hello da world
> 
> cheers
> 
> BobX
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-17 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-15 22:49 successful build gcc-3.2.2 solaris x86 Robert Hoffmann
2003-02-16  0:41 ` Robert Hoffmann
2003-02-17 19:57 ` Piotr Kasztelowicz
2003-02-16  2:49 Steven M. Christensen
2003-02-16  3:31 ` Robert Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).