This is the mail archive of the 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]
Other format: [Raw text]

wiki topics wish (configuration related)

Dear All

If this is annopropriate here, please accept my apologies

There are several topics that I wish to be covered a bit on the Wiki (or
some other documentations), mostly related to configuration (and autoconf,
with which I am not very familiar, especially in the context of GCC whose
configuration is quite complex).

0. I am not sure to understand exactly the steps (and commands to run) when
touching to a file... I made an educated guess which happens to
work most of the time. (In particular it seems that autconf2.60 works even
if 2.59 is required)

1. How to add a pass on Gimple/SSA (this is something I know how) which can
be disabled at GCC configuration time, ie add a pass in a source tree-FOO.c
(and of course in passes.c) which can be disabled by a --disable-FOO
configure switch? When enabled, the pass adds a new -fdo-FOO flag (which
should be absent if disabled) at the newly built gcc & cc1 runtime.

2. How to add an external library (I actually am thinking of mysqlclient or
gdbm or dl -for dlopen- and probably the Parma Polyhedral library) which can
be disabled by such a --disable-FOO configure switch, and which, when
enabled at configure with --enable-FOO, is actually checked for (in
particular, availability of header files, test of minimal features); When
enabled I want these new libraries to be linked into the newly built cc1 and

PS. I'm just beginning to work on adding more global static analysis passes
into GCC.

email: basile<at>starynkevitch<dot>net 
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France

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