public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/17260] New: Cannot build Ada libraries and tools
@ 2004-09-01  5:46 bdubbs at swbell dot net
  2004-09-01 13:08 ` [Bug ada/17260] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bdubbs at swbell dot net @ 2004-09-01  5:46 UTC (permalink / raw)
  To: gcc-bugs

Building gcc-3.4.1 from gcc-3.3.3, the Ada gnatlib_and_tools is not a valid
target in the gcc/Makefile.  The procedures used were the same as building
gcc-3.3.3, which was completely successful.

-- 
           Summary: Cannot build Ada libraries and tools
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdubbs at swbell dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17260


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

* [Bug ada/17260] Cannot build Ada libraries and tools
  2004-09-01  5:46 [Bug ada/17260] New: Cannot build Ada libraries and tools bdubbs at swbell dot net
@ 2004-09-01 13:08 ` pinskia at gcc dot gnu dot org
  2004-09-02  7:26 ` bdubbs at swbell dot net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-01 13:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-01 13:08 -------
Are you sure that Ada is even got enabled, yes it is enabled by default if you have the Ada compiler in 
your patch?

Can you attach your build log and also how you configured gcc and how you were building gcc?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17260


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

* [Bug ada/17260] Cannot build Ada libraries and tools
  2004-09-01  5:46 [Bug ada/17260] New: Cannot build Ada libraries and tools bdubbs at swbell dot net
  2004-09-01 13:08 ` [Bug ada/17260] " pinskia at gcc dot gnu dot org
@ 2004-09-02  7:26 ` bdubbs at swbell dot net
  2004-09-03  7:20 ` chrisp_42 at bigpond dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bdubbs at swbell dot net @ 2004-09-02  7:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdubbs at swbell dot net  2004-09-02 07:26 -------
I built gcc-3.3.3 with these instructions:

Building gcc 3.3.3
 
# { ../gcc-3.3.3/configure --prefix=/usr --enable-shared  
--enable-languages=c,ada \
   --prefix=/opt/gcc333 --enable-threads=posix  \
   --enable-__cxa_atexit --enable-clocale=gnu &&
   make bootstrap &&
   make -C gcc gnatlib_and_tools  &&
   make -k check && make install; } 2>&1 | tee gcc-build.log

The files built were:

# ls /opt/gcc333/bin
cpp     gcov      gnatbl    gnatkr    gnatmake  gnatpsta              
i686-pc-linux-gnu-gcc-3.3.3
gcc     gnat      gnatchop  gnatlink  gnatname  gnatxref
gccbug  gnatbind  gnatfind  gnatls    gnatprep  i686-pc-linux-gnu-gcc

# echo $PATH
/opt/gcc333/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
# gcc -v
Reading specs from /opt/gcc333/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --prefix=/usr --enable-shared
--enable-languages=c,ada --prefix=/opt/gcc333 --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.3

The build log is large:  it is at http://cis.sac.accd.edu/~bdubbs/gcc341-build.log

Trying to build gcc-3.4.1, I used:

# { ../gcc-3.4.1/configure --prefix=/usr --enable-shared  
--enable-languages=c,ada   \
     --prefix=/opt/gcc341 --enable-threads=posix  --enable-__cxa_atexit \
     --enable-clocale=gnu ; } 2>&1 | tee gcc341-build.log
 
# make bootstrap 2>&1 | tee -a gcc341-build.log

There is no gnatlib_and_tools in gcc/Makefile:

# grep gnatlib gcc/Makefile
#

The log for this build is at: http://cis.sac.accd.edu/~bdubbs/gcc341-build.log



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17260


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

* [Bug ada/17260] Cannot build Ada libraries and tools
  2004-09-01  5:46 [Bug ada/17260] New: Cannot build Ada libraries and tools bdubbs at swbell dot net
  2004-09-01 13:08 ` [Bug ada/17260] " pinskia at gcc dot gnu dot org
  2004-09-02  7:26 ` bdubbs at swbell dot net
@ 2004-09-03  7:20 ` chrisp_42 at bigpond dot com
  2004-09-03  7:22 ` charlet at act-europe dot fr
  2004-09-03 13:27 ` bdubbs at swbell dot net
  4 siblings, 0 replies; 6+ messages in thread
From: chrisp_42 at bigpond dot com @ 2004-09-03  7:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From chrisp_42 at bigpond dot com  2004-09-03 07:20 -------
(In reply to comment #2)

> 
> There is no gnatlib_and_tools in gcc/Makefile:
> 
> # grep gnatlib gcc/Makefile
> #
> 

Did you actually try to build it?

The gnatlib_and_tools target is NOT defined in gcc/Makefile but in a makefile
fragment from the ada subdirectory that is included by the gcc/Makefile.

I would bet if you just try it - it will work fine.  I have never had any
problems building ada for this target.

p.s  if you want shared libraries you should do this in two parts:

% make -C gcc gnatlib-shared
% make -C gcc gnattools


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17260


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

* [Bug ada/17260] Cannot build Ada libraries and tools
  2004-09-01  5:46 [Bug ada/17260] New: Cannot build Ada libraries and tools bdubbs at swbell dot net
                   ` (2 preceding siblings ...)
  2004-09-03  7:20 ` chrisp_42 at bigpond dot com
@ 2004-09-03  7:22 ` charlet at act-europe dot fr
  2004-09-03 13:27 ` bdubbs at swbell dot net
  4 siblings, 0 replies; 6+ messages in thread
From: charlet at act-europe dot fr @ 2004-09-03  7:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at act-europe dot fr  2004-09-03 07:22 -------
Subject: Re:  Cannot build Ada libraries and tools

> I would bet if you just try it - it will work fine.  I have never had any
> problems building ada for this target.

Never had any problem either.

> p.s  if you want shared libraries you should do this in two parts:
> 
> % make -C gcc gnatlib-shared
> % make -C gcc gnattools

You can even do it in one part:

% make -C gcc gnatlib-shared gnattools

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17260


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

* [Bug ada/17260] Cannot build Ada libraries and tools
  2004-09-01  5:46 [Bug ada/17260] New: Cannot build Ada libraries and tools bdubbs at swbell dot net
                   ` (3 preceding siblings ...)
  2004-09-03  7:22 ` charlet at act-europe dot fr
@ 2004-09-03 13:27 ` bdubbs at swbell dot net
  4 siblings, 0 replies; 6+ messages in thread
From: bdubbs at swbell dot net @ 2004-09-03 13:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdubbs at swbell dot net  2004-09-03 13:27 -------
Marking as invalid.  I'm not sure what I did to make it work, but it did.  I'll
investigate further.  Sorry for the waste of time.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17260


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

end of thread, other threads:[~2004-09-03 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01  5:46 [Bug ada/17260] New: Cannot build Ada libraries and tools bdubbs at swbell dot net
2004-09-01 13:08 ` [Bug ada/17260] " pinskia at gcc dot gnu dot org
2004-09-02  7:26 ` bdubbs at swbell dot net
2004-09-03  7:20 ` chrisp_42 at bigpond dot com
2004-09-03  7:22 ` charlet at act-europe dot fr
2004-09-03 13:27 ` bdubbs at swbell dot net

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