Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.porting > #272

Re: Updated GCC builds

Date 2013-08-12 17:06 +0200
From Marcel Müller <news.5.maazl@spamgourmet.org>
Newsgroups comp.os.os2.programmer.misc, comp.os.os2.programmer.porting
Subject Re: Updated GCC builds
References <ku52qn$b57$1@dont-email.me> <ku6nri$mim$1@dont-email.me> <ku7473$4ml$1@dont-email.me> <kuaa7d$f3q$1@dont-email.me>
Message-ID <5208f9f5$0$6549$9b4e6d93@newsspool4.arcor-online.net> (permalink)
Organization Arcor

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to comp.os.os2.programmer.porting | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Updated GCC builds Paul Smedley <paul@smedley.id.au> - 2013-08-10 19:27 +0930
  Re: Updated GCC builds Paul Smedley <paul@smedley.id.au> - 2013-08-11 10:32 +0930
    Re: Updated GCC builds Paul Smedley <paul@smedley.id.au> - 2013-08-11 14:03 +0930
      Re: Updated GCC builds KO Myung-Hun <komh@chollian.net> - 2013-08-11 22:11 +0900
        Re: Updated GCC builds "A.D. Fundum" <what.ever@neverm.ind> - 2013-08-11 21:36 +0200
          Re: Updated GCC builds KO Myung-Hun <komh@chollian.net> - 2013-08-12 23:29 +0900
            Re: Updated GCC builds Dave Yeo <dave.r.yeo@gmail.com> - 2013-08-12 08:08 -0700
              Re: Updated GCC builds "A.D. Fundum" <what.ever@neverm.ind> - 2013-08-12 21:50 +0200
                Re: Updated GCC builds gianfli.cim@gmail.com - 2013-08-13 01:40 -0700
            Re: Updated GCC builds "A.D. Fundum" <what.ever@neverm.ind> - 2013-08-12 18:20 +0200
        Re: Updated GCC builds Paul Smedley <paul@smedley.id.au> - 2013-08-12 19:05 +0930
          Re: Updated GCC builds KO Myung-Hun <komh@chollian.net> - 2013-08-13 01:49 +0900
      Re: Updated GCC builds Paul Smedley <paul@smedley.id.au> - 2013-08-12 19:04 +0930
        Re: Updated GCC builds Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-08-12 17:06 +0200
      Re: Updated GCC builds - 4.7.3 now available Paul Smedley <paul@smedley.id.au> - 2013-08-18 18:52 +0930
        Re: Updated GCC builds - 4.7.3 now available Dave Yeo <dave.r.yeo@gmail.com> - 2013-08-18 09:04 -0700
          Re: Updated GCC builds - 4.7.3 now available Paul Smedley <paul@smedley.id.au> - 2013-08-19 19:24 +0930
        Re: Updated GCC builds - 4.7.3 now available KO Myung-Hun <komh@chollian.net> - 2013-08-19 22:04 +0900
          Re: Updated GCC builds - 4.7.3 now available Paul Smedley <paul@smedley.id.au> - 2013-08-22 19:09 +0930
            Re: Updated GCC builds - 4.7.3 now available Paul Smedley <paul@smedley.id.au> - 2013-09-07 18:58 +0930
              Re: Updated GCC builds - 4.7.3 now available KO Myung-Hun <komh@chollian.net> - 2013-09-07 22:11 +0900
                Re: Updated GCC builds - 4.7.3 now available Paul Smedley <paul@smedley.id.au> - 2013-09-23 19:22 +0930
              Re: Updated GCC builds - 4.7.3 now available "Mentore Siesto" <mentoreshoryu@fattimiei.zx> - 2013-09-08 09:39 +0000
        Re: Updated GCC builds - 4.7.3 now available gianfli.cim@gmail.com - 2013-09-17 06:08 -0700
          Re: Updated GCC builds - 4.7.3 now available Paul Smedley <paul@smedley.id.au> - 2013-09-23 19:24 +0930
            Re: Updated GCC builds - 4.7.3 now available gianfli.cim@gmail.com - 2013-09-23 13:29 -0700
              Re: Updated GCC builds - 4.7.3 now available Dave Yeo <dave.r.yeo@gmail.com> - 2013-09-23 13:59 -0700

csiph-web