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

Re: egcs-980406 g77 bug


The build instructions in ~/egcs-980406/README
may be misleading for alpha/Linux users:

Loic Prylli wrote:

> Robert Williams writes:
>  >
>  > I simply "cd egcs-980406; ./configure; make; make install".Is this
>     incorrect  for snapshots?
>  > I've probably overlooked something.
>  > Here are the (different) typedefs for these two versions,
>  > as created by "configure".
>  >
>  > egcs-1.0.2
>  > typedef int /* long int */ flag;
>  > typedef int /* long int */ ftnlen;
>  > typedef int /* long int */ ftnint;
>  >
>  > egcs-980406
>  > typedef long int /* long int */ flag;
>  > typedef long int /* long int */ ftnlen;
>  > typedef long int /* long int */ ftnint;
>
> The only thing I have remarked is this extract from the INSTALL/BUILD
> file:
>   First, we highly recommend that egcs be built into a separate
>   directory than the sources.  This is how we generally build egcs; building
>   where srcdir == objdir should still work, but doesn't get
>   extensive testing.
>
> I guess the "should still work" is a documentation bug that should be
> understood as will break g77 and maybe other things.
>
> I have just try building in the same directories than the source, and
> in this case the configure step of g77 decides to take "long int"
> instead of the right "int". So I guess this is what makes the
> difference.



--
Bob Williams, http://bob.usuf2.usuhs.mil/





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