logo       

[mingw - MSYS] RE: GCC in mounted directories: msg#00067

gnu.mingw.msys

Subject: [mingw - MSYS] RE: GCC in mounted directories


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3549418
By: felix14

Hi. The problem only seems to occur on when I try and mount a directory from
a network-mounted drive. Mounting works fine with local hard disk directories.
MSYS is in a separate directory from MinGW, with a mount option to link them.
I can compile and run programs with no difficulties as long as they reside on
the local hard drive. The output of gcc with the -v switch is:

$ gcc hello.c -o hello.exe -v
Using built-in specs.
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable-languages=c++,f77,objc --disable-win32-registry --disable-shared
--enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)
cc1 -lang-c -v -iprefix C:\progra~1\EGCS\lib\gcc-lib\mingw32/3.2.3/
-D__GNUC__=3
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=3 -D__GXX_ABI_VERSION=102 -D_WIN32
-D__WIN32 -D__WIN32__ -DWIN32 -D__MINGW32__ -D__MSVCRT__ -DWINNT -D_X86_=1
-D_WIN32
-D__WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__ -D__MSVCRT__ -D__WINNT__
-D_X86_=1
-D__WIN32 -D__WINNT -Asystem=winnt -D__NO_INLINE__ -D__STDC_HOSTED__=1
-Acpu=i386
-Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__
-D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__))
-D__fastcall=__attribute__((__fastcall__))
-D_stdcall=__attribute__((__stdcall__))
-D_cdecl=__attribute__((__cdecl__)) -D_fastcall=__attribute__((__fastcall__))
-D__declspec(x)=__attribute__((x)) hello.c -quiet -dumpbase hello.c -version
-o C:/TEMP/ccEhaaaa.s
gcc.exe: installation problem, cannot exec `cc1': No such file or directory

msysinfo all gives:

$ msysinfo all
msysinfo-1.3: Send this to the MSYS support list:

MSYS 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown; targ=MINGW32
GNU bash, version 2.04.0(1)-release (i686-pc-msys); ENV=.profile
GNU Make version 3.79.1,Built for i686-pc-msys; MAKE_MODE=unix
gcc.exe (GCC) 3.2.3 (mingw special 20030504-1); targ=MINGW32
GNU ld version 2.13.90 20030111
789320 Tue Mar 16 13:32:49 2004 /bin/msys-1.0.dll
135680 Tue Mar 16 13:32:48 2004 /bin/make.exe
82432 Sun May 04 22:38:20 2003 /mingw/bin/gcc.exe
566272 Sun Jan 12 05:42:48 2003 /mingw/bin/ld.exe
HOME=/home/ajc189
Sysname=MINGW32_NT-5.1 OSTYPE=msys TERM=msys
PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WIN
DOWS:/c/WINDOWS/System32/Wbem:/o/miktex/bin:/c/progra~1/egcs/bin
:/c/progra~1/pscad401/bin/ffilter:/c/MODELTECH/win32://elec.cant
erbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/tools/bin://elec.ca
nterbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/tools/specctra/bi
n://elec.canterbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/tools/
pcb/bin://elec.canterbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/
tools/fet/bin://elec.canterbury.ac.nz/root/commonapp/CADENCE/SPB
_15.2/tools/Capture:%//elec.canterbury.ac.nz/root/commonapp/CADE
NCE/SPB_15.2%/tools/bin:%//elec.canterbury.ac.nz/root/commonapp/
CADENCE/SPB_15.2%/tools/specctra/bin:%//elec.canterbury.ac.nz/ro
ot/commonapp/CADENCE/SPB_15.2%/tools/pcb/bin:%//elec.canterbury.
ac.nz/root/commonapp/CADENCE/SPB_15.2%/tools/fet/bin:%//elec.can
terbury.ac.nz/root/commonapp/CADENCE/SPB_15.2%/tools/Capture
$ ls -tx /home/ajc189/tempj
hello.c

bbfe534c85236d94683f3461829ef10b */bin/msys-1.0.dll
0e7941487ca8156a25b46b0b8f9a8bd9 */bin/make.exe
aad05e77b37da603d3097824834fdfc8 */mingw/bin/gcc.exe
2a5cf34e94bb25814907a8111fd937a7 */mingw/bin/ld.exe

In /etc/fstab:
c:/MinGW /mingw
c:/holdit /home/ajc189/temp
i:/src/ /home/ajc189/tempi
j:/documents/hold/temp /home/ajc189/tempj

In /etc/profile:
export PATH=".:/usr/local/bin:/mingw/bin:/bin:$PATH"
export PATH=".:/usr/local/bin:/bin:/mingw/bin:$PATH"
export HOME LOGNAME MSYSTEM HISTFILE
export MAKE_MODE=unix
export PS1='\[\033]0;$MSYSTEM:\w\007

%%% MSYS dll major: 1000
%%% MSYS dll minor: 10
%%% MSYS dll epoch: 19
%%% MSYS dll bad signal mask: 19005
%%% MSYS dll old termios: 5
%%% MSYS dll malloc env: 28
%%% MSYS api major: 0
%%% MSYS api minor: 46
%%% MSYS shared data: 3
%%% MSYS dll identifier: cygwin1
%%% MSYS mount registry: 2
%%% MSYS cygnus registry name: msys
%%% MSYS cygwin registry name: 1.0
%%% MSYS program options name: Program Options
%%% MSYS cygwin mount registry name: mounts v2
%%% MSYS cygdrive flags: cygdrive flags
%%% MSYS cygdrive prefix: cygdrive prefix
%%% MSYS cygdrive default prefix:
%%% MSYS build date: Mon Mar 15 07:17:24 EST 2004
%%% MSYS shared id: cygwin1S3

!::='::\'
!C:='C:\msys\1.0\bin'
ALLUSERSPROFILE='C:\WINDOWS\profiles\All Users'
APPDATA='\\coanda\ajc189$\application data'
AWR_LICENSE_FILE='C:\WINDOWS\AWR.LIC'
BASH=/usr/bin/sh
BASH_VERSINFO=([0]="2" [1]="04" [2]="0" [3]="1" [4]="release"
[5]="i686-pc-msys")
BASH_VERSION='2.04.0(1)-release'
BGCOLOR=LightYellow
CDSROOT='\\elec.canterbury.ac.nz\root\commonapp\CADENCE\SPB_15.2
'
CDS_LIC_FILE=5280@ZIPSERVER
COLORFGBG='default;default'
COLORTERM=rxvt
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=ELECPG74
COMSPEC='C:\WINDOWS\system32\cmd.exe'
CONCEPT_INST_DIR='\\elec.canterbury.ac.nz\root\commonapp\CADENCE
\SPB_15.2'
DIRSTACK=()
DISPLAY=:0
EUID=500
FGCOLOR=Navy
FP_NO_HOST_CHECK=NO
FULLNAME='Antony James Culliford'
GCC_EXEC_PREFIX='C:\progra~1\EGCS\lib\gcc-lib\'
GROUPS=()
HISTFILE=/home/ajc189/.bash_history
HOME=/home/ajc189
HOMEDRIVE='\\'
HOMEPATH='coanda\ajc189$'
HOMESHARE='\\coanda\ajc189$'
HOSTNAME=ELECPG74
HOSTTYPE=i686
IFS='
'
ITHOME='\\CANTWS1\USERS\ajc189'
LM_LICENSE_FILE=1717@ZIPSERVER
LOCATION=staff
LOGNAME=ajc189
LOGONSERVER='\\ENGCAD3'
MACHTYPE=i686-pc-msys
MAKE_MODE=unix
MINGW32BGCOLOR=LightYellow
MINGW32FGCOLOR=Navy
MONTH=January
MSYSBGCOLOR=White
MSYSFGCOLOR=Black
MSYSTEM=MINGW32
NUMBER_OF_PROCESSORS=2
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=msys
PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WIN
DOWS:/c/WINDOWS/System32/Wbem:/o/miktex/bin:/c/progra~1/egcs/bin
:/c/progra~1/pscad401/bin/ffilter:/c/MODELTECH/win32://elec.cant
erbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/tools/bin://elec.ca
nterbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/tools/specctra/bi
n://elec.canterbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/tools/
pcb/bin://elec.canterbury.ac.nz/root/commonapp/CADENCE/SPB_15.2/
tools/fet/bin://elec.canterbury.ac.nz/root/commonapp/CADENCE/SPB
_15.2/tools/Capture:%//elec.canterbury.ac.nz/root/commonapp/CADE
NCE/SPB_15.2%/tools/bin:%//elec.canterbury.ac.nz/root/commonapp/
CADENCE/SPB_15.2%/tools/specctra/bin:%//elec.canterbury.ac.nz/ro
ot/commonapp/CADENCE/SPB_15.2%/tools/pcb/bin:%//elec.canterbury.
ac.nz/root/commonapp/CADENCE/SPB_15.2%/tools/fet/bin:%//elec.can
terbury.ac.nz/root/commonapp/CADENCE/SPB_15.2%/tools/Capture
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=3304
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 15 Model 2 Stepping 9,
GenuineIntel'
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0209
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS4='+ '
PWD=/home/ajc189/tempj
SESSIONNAME=Console
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=2
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TANNERHOST=132.181.51.108
TANNERHOST2=local
TEMP=/tmp
TERM=msys
TMP=/tmp
UID=500
USERDNSDOMAIN=ENG.CANTERBURY.AC.NZ
USERDOMAIN=ENG
USERNAME=ajc189
USERPROFILE='C:\WINDOWS\profiles\ajc189'
WINDIR='C:\WINDOWS'
WINDOWID=167838920
_=echo

$ msysinfo all >msysinfo.txt will save this to a file

Thanks for the help.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=338575


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise