public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC for Windows
@ 2022-12-17  8:10 Oleksii Khramkov
  2022-12-17  9:07 ` i.nixman
  0 siblings, 1 reply; 17+ messages in thread
From: Oleksii Khramkov @ 2022-12-17  8:10 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

Dear Sir / Madam

I am writing to request your help with the installation of GCC for Windows.

I'm an embedded C developer and I have a task to adapt a python script for
Windows that creates devise tree files for the required sample. Inside the
script, GCC is called to compile C files. I never came across using GCC on
Windows. Can you advise on how to install GCC for Windows, if it is
possible?

Thanks and best wishes,

Yours faithfully,

Oleksii Khramkov

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

* Re: GCC for Windows
  2022-12-17  8:10 GCC for Windows Oleksii Khramkov
@ 2022-12-17  9:07 ` i.nixman
       [not found]   ` <CAHe=5EB4KPGLFuYkZrB0ur-FbHAFm0z85qrvQe+gkc+sH=q40g@mail.gmail.com>
  0 siblings, 1 reply; 17+ messages in thread
From: i.nixman @ 2022-12-17  9:07 UTC (permalink / raw)
  To: Oleksii Khramkov; +Cc: gcc-help


Hello,

just a two questions:

1) what is target OS/ARCH oft the compiled programs?
2) which additional third-party libs is required for the generated C 
files to build?




best!


On 2022-12-17 08:10, Oleksii Khramkov via Gcc-help wrote:
> Dear Sir / Madam
> 
> I am writing to request your help with the installation of GCC for 
> Windows.
> 
> I'm an embedded C developer and I have a task to adapt a python script 
> for
> Windows that creates devise tree files for the required sample. Inside 
> the
> script, GCC is called to compile C files. I never came across using GCC 
> on
> Windows. Can you advise on how to install GCC for Windows, if it is
> possible?
> 
> Thanks and best wishes,
> 
> Yours faithfully,
> 
> Oleksii Khramkov

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

* Re: GCC for Windows
       [not found]   ` <CAHe=5EB4KPGLFuYkZrB0ur-FbHAFm0z85qrvQe+gkc+sH=q40g@mail.gmail.com>
@ 2022-12-21  7:42     ` i.nixman
  2022-12-21  7:55       ` Jonathan Wakely
  0 siblings, 1 reply; 17+ messages in thread
From: i.nixman @ 2022-12-21  7:42 UTC (permalink / raw)
  To: Oleksii Khramkov; +Cc: Gcc Help


hello,

then just download one of: 
https://github.com/niXman/mingw-builds-binaries/releases



best!


On 2022-12-20 20:35, Oleksii Khramkov wrote:
> Hello,
> 
> 1) It doesn't matter. The customer wants to create device tree files on
> Windows, but then use these files on Unix.
> The funny thing is that this script works fine on ubuntu. But it 
> doesn't
> suit them.
> 2)  In this case, I use only default C libs.
> I just need advice on how to install GCC for Windows and make it 
> possible
> to be called from PowerShell like in the Linux shell.
> 
> Thanks and best wishes,
> 
> Yours faithfully,
> 
> Oleksii Khramkov
> 
> сб, 17 груд. 2022 р. о 11:07 <i.nixman@autistici.org> пише:
> 
>> 
>> Hello,
>> 
>> just a two questions:
>> 
>> 1) what is target OS/ARCH oft the compiled programs?
>> 2) which additional third-party libs is required for the generated C
>> files to build?
>> 
>> 
>> 
>> 
>> best!
>> 
>> 
>> On 2022-12-17 08:10, Oleksii Khramkov via Gcc-help wrote:
>> > Dear Sir / Madam
>> >
>> > I am writing to request your help with the installation of GCC for
>> > Windows.
>> >
>> > I'm an embedded C developer and I have a task to adapt a python script
>> > for
>> > Windows that creates devise tree files for the required sample. Inside
>> > the
>> > script, GCC is called to compile C files. I never came across using GCC
>> > on
>> > Windows. Can you advise on how to install GCC for Windows, if it is
>> > possible?
>> >
>> > Thanks and best wishes,
>> >
>> > Yours faithfully,
>> >
>> > Oleksii Khramkov
>> 
>> 

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

* Re: GCC for Windows
  2022-12-21  7:42     ` i.nixman
@ 2022-12-21  7:55       ` Jonathan Wakely
  0 siblings, 0 replies; 17+ messages in thread
From: Jonathan Wakely @ 2022-12-21  7:55 UTC (permalink / raw)
  To: Oleksii Khramkov; +Cc: Gcc Help, i.nixman

As explained at https://gcc.gnu.org/install/binaries.html the GCC
project does not provide precompiled binaries, only source code.

For Windows there are several places to download binaries, such as
nixman's link below, or the mingw-w64 project, or
https://nuwen.net/mingw.html or tdm-gcc.

On Wed, 21 Dec 2022 at 07:43, i.nixman--- via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
>
> hello,
>
> then just download one of:
> https://github.com/niXman/mingw-builds-binaries/releases
>
>
>
> best!
>
>
> On 2022-12-20 20:35, Oleksii Khramkov wrote:
> > Hello,
> >
> > 1) It doesn't matter. The customer wants to create device tree files on
> > Windows, but then use these files on Unix.
> > The funny thing is that this script works fine on ubuntu. But it
> > doesn't
> > suit them.
> > 2)  In this case, I use only default C libs.
> > I just need advice on how to install GCC for Windows and make it
> > possible
> > to be called from PowerShell like in the Linux shell.
> >
> > Thanks and best wishes,
> >
> > Yours faithfully,
> >
> > Oleksii Khramkov
> >
> > сб, 17 груд. 2022 р. о 11:07 <i.nixman@autistici.org> пише:
> >
> >>
> >> Hello,
> >>
> >> just a two questions:
> >>
> >> 1) what is target OS/ARCH oft the compiled programs?
> >> 2) which additional third-party libs is required for the generated C
> >> files to build?
> >>
> >>
> >>
> >>
> >> best!
> >>
> >>
> >> On 2022-12-17 08:10, Oleksii Khramkov via Gcc-help wrote:
> >> > Dear Sir / Madam
> >> >
> >> > I am writing to request your help with the installation of GCC for
> >> > Windows.
> >> >
> >> > I'm an embedded C developer and I have a task to adapt a python script
> >> > for
> >> > Windows that creates devise tree files for the required sample. Inside
> >> > the
> >> > script, GCC is called to compile C files. I never came across using GCC
> >> > on
> >> > Windows. Can you advise on how to install GCC for Windows, if it is
> >> > possible?
> >> >
> >> > Thanks and best wishes,
> >> >
> >> > Yours faithfully,
> >> >
> >> > Oleksii Khramkov
> >>
> >>

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

* Re: gcc for windows
  2008-03-31  7:25         ` Sisyphus
@ 2008-03-31 10:17           ` Sisyphus
  0 siblings, 0 replies; 17+ messages in thread
From: Sisyphus @ 2008-03-31 10:17 UTC (permalink / raw)
  To: NightStrike; +Cc: gcc-help


----- Original Message ----- 
From: "Sisyphus" <sisyphus1@optusnet.com.au>
.
.
> Thanks for the link, NightStrike - it was worth a shot. (And, I might even 
> have some success, yet, if I persevere.)

Seems to work ok if I:
1) also add x86_64-pc-mingw32\bin and libexec\gcc\x86_64-pc-mingw32\4.4.0 to 
the path;
2) set the CPATH environment variable to include both the 
x86_64-pc-mingw32\include and include folders;
3) set the LIBRARY_PATH environment variable to include the 
x86_64-pc-mingw32\lib, lib and lib\gcc\x86_64-pc-mingw32\4.4.0 folders.

I can then even compile C programs that need to link to the gmp and mpfr 
libraries (as supplied in mingw-w64-bin-gmp-mpfr.tar.bz2 , which is also 
available from 
http://sourceforge.net/project/showfiles.php?group_id=202880&package_id=245516&release_id=546049 ) 
.

This workaround (to what still has all the hallmarks of being the "Vista 
access problem") has probably always existed, but it's only in the last week 
or so that I found out about the CPATH and LIBRARY_PATH environment 
variables.

So it looks like I might have something to work with at last - though it's 
still early days, and I'm not yet ready to declare "problems solved".

Cheers,
Rob

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

* Re: gcc for windows
  2008-03-30 13:31       ` NightStrike
@ 2008-03-31  7:25         ` Sisyphus
  2008-03-31 10:17           ` Sisyphus
  0 siblings, 1 reply; 17+ messages in thread
From: Sisyphus @ 2008-03-31  7:25 UTC (permalink / raw)
  To: NightStrike; +Cc: gcc-help


----- Original Message ----- 
.
.
>> C:\_64\C>type try.c
>> #include <stdio.h>
>> int main() {
>>    printf("hello world\n");
>>    return 0;
>> }
>>
>> C:\_64\C>x86_64-pc-mingw32-gcc -o try.exe try.c
>> x86_64-pc-mingw32-gcc: CreateProcess: No such file or directory
>
> This issue was fixed so that access() is always properly handled.

I removed my existing installations of mingw64 (none of which worked, 
anyway). And I downloaded mingw-w64-bin-x86_64-mingw_20080320.tar.bz2 from 
http://sourceforge.net/project/showfiles.php?group_id=202880&package_id=245516&release_id=546049 .

I'm on an AMD64 box - I think that was binary I was supposed to grab. 
(Please let me know if I've gone off and found the wrong file.)

I unpacked that tarball to C:\_64\mingw64 and prepended C:\_64\mingw64\bin 
to my path. The following looks right to me:

------------------------------------
C:\_64\C>gcc -v
Using built-in specs.
Target: x86_64-pc-mingw32
Configured with: 
../gcc/configure --target=x86_64-pc-mingw32 --prefix=/tmp/win64
root --with-sysroot=/tmp/win64root --host=x86_64-pc-mingw32 --disable-nls --with
-gmp=/tmp/mathwin64 --with-mpfr=/tmp/mathwin64
Thread model: win32
gcc version 4.4.0 20080320 (experimental) (GCC)
------------------------------------

Unfortunately, trying to build my 'hello' program still fails in exactly the 
same way as before.

------------------------------------
C:\_64\C>gcc -o try.exe try.c
gcc: CreateProcess: No such file or directory
------------------------------------

If that's not the access() problem, then it must be something else :-)

I'll try googling that error and chasing it down - though I'm anticipating 
it will be a wild goose chase.

Any advice on things to try will be gratefully accepted.

Thanks for the link, NightStrike - it was worth a shot. (And, I might even 
have some success, yet, if I persevere.)

Cheers,
Rob

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

* Re: gcc for windows
  2008-03-30 10:20     ` Sisyphus
@ 2008-03-30 13:31       ` NightStrike
  2008-03-31  7:25         ` Sisyphus
  0 siblings, 1 reply; 17+ messages in thread
From: NightStrike @ 2008-03-30 13:31 UTC (permalink / raw)
  To: Sisyphus; +Cc: Tim Prince, Rodolfo Lima, gcc-help

On 3/30/08, Sisyphus <sisyphus1@optusnet.com.au> wrote:
>
> ----- Original Message -----
> From: "Tim Prince" <tprince@myrealbox.com>
> .
> .
> > The following URL has the most up to date pre-built gnu C and Fortran,
> > including 64-bit mingw with support libraries (but no C++):
> > http://gcc.gnu.org/wiki/GFortranBinaries
>
> Unfortunately (for me, anyway) the 64-bit mingw that's available there
> doesn't work with Vista. It suffers from the well known access() problem on
> Vista. I find it extremely frustrating that there's still no 64-bit gcc
> compiler available for Vista 64 users ... but no-one else seems to give a
> shit.

I know a few people that care, myself included.  Go here:

http://mingw-w64.sf.net/

The natively hosted gfortran still doesn't work, however, and
segfaults on Hello, World (This is not the access() issue... that
issue doesn't exist anymore).  You have to cross compile it.  If you'd
like to help fix it, there's a bug open that I wrote for the issue:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35159

There is a company aclled "EquationWorld" or something like that that
figured out how to get a working gfortran compiler, but I'm not quite
sure how they did it.  I think they did a combination of things,
including shutting off all optimization.


> C:\_64\C>type try.c
> #include <stdio.h>
> int main() {
>    printf("hello world\n");
>    return 0;
> }
>
> C:\_64\C>x86_64-pc-mingw32-gcc -o try.exe try.c
> x86_64-pc-mingw32-gcc: CreateProcess: No such file or directory

This issue was fixed so that access() is always properly handled.

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

* Re: gcc for windows
  2008-03-23 21:06   ` Tim Prince
@ 2008-03-30 10:20     ` Sisyphus
  2008-03-30 13:31       ` NightStrike
  0 siblings, 1 reply; 17+ messages in thread
From: Sisyphus @ 2008-03-30 10:20 UTC (permalink / raw)
  To: Tim Prince, Rodolfo Lima; +Cc: gcc-help


----- Original Message ----- 
From: "Tim Prince" <tprince@myrealbox.com>
.
.
> The following URL has the most up to date pre-built gnu C and Fortran, 
> including 64-bit mingw with support libraries (but no C++):
> http://gcc.gnu.org/wiki/GFortranBinaries

Unfortunately (for me, anyway) the 64-bit mingw that's available there 
doesn't work with Vista. It suffers from the well known access() problem on 
Vista. I find it extremely frustrating that there's still no 64-bit gcc 
compiler available for Vista 64 users ... but no-one else seems to give a 
shit.

C:\_64\C>type try.c
#include <stdio.h>
int main() {
    printf("hello world\n");
    return 0;
}

C:\_64\C>x86_64-pc-mingw32-gcc -o try.exe try.c
x86_64-pc-mingw32-gcc: CreateProcess: No such file or directory

Cheers,
Rob 

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

* Re: gcc for windows
  2008-03-23 19:06 ` Rodolfo Lima
@ 2008-03-23 21:06   ` Tim Prince
  2008-03-30 10:20     ` Sisyphus
  0 siblings, 1 reply; 17+ messages in thread
From: Tim Prince @ 2008-03-23 21:06 UTC (permalink / raw)
  To: Rodolfo Lima; +Cc: gcc-help

Rodolfo Lima wrote:
> Freeman Gilmore escreveu:
>> Hi:
>>
>> Is there a windows version of gcc [c++], if so were do i find it [URL]?
>>
>> Thanks,
>> fg
> 
> Try http://www.mingw.org.
> 
> PS: entering "windows gcc" on google and hitting "I'm Feeling Lucky" 
> button is faster than posting on this newsgroup, and leads to the same 
> answer.

Which ignores several alternatives you may prefer, including www.cygwin.com
The following URL has the most up to date pre-built gnu C and Fortran, 
including 64-bit mingw with support libraries (but no C++):
http://gcc.gnu.org/wiki/GFortranBinaries

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

* Re: gcc for windows
  2008-03-23 18:47 gcc for windows Freeman Gilmore
@ 2008-03-23 19:06 ` Rodolfo Lima
  2008-03-23 21:06   ` Tim Prince
  0 siblings, 1 reply; 17+ messages in thread
From: Rodolfo Lima @ 2008-03-23 19:06 UTC (permalink / raw)
  To: gcc-help

Freeman Gilmore escreveu:
> Hi:
> 
> Is there a windows version of gcc [c++], if so were do i find it [URL]?
> 
> Thanks,
> fg

Try http://www.mingw.org.

PS: entering "windows gcc" on google and hitting "I'm Feeling Lucky" 
button is faster than posting on this newsgroup, and leads to the same 
answer.

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

* gcc for windows
@ 2008-03-23 18:47 Freeman Gilmore
  2008-03-23 19:06 ` Rodolfo Lima
  0 siblings, 1 reply; 17+ messages in thread
From: Freeman Gilmore @ 2008-03-23 18:47 UTC (permalink / raw)
  To: gcc-help

Hi:

Is there a windows version of gcc [c++], if so were do i find it [URL]?

Thanks,
fg

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

* GCC for Windows
  2000-03-30 13:00 GCC for Windows Owlex224
  2000-03-30 15:46 ` Alexandre Oliva
  2000-03-30 21:27 ` Curtis R. Anderson
@ 2000-04-01  0:00 ` Owlex224
  2 siblings, 0 replies; 17+ messages in thread
From: Owlex224 @ 2000-04-01  0:00 UTC (permalink / raw)
  To: help-gcc

    
    I was looking for the GCC ANSI C compiler for Windows 95/98. I am taking a
programming class, and this one was recommended. Where can I get a windows
version? Thanks

-Alex

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

* Re: GCC for Windows
  2000-03-30 21:27 ` Curtis R. Anderson
@ 2000-04-01  0:00   ` Curtis R. Anderson
  0 siblings, 0 replies; 17+ messages in thread
From: Curtis R. Anderson @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Owlex224; +Cc: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Owlex224@aol.com wrote:
> 
> 
>     I was looking for the GCC ANSI C compiler for Windows 95/98. I am taking a
> programming class, and this one was recommended. Where can I get a windows
> version? Thanks

Check with http://sourceware.cygnus.com/cygwin/ and download. There is a
patch available that provides gcc v2.95.2 for maximum flexibility.

If you need the gcc manual in .dvi form, just yell.
-- 
Curtis R. Anderson, Co-creator of "Gleepy the Hen", SP 2.5?, KoX
We eat korv, not surströmming or lutefisk in western NY. Sorry.
http://www.madbbs.com/users/gleepy/    ICQ: 50137888
mailto:gleepy@intelligencia.com        UTM: PS 7036 7315, zone 17

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

* Re: GCC for Windows
  2000-03-30 15:46 ` Alexandre Oliva
@ 2000-04-01  0:00   ` Alexandre Oliva
  0 siblings, 0 replies; 17+ messages in thread
From: Alexandre Oliva @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Owlex224; +Cc: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

On Mar 30, 2000, Owlex224@aol.com wrote:

> I was looking for the GCC ANSI C compiler for Windows 95/98. I am
> taking a programming class, and this one was recommended. Where can
> I get a windows version?

I'm pretty sure you'll find that information at http://gcc.gnu.org
There may even be links to pre-compiled versions of GCC for
MS-Windows.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

* Re: GCC for Windows
  2000-03-30 13:00 GCC for Windows Owlex224
  2000-03-30 15:46 ` Alexandre Oliva
@ 2000-03-30 21:27 ` Curtis R. Anderson
  2000-04-01  0:00   ` Curtis R. Anderson
  2000-04-01  0:00 ` Owlex224
  2 siblings, 1 reply; 17+ messages in thread
From: Curtis R. Anderson @ 2000-03-30 21:27 UTC (permalink / raw)
  To: Owlex224; +Cc: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Owlex224@aol.com wrote:
> 
> 
>     I was looking for the GCC ANSI C compiler for Windows 95/98. I am taking a
> programming class, and this one was recommended. Where can I get a windows
> version? Thanks

Check with http://sourceware.cygnus.com/cygwin/ and download. There is a
patch available that provides gcc v2.95.2 for maximum flexibility.

If you need the gcc manual in .dvi form, just yell.
-- 
Curtis R. Anderson, Co-creator of "Gleepy the Hen", SP 2.5?, KoX
We eat korv, not surströmming or lutefisk in western NY. Sorry.
http://www.madbbs.com/users/gleepy/    ICQ: 50137888
mailto:gleepy@intelligencia.com        UTM: PS 7036 7315, zone 17

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

* Re: GCC for Windows
  2000-03-30 13:00 GCC for Windows Owlex224
@ 2000-03-30 15:46 ` Alexandre Oliva
  2000-04-01  0:00   ` Alexandre Oliva
  2000-03-30 21:27 ` Curtis R. Anderson
  2000-04-01  0:00 ` Owlex224
  2 siblings, 1 reply; 17+ messages in thread
From: Alexandre Oliva @ 2000-03-30 15:46 UTC (permalink / raw)
  To: Owlex224; +Cc: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

On Mar 30, 2000, Owlex224@aol.com wrote:

> I was looking for the GCC ANSI C compiler for Windows 95/98. I am
> taking a programming class, and this one was recommended. Where can
> I get a windows version?

I'm pretty sure you'll find that information at http://gcc.gnu.org
There may even be links to pre-compiled versions of GCC for
MS-Windows.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

* GCC for Windows
@ 2000-03-30 13:00 Owlex224
  2000-03-30 15:46 ` Alexandre Oliva
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Owlex224 @ 2000-03-30 13:00 UTC (permalink / raw)
  To: help-gcc

    
    I was looking for the GCC ANSI C compiler for Windows 95/98. I am taking a
programming class, and this one was recommended. Where can I get a windows
version? Thanks

-Alex

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

end of thread, other threads:[~2022-12-21  7:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-17  8:10 GCC for Windows Oleksii Khramkov
2022-12-17  9:07 ` i.nixman
     [not found]   ` <CAHe=5EB4KPGLFuYkZrB0ur-FbHAFm0z85qrvQe+gkc+sH=q40g@mail.gmail.com>
2022-12-21  7:42     ` i.nixman
2022-12-21  7:55       ` Jonathan Wakely
  -- strict thread matches above, loose matches on Subject: below --
2008-03-23 18:47 gcc for windows Freeman Gilmore
2008-03-23 19:06 ` Rodolfo Lima
2008-03-23 21:06   ` Tim Prince
2008-03-30 10:20     ` Sisyphus
2008-03-30 13:31       ` NightStrike
2008-03-31  7:25         ` Sisyphus
2008-03-31 10:17           ` Sisyphus
2000-03-30 13:00 GCC for Windows Owlex224
2000-03-30 15:46 ` Alexandre Oliva
2000-04-01  0:00   ` Alexandre Oliva
2000-03-30 21:27 ` Curtis R. Anderson
2000-04-01  0:00   ` Curtis R. Anderson
2000-04-01  0:00 ` Owlex224

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