public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs 971201 on an i386-unknown-freebsd3.0
@ 1997-12-10 13:16 Alex
  1997-12-10 16:43 ` Jeffrey A Law
  1997-12-11  7:09 ` trouble with bootstrap & undef references Stephen Reuss
  0 siblings, 2 replies; 5+ messages in thread
From: Alex @ 1997-12-10 13:16 UTC (permalink / raw)
  To: egcs

Has anyone had any experience using egcs on FreeBSD?  I was able to build
the whole thing out of the box, however producing a fairly usable version
proved to be a different matter.  I'm assuming that I need to upgrade my
libstc++ to 2.8.  However I noticed that it wouldn't compile dynamic
libraries at all due to the object files lacking a reference to
___DYNAMIC.  Is this an a.out thing, or is there something else I should
be doing?

- alex


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

* Re: egcs 971201 on an i386-unknown-freebsd3.0
  1997-12-10 13:16 egcs 971201 on an i386-unknown-freebsd3.0 Alex
@ 1997-12-10 16:43 ` Jeffrey A Law
  1997-12-10 23:34   ` Alex
  1997-12-11  7:09 ` trouble with bootstrap & undef references Stephen Reuss
  1 sibling, 1 reply; 5+ messages in thread
From: Jeffrey A Law @ 1997-12-10 16:43 UTC (permalink / raw)
  To: egcs

  In message < Pine.BSF.3.96.971210124101.1555A-100000@zippy.dyn.ml.org >you write:
  > Has anyone had any experience using egcs on FreeBSD?  I was able to build
  > the whole thing out of the box, however producing a fairly usable version
  > proved to be a different matter.  I'm assuming that I need to upgrade my
  > libstc++ to 2.8.  However I noticed that it wouldn't compile dynamic
  > libraries at all due to the object files lacking a reference to
  > ___DYNAMIC.  Is this an a.out thing, or is there something else I should
  > be doing?
libstdc++ is included in the egcs distributions.  You should not get one
from anywhere else.

Not sure about the __DYNAMIC problems.

jeff

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

* Re: egcs 971201 on an i386-unknown-freebsd3.0
  1997-12-10 16:43 ` Jeffrey A Law
@ 1997-12-10 23:34   ` Alex
  0 siblings, 0 replies; 5+ messages in thread
From: Alex @ 1997-12-10 23:34 UTC (permalink / raw)
  To: egcs

On Wed, 10 Dec 1997, Jeffrey A Law wrote:

> 
>   In message < Pine.BSF.3.96.971210124101.1555A-100000@zippy.dyn.ml.org >you write:
>   > Has anyone had any experience using egcs on FreeBSD?  I was able to build
>   > the whole thing out of the box, however producing a fairly usable version
>   > proved to be a different matter.  I'm assuming that I need to upgrade my
>   > libstc++ to 2.8.  However I noticed that it wouldn't compile dynamic
>   > libraries at all due to the object files lacking a reference to
>   > ___DYNAMIC.  Is this an a.out thing, or is there something else I should
>   > be doing?
> libstdc++ is included in the egcs distributions.  You should not get one
> from anywhere else.
> 
> Not sure about the __DYNAMIC problems.

Well, since it can't compile dynamic libs with egcs, I get a static
stdc++, so the linker gives preference to the dynamic libstdc++ in my
/usr/lib dir.

- alex


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

* trouble with bootstrap & undef references
  1997-12-10 13:16 egcs 971201 on an i386-unknown-freebsd3.0 Alex
  1997-12-10 16:43 ` Jeffrey A Law
@ 1997-12-11  7:09 ` Stephen Reuss
  1997-12-11 16:33   ` Mumit Khan
  1 sibling, 1 reply; 5+ messages in thread
From: Stephen Reuss @ 1997-12-11  7:09 UTC (permalink / raw)
  To: egcs

Hi, 

I am trying to make bootstrap for a non cross-compiler, using cygwin
b18.  During the make, I get the following errors:

/usr/Programs/egcs-1.0/bin/g77.c:1795: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:1806: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:1809: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:1810: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:1819: undefined reference to
`_obstack_newchunk'
g77.o:/usr/Programs/egcs-1.0/bin/g77.c:1822: more undefined references
to `_obstack_newchunk' follow
g77.o: In function `execute':
/usr/Programs/egcs-1.0/bin/g77.c:2167: undefined reference to `pexecute'
/usr/Programs/egcs-1.0/bin/g77.c:2200: undefined reference to `pwait'
g77.o: In function `convert_filename':
/usr/Programs/egcs-1.0/bin/g77.c:2316: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:2317: undefined reference to
`_obstack_newchunk'
g77.o: In function `process_command':
/usr/Programs/egcs-1.0/bin/g77.c:2348: undefined reference to
`version_string'
/usr/Programs/egcs-1.0/bin/g77.c:2348: undefined reference to
`version_string'
/usr/Programs/egcs-1.0/bin/g77.c:2471: undefined reference to
`lang_specific_driver'
/usr/Programs/egcs-1.0/bin/g77.c:2490: undefined reference to
`version_string'
g77.o: In function `do_spec_1':
/usr/Programs/egcs-1.0/bin/g77.c:3089: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:3137: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:3147: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:3156: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:3178: undefined reference to
`_obstack_newchunk'
g77.o:/usr/Programs/egcs-1.0/bin/g77.c:3316: more undefined references
to `_obstack_newchunk' follow
g77.o: In function `main':
/usr/Programs/egcs-1.0/bin/g77.c:4310: undefined reference to
`_obstack_begin'
/usr/Programs/egcs-1.0/bin/g77.c:4318: undefined reference to
`_obstack_begin'
/usr/Programs/egcs-1.0/bin/g77.c:4320: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4322: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4327: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4329: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4338: undefined reference to
`_obstack_newchunk'
g77.o:/usr/Programs/egcs-1.0/bin/g77.c:4340: more undefined references
to `_obstack_newchunk' follow
g77.o: In function `main':
/usr/Programs/egcs-1.0/bin/g77.c:4352: undefined reference to
`_obstack_begin'
/usr/Programs/egcs-1.0/bin/g77.c:4353: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4354: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4364: undefined reference to
`choose_temp_base'
/usr/Programs/egcs-1.0/bin/g77.c:4380: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4388: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4391: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4395: undefined reference to
`_obstack_newchunk'
/usr/Programs/egcs-1.0/bin/g77.c:4396: undefined reference to
`_obstack_newchunk'
g77.o:/usr/Programs/egcs-1.0/bin/g77.c:4399: more undefined references
to `_obstack_newchunk' follow
g77.o: In function `main':
/usr/Programs/egcs-1.0/bin/g77.c:4593: undefined reference to
`version_string'
/usr/Programs/egcs-1.0/bin/g77.c:4594: undefined reference to
`version_string'
/usr/Programs/egcs-1.0/bin/g77.c:4597: undefined reference to
`version_string'
/usr/Programs/egcs-1.0/bin/g77.c:4599: undefined reference to
`version_string'
/usr/Programs/egcs-1.0/bin/g77.c:4601: undefined reference to
`version_string'
gcc: Internal compiler error: program ld got fatal signal 1
make: *** [g77] Error 1
make: *** [bootstrap] Error 2
 

What am I missing?  I dont want/need the f/g77 compiler since I am only 
writing C and C++ code, so can I somehow in the configuration or in the 
make tell the script not to build the fortran stuff?  Also, if I do a 
make gcc, I get similar errors so that makes me think that just avoiding
the fortran stuff will not avoid the problem for gcc.  

Thanks in advance,

-- 
---------------------------------------------------------------------
  Stephen Reuss                               =====  ======  =====
  M.A.Sc.  student, Mechanical Engineering   ==      ==      ==  ==
  University of Waterloo, Canada             =       =====   ==   =
  E-mail: sreuss@sunwise.uwaterloo.ca        ==      ==      ==  ==
  Phone : (519)888-4567 X3859                 =====  ==      =====
  Fax   : (519)888-6197                         *** G R O U P ***
---------------------------------------------------------------------

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

* Re: trouble with bootstrap & undef references
  1997-12-11  7:09 ` trouble with bootstrap & undef references Stephen Reuss
@ 1997-12-11 16:33   ` Mumit Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Mumit Khan @ 1997-12-11 16:33 UTC (permalink / raw)
  To: egcs

On Thu, 11 Dec 1997, Stephen Reuss wrote:
> What am I missing?  I dont want/need the f/g77 compiler since I am only 
> writing C and C++ code, so can I somehow in the configuration or in the 
> make tell the script not to build the fortran stuff?  Also, if I do a 
> make gcc, I get similar errors so that makes me think that just avoiding
> the fortran stuff will not avoid the problem for gcc.  
> 

You don't provide sufficient information to guess where the problem is,
but there is little chance that you'll successfully bootstrap egcs on
cygwin32 using b18 and have it actually work. In fact, I doubt if anyone
has bothered to bootstrap natively on Win32, so you're probably also
running into the usual first time surprises. I always build is using
Canadian Cross and have yet to run into this. If you're just interested
and want to learn how to do this (ie., build on cygwin32 and so on),
that's great; if you, however, want to do real work with egcs on cygwin32,
don't waste your time and download my pre-built binaries. You can then
bootstrap gcc using that if you wish (you *definitely* need the binutils
components that gnuwin32-egcs-1.00.tar.gz distribution has to do anything
useful on cygwin32). The FAQ has the URL. 

Mumit





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

end of thread, other threads:[~1997-12-11 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-10 13:16 egcs 971201 on an i386-unknown-freebsd3.0 Alex
1997-12-10 16:43 ` Jeffrey A Law
1997-12-10 23:34   ` Alex
1997-12-11  7:09 ` trouble with bootstrap & undef references Stephen Reuss
1997-12-11 16:33   ` Mumit Khan

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).