SV: RTEMS 4.6.4 fails on Cygwin
Ole Hansen
Ole at danelec.dk
Tue Mar 14 05:41:50 UTC 2006
Hello Joe
When you say environment, do you then mean what I see when I type:
env in the shell
or do you mean the tools I use ????
best regards
ole at danelec.dk
* Software Manager
* danelec electronics a/s
* Blokken 44
* DK-3460 Birkeroed
* DENMARK
* Phone: +45 45821879
* Fax: +45 45821979
* Email: ole at danelec.dk
* http://www.danelec.dk
* ftp://ftp.danelec.dk
* Radio call sign: oz1jru
*************************************************************
* *
* If you seek luck, luck will strike you ..... 8o) *
* *
*************************************************************
> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
> Sent: 13. marts 2006 23:54
> To: Ole Hansen
> Cc: Ralf Corsepius; RTEMS Users
> Subject: Re: SV: RTEMS 4.6.4 fails on Cygwin
>
>
> Ole Hansen wrote:
>
> >Hello Joe
> >
> >Are there any preferences of version of GCC + tools to use
> for building crossgcc ??
> >
> >
>
> In general, you should use the same version native to build a cross.
> Other versions can work but
> there is never a guarantee.
>
> >I have been building the crossGCC with help from Lars Munch,
> but we don't see a solution to the problem.
> >
> >Will any of the prebuilt tools on rtems - homepage work better ??
> >
> >
> >
> They might but I suspect it is something in your environment
> that is not
> set correctly.
>
> I did a build on my laptop using the tools from the ftp site
> and a fresh
> 4.6.5 tarball
> for powerpc-rtems/psim. After a bit, I got a ticker.exe
> which I could
> run on the simulator.
>
> It has to be an environment variable setting.
>
> --joel
>
> > best regards
> >
> > ole at danelec.dk
> >
> > * Software Manager
> > * danelec electronics a/s
> > * Blokken 44
> > * DK-3460 Birkeroed
> > * DENMARK
> > * Phone: +45 45821879
> > * Fax: +45 45821979
> > * Email: ole at danelec.dk
> > * http://www.danelec.dk
> > * ftp://ftp.danelec.dk
> > * Radio call sign: oz1jru
> >
> > *************************************************************
> > * *
> > * If you seek luck, luck will strike you ..... 8o) *
> > * *
> > *************************************************************
> >
> >
> >
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
> >>Sent: 13. marts 2006 16:23
> >>To: Ole Hansen
> >>Cc: Ralf Corsepius; RTEMS Users
> >>Subject: Re: SV: RTEMS 4.6.4 fails on Cygwin
> >>
> >>
> >>Ole Hansen wrote:
> >>
> >>
> >>
> >>>Hello joe
> >>>
> >>>Don't really know what to look for:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>I see that your PATH has at least one Windows specific
> >>directory with spaces
> >>in it. That could be an issue.
> >>
> >>Also INCLUDE is set for Visual Studio and has spaces in it.
> >>
> >>It is generally a good idea in Cygwin to clean out those two
> >>environment
> >>variables
> >>so they are Windows clean.
> >>
> >>--joel
> >>
> >>
> >>
> >>>obh at olenb2 /cygdrive/c/CVSROOT/development/ioboards/rtems
> >>>$ env
> >>>HOMEPATH=\Documents and Settings\obh
> >>>MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
> >>>APPDATA=C:\Documents and Settings\obh\Application Data
> >>>HOSTNAME=olenb2
> >>>VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET
> >>>
> >>>
> >>2003\Common7\Tools\
> >>
> >>
> >>>TERM=cygwin
> >>>PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel
> >>>WINDIR=C:\WINDOWS
> >>>RTEMS_MAKEFILE_PATH=/opt/rtems/i386-rtems/i386-rtems/pc386
> >>>TEXDOCVIEW_txt=cygstart %s
> >>>TEXDOCVIEW_dvi=cygstart %s
> >>>QTDIR=/usr/lib/qt3
> >>>OLDPWD=/cygdrive/c/CVSROOT/development/ioboards/rtems/build-p
> >>>
> >>>
> >>c386-i386-rtems
> >>
> >>
> >>>USERDOMAIN=OLENB2
> >>>OS=Windows_NT
> >>>ALLUSERSPROFILE=C:\Documents and Settings\All Users
> >>>USER=obh
> >>>!::=::\
> >>>TEMP=/cygdrive/c/DOCUME~1/obh/LOCALS~1/Temp
> >>>COMMONPROGRAMFILES=C:\Program Files\Common Files
> >>>LIB=
> >>>USERNAME=obh
> >>>TEXDOCVIEW_pdf=cygstart %s
> >>>PROCESSOR_LEVEL=6
> >>>PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/
> >>>
> >>>
> >>WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/Syste
> >>m32/Wbem:/cygdrive/c/MSSQL
> >>
> >>
> >>>7/BINN:/cygdrive/c/Program Files/ATI Technologies/ATI
> >>>
> >>>
> >>Control Panel:/cygdrive/c/Program
> >>Files/Hummingbird/Connectivity/9.00/Accessories/:/cygdrive/c/
> >>
> >>
> >>>Program Files/cvsnt:/cygdrive/c/Program Files/IDM Computer
> >>>
> >>>
> >>Solutions/UltraEdit-32:/cygdrive/c/Program Files/IDM Computer
> >>Solutions/UEStudio:/usr/bin:
> >>
> >>
> >>>/cygdrive/c/Program Files/IDM Computer
> >>>
> >>>
> >>Solutions/UltraCompare:/usr/lib/lapack:/opt/rtems/i386-rtems-gcc/bin
> >>
> >>
> >>>FP_NO_HOST_CHECK=NO
> >>>PWD=/cygdrive/c/CVSROOT/development/ioboards/rtems
> >>>SYSTEMDRIVE=C:
> >>>TEXDOCVIEW_html=cygstart %s
> >>>USERPROFILE=C:\Documents and Settings\obh
> >>>QMAKESPEC=/usr/lib/qt3/mkspecs/cygwin-g++
> >>>PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
> >>>LOGONSERVER=\\OLENB2
> >>>PROCESSOR_ARCHITECTURE=x86
> >>>!C:=C:\cygwin\bin
> >>>SHLVL=1
> >>>HOME=/home/obh
> >>>PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> >>>HOMEDRIVE=C:
> >>>PROMPT=$P$G
> >>>COMSPEC=C:\WINDOWS\system32\cmd.exe
> >>>TMP=/cygdrive/c/DOCUME~1/obh/LOCALS~1/Temp
> >>>SYSTEMROOT=C:\WINDOWS
> >>>PRINTER=\\bfs01\infotec 4451 MF PCL
> >>>CVS_RSH=/bin/ssh
> >>>PROCESSOR_REVISION=0905
> >>>PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig
> >>>TEXDOCVIEW_ps=cygstart %s
> >>>MAKE_MODE=unix
> >>>INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
> >>>PROGRAMFILES=C:\Program Files
> >>>NUMBER_OF_PROCESSORS=1
> >>>INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
> >>>
> >>>
> >>2003\SDK\v1.1\include\
> >>
> >>
> >>>SESSIONNAME=Console
> >>>COMPUTERNAME=OLENB2
> >>>_=/usr/bin/env
> >>>
> >>>obh at olenb2 /cygdrive/c/CVSROOT/development/ioboards/rtems
> >>>$
> >>>
> >>>best regards
> >>>
> >>>
> >>> ole at danelec.dk
> >>>
> >>>* Software Manager
> >>> * danelec electronics a/s
> >>> * Blokken 44
> >>> * DK-3460 Birkeroed
> >>> * DENMARK
> >>> * Phone: +45 45821879
> >>> * Fax: +45 45821979
> >>> * Email: ole at danelec.dk
> >>> * http://www.danelec.dk
> >>> * ftp://ftp.danelec.dk
> >>> * Radio call sign: oz1jru
> >>>
> >>>*************************************************************
> >>>* *
> >>>* If you seek luck, luck will strike you ..... 8o) *
> >>>* *
> >>>*************************************************************
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>-----Original Message-----
> >>>>From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
> >>>>Sent: 13. marts 2006 16:15
> >>>>To: Ole Hansen
> >>>>Cc: Ralf Corsepius; RTEMS Users
> >>>>Subject: Re: SV: RTEMS 4.6.4 fails on Cygwin
> >>>>
> >>>>
> >>>>Ole Hansen wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Hello Ralf
> >>>>>
> >>>>>unsetting LIB does not change anything
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>When you do an env in Cygwin do you see any other environment
> >>>>variables that
> >>>>look potentially useful to the build procedure and point
> to Windows
> >>>>specific places?
> >>>>
> >>>>--joel
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>regards
> >>>>>
> >>>>>ole at danelec.dk
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>-----Original Message-----
> >>>>>>From: Ralf Corsepius [mailto:ralf.corsepius at rtems.org]
> >>>>>>Sent: 13. marts 2006 09:10
> >>>>>>To: RTEMS Users
> >>>>>>Subject: RE: SV: RTEMS 4.6.4 fails on Cygwin
> >>>>>>
> >>>>>>
> >>>>>>On Mon, 2006-03-13 at 08:59 +0100, Ole Hansen wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hello Ralf
> >>>>>>>
> >>>>>>>obh at olenb2 /cygdrive/c/CVSROOT/development/ioboards/rtems
> >>>>>>>$ echo $LIB
> >>>>>>>C:\Program Files\Microsoft Visual Studio .NET
> 2003\SDK\v1.1\Lib\
> >>>>>>>
> >>>>>>>obh at olenb2 /cygdrive/c/CVSROOT/development/ioboards/rtems
> >>>>>>>$
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>That's your problem.
> >>>>>>
> >>>>>>Unsetting LIB should help.
> >>>>>>
> >>>>>>Ralf
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
>
>
More information about the users
mailing list