On 12.08.13 11.34, Paul Smedley wrote:
>
http://smedley.id.au/tmp/gcc-4.6.4-os2-20130812.zip
GCCENV throws an error. And also if I try to set gcc-usr-path as
parameter the resulting directory is always invalid, since it always
ends with \usr which is obviously wrong.
D:\usr\local464\bin>GCCENV.CMD
Error: cannot find gcc.exe in 'D:\usr\local464\usr'!
syntax: gccenv.cmd [gcc-usr-path [linker]]
[gcc-usr-path] is the path to the /usr directory of the gcc distro.
If [gcc-usr-path] isn't specified, the script assumes it's located
81 *-* say 'in /usr/local'_shortver 'of the gcc distro and
deducts the path based on that.
'
61 *-* call Usage;
REX0016E: Error 16 running D:\usr\local464\bin\GCCENV.CMD line 81:
Label not found
REX0229E: Error 16.1: Label "NOVALUEHANDLER" not found
OK, it seems that only the error message is garbage. That confused me,
so I passed the wrong parameters - got it working.
Furthermore I get many funny warnings when compiling inline assembly:
../interlocked.h: Assembler messages:
../interlocked.h:110: Warning: line numbers must be positive; line
number 0 rejected
The code is:
static __inline__ void InterlockedInc(__volatile__ unsigned *pu)
{ __asm__ __volatile__("lock; incl %0"
: "+m" (*pu)
:
: "cc");
}
Other inline assembly (fftw3) creates similar warnings.
When linking a DLL I get an error about a missing dll0.obj:
gcc -Zcrtdll -Zomf -lstdc++ -Ld:\usr\lib\tcpipv4 -s -Zdll -o
.\fft123.dll fft.o kernel\kernel.a dft\codelets\inplace\dft_inplace.a
dft\codelets\standard\dft_standard.a dft\codelets\dft_codelets.a
dft\dft.a rdft\codelets\hc2r\hc2r.a rdft\codelets\r2hc\r2hc.a
rdft\codelets\r2r\r2r.a rdft\codelets\rdft_codelets.a rdft\rdft.a
reodft\reodft.a api\api.a ..\utils\utilfct.a fft_icc.def
weakld: cannot open object file 'D:\Dev\TRUNC\src\fft123\dll0.obj'.
emxomfld: weak prelinker failed. (rc=8)
Are there some files of the runtime library missing?
Marcel