Web lists-archives.com

Re: [Mingw-msys] [mingw - MSYS] Windows Environment Variables set to paths




It's not actually in the gcc source directory it's one level over it.
All in all I do not yet know why it does not work, so I finally tried
by updating msys to the 1.0.11 preview and it work perfectly.  Thanks
for your help nonetheless.

Jonathan Blanchard


On Wed, Jul 9, 2008 at 11:41 PM, JonY <10walls@xxxxxxxxx> wrote:
> Jonathan Blanchard wrote:
>>
>> Yeah sorry about the threading when I posted my message I had just
>> subscribed and for some reason I did not receive the first reply. My
>> attempt at replying correctly apparently failed but it should work
>> now.
>>
>> So first my build environment :
>> msys 1.0.10
>> TDM-gcc 4.3.1 gcc build
>> + all the mingw stuff installed in C:\MinGW and msys at the default
>> location.
>>
>> Compile step:
>> First I compiled, checked and installed gmp and mpfr everything good
>> at that point.
>>
>> The configured gcc gcc-4.4-20080704 in this example but I had the same
>> result with the official 4.3.0
>>
>> Configure cmd :
>>
>> ./gcc-4.3.0/configure --prefix=/mingw --disable-bootstrap
>> --build=mingw32 --program-prefix="" --with-as=/mingw/bin/as.exe
>> --with-ld=/mingw/bin/ld.exe --with-gcc --with-gnu-ld --with-gnu-as
>> --enable-languages=c,c++,objc,fortran --disable-nls
>> --disable-win32-registry --disable-werror --enable-sjlj-exceptions
>> --enable-threads=win32 --disable-symvers --disable-libstdcxx-pch
>> --enable-version-specific-runtime-libs
>> --enable-cxx-flags='-fno-function-sections -fno-data-sections'
>> --enable-fully-dynamic-string --enable-libgomp
>> --enable-checking=release
>
> Hi,
>
> Try running configure in a _different_ directory tree from the source,
> eg C:\gcc-srcdir and C:\gcc-objdir, this is what the gcc manual recomends
> (read mandates).
>
> It is also important that you not build it where much MSYS path translation
> is needed, it may break many of the support scripts, at least that what
> happened when I first tried building gcc.
>
>>
>> Then I just invoke mingw32-make on the command line. it goes on up to
>> the first point where the newly build compiler xgcc is used and fail
>> with the aforementioned errors. Not much more to say about it. As I
>> said it used to work. I tried uninstalling msys and deleting
>> everything without any luck. Anyways I certainly appreciate any
>> solution for this problem. Until then I gonna play around a bit with
>> gcc makefiles.
>>
>> Here are my environment variables :
>>
>> $ export -p
>> export !::="::\\"
>> export !C:="C:\\msys\\1.0\\bin"
>> export ALLUSERSPROFILE="C:\\Documents and Settings\\All Users"
>> export APPDATA="C:\\Documents and Settings\\jo\\Application Data"
>> export AV_APPDATA="C:\\DOCUME~1\\jo\\APPLIC~1"
>> export BGCOLOR="LightYellow"
>> export CLASSPATH=".;C:\\Program
>> Files\\Java\\jre1.6.0_06\\lib\\ext\\QTJava.zip"
>> export CLIENTNAME="Console"
>> export COLORFGBG="default;default"
>> export COLORTERM="rxvt"
>> export COMMONPROGRAMFILES="C:\\Program Files\\Common Files"
>> export COMPUTERNAME="MONCOMP"
>> export COMSPEC="C:\\WINDOWS\\system32\\cmd.exe"
>> export DISPLAY=":0"
>> export FGCOLOR="Navy"
>> export FP_NO_HOST_CHECK="NO"
>> export GS_PROG="C:\\Program Files\\gs\\gs8.60\\bin\\gswin32c.exe"
>> export HISTFILE="/home/jo/.bash_history"
>> export HOME="/home/jo"
>> export HOMEDRIVE="C:"
>> export HOMEPATH="\\"
>> export HOSTNAME="MONCOMP"
>> export HOSTTYPE="i686"
>> export LOGNAME="jo"
>> export LOGONSERVER="\\\\MONCOMP"
>> export MACHTYPE="i686-pc-msys"
>> export MAKE_MODE="unix"
>> export MINGW32BGCOLOR="LightYellow"
>> export MINGW32FGCOLOR="Navy"
>> export MSYSBGCOLOR="White"
>> export MSYSFGCOLOR="Black"
>> export MSYSTEM="MINGW32"
>> export NUMBER_OF_PROCESSORS="2"
>> export OLDPWD="/usr/bin"
>> export OS="Windows_NT"
>> export OSTYPE="msys"
>> export
>> PATH=".:/usr/local/bin:/mingw/bin:/bin:/c/WinAVR-20080610/bin:/c/WinAVR-2
>>            0080610/utils/bin:/c/Program Files/Rockwell
>> Software/RSCommon:/c/WINDOWS/system3
>> 2:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program Files/Common
>> Files/GTK/2.0/bin:            /c/Program
>> Files/QuickTime/QTSystem/:/c/Program Files/teraterm:/c/Program Files/
>>           PuTTY:/c/Program Files/Nmap:/c/Program
>> Files/Druide/Antidote:/c/PROGRA~1/Druide/            Antidote"
>> export PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"
>> export PROCESSOR_ARCHITECTURE="x86"
>> export PROCESSOR_IDENTIFIER="x86 Family 6 Model 15 Stepping 6,
>> GenuineIntel"
>> export PROCESSOR_LEVEL="6"
>> export PROCESSOR_REVISION="0f06"
>> export PROGRAMFILES="C:\\Program Files"
>> export PROMPT="\$P\$G"
>> export PS1="\\[\\033]0;\$MSYSTEM:\\w\\007\
>> \\033[32m\\]\\u@\\h \\[\\033[33m\\w\\033[0m\\]\
>> \$ "
>> export PWD="/home/jo"
>> export QTJAVA="C:\\Program Files\\Java\\jre1.6.0_06\\lib\\ext\\QTJava.zip"
>> export SESSIONNAME="Console"
>> export SHELL="/bin/sh"
>> export SHLVL="1"
>> export SSI_ACT="40,40,80"
>> export SYSTEMDRIVE="C:"
>> export SYSTEMROOT="C:\\WINDOWS"
>> export TEMP="/tmp"
>> export TERM="msys"
>> export TMP="/tmp"
>> export USERNAME="jo"
>> export USERPROFILE="C:\\Documents and Settings\\jo"
>> export WINDIR="C:\\WINDOWS"
>>
>>
>> Jonathan Blanchard
>>
>>
>
> Nothing seems to be wrong with your environment.
>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys