search for: ldbl

Displaying 8 results from an estimated 8 matches for "ldbl".

Did you mean: ldb
2007 Apr 05
1
Can't conect to share ?
...o all here is my problem i have one very simple share [files] here is the permissions of directory fileserver data # ls /home/samba/data/ -la total 16 drwsrws--x 4 alan acct 4096 Apr 4 04:58 . drwxr-xr-x 3 alan users 4096 Apr 4 04:55 .. drwsrws-wx 2 alan acct 4096 Apr 4 04:58 alan drwsrws-wx 2 ldbl acct 4096 Apr 4 04:58 ldbl Here is samba version fileserver data # smbd -V Version 3.0.24 Here is smb status Samba version 3.0.24 PID Username Group Machine ------------------------------------------------------------------- 19035 ldbl acct nedelchev (192.1...
2007 Jul 14
3
Strange C programming problem
...ally wrong results. (the example program given on the strotd man page works fine, BTW.) Can someone wield a clue-bat please? :) Here's the program: #include <stdio.h> #include <math.h> #include <stdlib.h> #include <errno.h> int main (int argc, char ** argv) { float ldbl = 0.0; char * endp; printf ("%s\n", argv[1]); errno = 0; ldbl = strtof (argv[1], &endp); if (errno != 0) printf ("strtof failed! errno=%d\n", errno); printf ("%f\n", (double) ldbl); printf ("%f\n", (double) strtof (argv[1], (char **)NULL)); p...
2006 Nov 21
2
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Tue, 21 Nov 2006, Emil Mikulic wrote: > LLVMers, given the same endianness and pointersize, can one mix and > match LLVM bytecode files produced on different platforms? No, not in general. For example, on the mac, printf it often #defined to printf$ldbl, which doesn't exist on linux. System headers generally foil the ability to move stuff around like that. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2016 Jan 05
0
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...C99, but do not rely on it. > +2152 size_t ld_align = offsetof(struct { char __a; long double > __b; }, __b); > +2153 #else This is a hint/hack - with xlc V11 I get past a syntax "failure" with something like the following: #if __alignof_is_defined long double ldbl = 0.0; // This is C11: picky compilers may warn. size_t ld_align = alignof(ldbl); #elif __GNUC__ > +2154 size_t ld_align = 0x0F; // value of x86_64, known others are 4 > or 8 > +2155 #endif > +2156 if (ld_align > 8) { > +2157 uintptr_t tmp = (uintptr...
2006 Nov 21
2
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
Emil: I'm using LLVM 1.9 now. When I tried to do what you did I got the following though: $ llvm-g++ -emit-llvm -c x.cpp $ llvm-link -o=linked.o x.o std/*.o sup/*.o WARNING: Linking two modules of different target triples! WARNING: Linking two modules of different target triples! WARNING: Linking two modules of different target triples! ... $ lli linked.o lli((anonymous
2006 Nov 21
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Tue, Nov 21, 2006 at 05:33:32PM +0800, Mohd-Hanafiah Abdullah wrote: > Emil: > > I'm using LLVM 1.9 now. When I tried to do what you did I got the > following though: > > $ llvm-g++ -emit-llvm -c x.cpp > $ llvm-link -o=linked.o x.o std/*.o sup/*.o > WARNING: Linking two modules of different target triples! > WARNING: Linking two modules of different target
2006 Nov 22
0
[LLVMdev] Byte code portability (was Re: libstdc++ as bytecode, and compiling C++ to C)
...ner wrote: > On Tue, 21 Nov 2006, Emil Mikulic wrote: >> LLVMers, given the same endianness and pointersize, can one mix and >> match LLVM bytecode files produced on different platforms? > > No, not in general. For example, on the mac, printf it often #defined to > printf$ldbl, which doesn't exist on linux. System headers generally foil > the ability to move stuff around like that. Aside from stuff that depends on system headers, are there any other dependencies on the host system? In other words, will llvm-gcc produce exactly the same byte code for a given set...
2016 Jan 04
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
The bulk is on my forums - the final post for today is: Results to date: A. It looks like I am going to need a newer compiler for C - xlc/xlC V11 apparently does not understand this code: "/data/prj/cran/R-3.2.3/src/main/memory.c", line 2149.31: 1506-046 (S) Syntax error. I will have to check if R-devel has different code before asking for assistence. +2139 #ifdef