http://www.riscos.info/bugzilla3/show_bug.cgi?id=180





--- Comment #1 from Peter Naulls <[email protected]>  2010-01-15 12:16:59 ---
Important: All GCCSDK users please read this, since it involves some
significant changes.

At John's suggestion, I've made a script wrapper around the cpp, gcc, g++ etc
compilers, which tries to add the -isystem, -L, -Wl,rpath-link etc flags the
right time.  This is nearly the same effect as what I've suggested above,
although there are some subtle differences due to it having to guess when to
pass certain flags.

In any case, the change means most of the benefits of the original change I was
suggesting (I still think that is a better idea in future), and remove the
patches I had wanted to.  

The nominal compiler to call is now (for example):

  /home/riscos/env/arm-unknown-riscos-gcc

Where before it was:

 /home/riscos/cross/bin/arm-unknown-riscos-gcc (which is still correct for the
raw compiler if you really want).

The 'ro-make' make wrapper will pass along the correct magic in almost all
cases to the build system for non-autoconf, and 'ro-config' for autoconf
setups.

In addition, 'cc, 'gcc' etc are now in the path, so Makefiles which pointlessly
override CC, etc now work without modification.

In theory, all the original builds will continue to work, although it happens
that there's been quite a bit of unrelated upstream churn since I last tried to
build everything, so there's been other necessary fixes to packages.  

I've also removed a bunch of patches/patch hunks that are now no longer
required to the benefits of the wrappers.

For the improvements, ensure you svn up in the gcc4 directory, and rerun
"./install-env"

-- 
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to