Hints on reconfiguring GCC

Iain Sandoe iain@sandoe.co.uk
Sun Oct 15 13:00:47 GMT 2023


Hi Ryan,

It’s always a good idea to send questions to the mailing list (that gives other people a chance to answer this - probably better than me). 

----

> On 15 Oct 2023, at 13:40, R jd <3246251196ryan@gmail.com> wrote:

> my name is Ryan. I am part of a team that ensures that GCC is ported for AmigaOS4 and the next generation hardware.

:-)

> My question is in regards to the GCC repository (https://github.com/gcc-mirror/gcc) at the time of commit id: 2d280e7eafc086e9df85f50ed1a6526d6a3a204d (GCC 11).
> 
> I am trying to make a change to libstdc++-v3's crossconfig.m4 file which defines some things that are used in configure.ac which, in turn, generates the configure file.
> 
> I have built from source AUTOCONF 2.69 and AUTOMAKE 1.15.1 which seem to be the correct versions at the time. I have prepended the binary locations to my PATH.
> 
> Before making my desired change, if I go into libstdc++-v3 and just run "autoreconf" I see that "configure" has changed. I would have expected no change.

First, I would take a look at what kinds of change have been made to configure - it’s not impossible for things to get out of sync.  If it’s just script line numbers, for example, you can probably carry on with your changes.

I tend to use “autoreconf -fv” (but the basic principle is much the same) 

> I am just wondering if you have any ideas.

If you have the choice (I have no idea whether 2d280e7eafc086e9df85f50ed1a6526d6a3a204d is a commit that corresponds to a release) - perhaps pick a commit that corresponds to a released version of the branch (at least as a starting point).

HTH & g/l
Iain

> For more information you can also see: https://github.com/sba1/adtools/pull/149.
> 
> Regards,
> Ryan.



More information about the Gcc mailing list