OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 2:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: configure.ac file
PostPosted: Wed Jul 14, 2021 6:37 am 
Offline

Joined: Wed Jul 14, 2021 5:44 am
Posts: 4
Hey forum
This is probably extremely elementary, so sorry for being such a noob, yet i must ask here, because my search of information in the forum and on the web did not bear fruit:

I'm following the Bare Bones tutorial, and trying to upgrade my GCC version. my problems running the configure script turned out to be because i had no configure.ac file to run autoconf on (Duh.). so now i'm not sure how to write my configure.ac file.
since the tutorial doesn't speak of this i assume there is some default file which works for a lot of cases, maybe?
i couldn't find decisive information on this, i'll be grateful for some help on this.

thanks!


Top
 Profile  
 
 Post subject: Re: configure.ac file
PostPosted: Wed Jul 14, 2021 5:02 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5100
Which GCC are you updating: your host compiler or your cross compiler?


Top
 Profile  
 
 Post subject: Re: configure.ac file
PostPosted: Thu Jul 15, 2021 1:16 am 
Offline

Joined: Wed Jul 14, 2021 5:44 am
Posts: 4
Trying to bootstrap 9.4.0 on my host compiler which is currently 9.3.0
This is done on a ubuntu image on a VM btw


Top
 Profile  
 
 Post subject: Re: configure.ac file
PostPosted: Thu Jul 15, 2021 8:31 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5100
What makes GCC 9.4 so important that you have to build it yourself instead of waiting for the Ubuntu packages to update?

A lot of the advice on the wiki is old. The advice about updating GCC hasn't been updated since the GCC version numbering changed. If you're planning on building a GCC 9.4 cross-compiler, your GCC 9.3 host compiler will work fine.


Top
 Profile  
 
 Post subject: Re: configure.ac file
PostPosted: Thu Jul 15, 2021 2:00 pm 
Offline

Joined: Wed Jul 14, 2021 5:44 am
Posts: 4
Nothing, really. my goal is to learn as much as i can from this tutorial, through as much hands-on experience possible.

Also, the same configure command is used to build the cross-compiler, so i'll have to handle it anyway down the road.


Top
 Profile  
 
 Post subject: Re: configure.ac file
PostPosted: Thu Jul 15, 2021 2:35 pm 
Online
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
I'm puzzled by this thread. The missing file should be present in the GCC source code that you downloaded. Whether you need to build this particular version of GCC is a red herring.

I've just downloaded and untarred the source for gcc-9.4.0, from ftp.gnu.org, and can confirm that configure.ac is present in the top level of the source directory.

Download the source archive again.


Top
 Profile  
 
 Post subject: Re: configure.ac file
PostPosted: Fri Jul 16, 2021 5:55 am 
Offline

Joined: Wed Jul 14, 2021 5:44 am
Posts: 4
Ok great i downloaded the files again and i got it now.

Thank you everyone for the help!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], iansjack and 84 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group