public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* building gcc trunk on ubuntu11.10
@ 2011-11-14 16:10 Dirk Moermans
  2011-11-14 18:01 ` Marc Glisse
  0 siblings, 1 reply; 4+ messages in thread
From: Dirk Moermans @ 2011-11-14 16:10 UTC (permalink / raw)
  To: gcc-help

Hi,

I am trying to build the gcc svn-trunk, in order to play with the
latest C++0x-features.

Since upgrading from Ubuntu 11.04, I have trouble building gcc.

The configure command below used to work:
configure --prefix=/home/dirk/local --enable-languages=c,c++,lto

With the new release I get an error-message:
/usr/bin/ld: cannot find crti.o: No such file or directory

This is caused by the new multiarch system-layout within Ubuntu/Debian.

Can anyone send me the correct ./configure or environment variables to
build the gcc-trunk on a stock Ubuntu 11.10?

Regards
Dirk Moermans

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

* Re: building gcc trunk on ubuntu11.10
  2011-11-14 16:10 building gcc trunk on ubuntu11.10 Dirk Moermans
@ 2011-11-14 18:01 ` Marc Glisse
  2011-11-15  9:30   ` Miles Bader
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Glisse @ 2011-11-14 18:01 UTC (permalink / raw)
  To: Dirk Moermans; +Cc: gcc-help

On Mon, 14 Nov 2011, Dirk Moermans wrote:

> I am trying to build the gcc svn-trunk, in order to play with the
> latest C++0x-features.
>
> Since upgrading from Ubuntu 11.04, I have trouble building gcc.
>
> The configure command below used to work:
> configure --prefix=/home/dirk/local --enable-languages=c,c++,lto
>
> With the new release I get an error-message:
> /usr/bin/ld: cannot find crti.o: No such file or directory
>
> This is caused by the new multiarch system-layout within Ubuntu/Debian.
>
> Can anyone send me the correct ./configure or environment variables to
> build the gcc-trunk on a stock Ubuntu 11.10?

export LIBRARY_PATH=/usr/lib/your_machines_triplet

or you can reuse the patches from the gcc-snapshot package (or even just 
use that package so you don't need to compile).

-- 
Marc Glisse

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

* Re: building gcc trunk on ubuntu11.10
  2011-11-14 18:01 ` Marc Glisse
@ 2011-11-15  9:30   ` Miles Bader
  2011-12-16  9:45     ` Dirk Moermans
  0 siblings, 1 reply; 4+ messages in thread
From: Miles Bader @ 2011-11-15  9:30 UTC (permalink / raw)
  To: gcc-help; +Cc: Dirk Moermans

Marc Glisse <marc.glisse@inria.fr> writes:
> or you can reuse the patches from the gcc-snapshot package (or even just
> use that package so you don't need to compile).

I highly recommend the latter -- it's a painless way to enjoy a very
recent gcc (it's updated once or twice a month).

-Miles

-- 
Abstainer, n. A weak person who yields to the temptation of denying himself a
pleasure. A total abstainer is one who abstains from everything but
abstention, and especially from inactivity in the affairs of others.

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

* Re: building gcc trunk on ubuntu11.10
  2011-11-15  9:30   ` Miles Bader
@ 2011-12-16  9:45     ` Dirk Moermans
  0 siblings, 0 replies; 4+ messages in thread
From: Dirk Moermans @ 2011-12-16  9:45 UTC (permalink / raw)
  To: gcc-help

Miles Bader <miles <at> gnu.org> writes:

> 
> Marc Glisse <marc.glisse <at> inria.fr> writes:
> > or you can reuse the patches from the gcc-snapshot package (or even just
> > use that package so you don't need to compile).
> 
> I highly recommend the latter -- it's a painless way to enjoy a very
> recent gcc (it's updated once or twice a month).
> 
> -Miles
> 

I was unsuccessful with the configure command. I am now using the gcc-snapshot.

Dirk



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

end of thread, other threads:[~2011-12-16  9:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-14 16:10 building gcc trunk on ubuntu11.10 Dirk Moermans
2011-11-14 18:01 ` Marc Glisse
2011-11-15  9:30   ` Miles Bader
2011-12-16  9:45     ` Dirk Moermans

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