This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: Step-By-Step Build Instructions for MinGW gcc/gcj 3.4 Compilers


Hi Erik,

>I've re-assembled in your instructions in the script below.

Thanks for this.

>(1) /data requires root permissions. Why build in a location that requires root
>permissions? Can we re-arrange stuff so that the building occurs in a directory of
>choice (probably in a home directory)?

You can create /datal as root, then chown it and build as a normal user. I
never build as root.

You can also change the directory. Forgot to mention this. Just change a single
line in scripts/build/buildenv.sh - you'll see which it is.

>(2) The patching is highly interactive, defeating the idea of using a script. Can you
>instruct the patch command to "force" stuff correctly and stop asking all
>kinds of questions?

Wouldn't this be the ideal SWT demo app you're looking for?: [Get Sources], [Build],
[Clean], [Clean Build], [Install], [All About Erik, The Amazing GCJ SWT Coder].

>If you are interested, I intend to polish the script until it automatically creates
>the three compilers (for now, for 3.3): the native linux, the cross-mingw, and the
>native mingw one; all on linux.

3.3 is more problematic. You need a cross-configury patch and updated configure
scripts if you want to avoid installing automake and autoconf. I'll follow up
on this later.

>The idea is also to avoid any possible "option". I mean, the script should take no
>options at all, if possible. If someone needs an "option", he should simply modify
>the script. We can always explain how to modify the script, but the script itself
>should have no options. There would be too many anyway.

Go for it. This has your name written all over it.

>I've completed it until the script gets to patching. That part should really be
>reviewed (and told to shut up, asking all kinds of questions).

I'll follow up with 3.3 stuff in a day or two.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





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