Displaying 15 results from an estimated 15 matches for "ccarg".
Did you mean:
ccargs
2010 Aug 14
2
[LLVMdev] clang: compile c code from char array?
Hi, how do I compile c code from a char array in clang?
Im using code from the interpreter example.
Thanks.
char *cCode; // the char array
// fill array with code goes here...
// Initialize a compiler invocation object from the clang (-cc1) arguments.
const driver::ArgStringList &CCArgs = Cmd->getArguments();
llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
CompilerInvocation::CreateFromArgs(*CI,
const_cast<const char
**>(CCArgs.data()),
const_cast<const char
**>(CCAr...
2010 Aug 15
2
[LLVMdev] clang: compile c code from char array?
...de from the interpreter example.
>> Thanks.
>>
>> char *cCode; // the char array
>> // fill array with code goes here...
>>
>>
>> // Initialize a compiler invocation object from the clang (-cc1)
>> arguments.
>> const driver::ArgStringList &CCArgs = Cmd->getArguments();
>> llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
>> CompilerInvocation::CreateFromArgs(*CI,
>> const_cast<const char
>> **>(CCArgs.data()),
>>...
2012 Mar 25
2
build postfix rpm with mysql
...atch.gz not
found or patch failed"
%endif
%if %{smtpd_multiline_greeting}
%patch99 -p1 -b .multiline
%endif
%if %{with_spf}
%patch8 -p1 -b .spf
%endif
# Modify master.cf: rmail --> rmail.postfix
ed conf/master.cf <<EOF || exit 1
H
,s/rmail/rmail.postfix/
w
q
EOF
%build
umask 022
CCARGS=
AUXLIBS=
%ifarch s390 s390x ppc
CCARGS="${CCARGS} -fsigned-char"
%endif
%if %{with_cdb}
CCARGS="${CCARGS} -DHAS_CDB"
AUXLIBS="${AUXLIBS} -lcdb"
%endif
%if %{with_ldap}
CCARGS="${CCARGS} -DHAS_LDAP"
AUXLIBS="${AUXLIBS} -L/usr/%{_lib} -lldap -...
2010 Aug 15
0
[LLVMdev] clang: compile c code from char array?
...har array in clang?
>
> Im using code from the interpreter example.
> Thanks.
>
> char *cCode; // the char array
> // fill array with code goes here...
>
>
> // Initialize a compiler invocation object from the clang (-cc1) arguments.
> const driver::ArgStringList &CCArgs = Cmd->getArguments();
> llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
> CompilerInvocation::CreateFromArgs(*CI,
> const_cast<const char
> **>(CCArgs.data()),
> const_cast<c...
2010 Aug 15
0
[LLVMdev] clang: compile c code from char array?
...gt;> Thanks.
>>>
>>> char *cCode; // the char array
>>> // fill array with code goes here...
>>>
>>>
>>> // Initialize a compiler invocation object from the clang (-cc1)
>>> arguments.
>>> const driver::ArgStringList &CCArgs = Cmd->getArguments();
>>> llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
>>> CompilerInvocation::CreateFromArgs(*CI,
>>> const_cast<const char
>>> **>(CCArgs.data()),
>>>...
2011 Nov 19
4
build postfix spec w/ mysql
...atch.gz not found or patch failed"
%endif
%if %{smtpd_multiline_greeting}
%patch99 -p1 -b .multiline
%endif
%if %{with_spf}
%patch8 -p1 -b .spf
%endif
# Modify master.cf: rmail --> rmail.postfix
ed conf/master.cf <<EOF || exit 1
H
,s/rmail/rmail.postfix/
w
q
EOF
%build
umask 022
CCARGS=
AUXLIBS=
%ifarch s390 s390x ppc
CCARGS="${CCARGS} -fsigned-char"
%endif
%if %{with_cdb}
CCARGS="${CCARGS} -DHAS_CDB"
AUXLIBS="${AUXLIBS} -lcdb"
%endif
%if %{with_ldap}
CCARGS="${CCARGS} -DHAS_LDAP"
AUXLIBS="${AUXLIBS} -L/usr/%{_lib} -lldap -...
2010 Aug 18
1
[LLVMdev] clang: call extern function using JIT
...river::Command>(*Jobs.begin());
if (llvm::StringRef(Cmd->getCreator().getName()) != "clang") {
Diags.Report(diag::err_fe_expected_clang_command);
return 1;
}
// Initialize a compiler invocation object from the clang (-cc1)
arguments.
const driver::ArgStringList &CCArgs = Cmd->getArguments();
llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
CompilerInvocation::CreateFromArgs(*CI,
const_cast<const char
**>(CCArgs.data()),
const_cast<const char
**>(CCAr...
2010 Aug 18
0
[LLVMdev] clang: call extern function using JIT
I tried what you said, now I get:
LLVM ERROR: Program used external function 'yipee' which could not be
resolved!
Stack dump:
0. Running pass 'X86 Machine Code Emitter' on function '@main'
did not even get as far as a breakpoint.
Óscar Fuentes wrote:
>
> gafferuk <gafferuk at gmail.com> writes:
>
>> Im confused. The function i wish to call is
2010 Aug 18
2
[LLVMdev] clang: call extern function using JIT
gafferuk <gafferuk at gmail.com> writes:
> Im confused. The function i wish to call is a return type of int.
> Im calling it with int dd = yipee(1);
>
> What's wrong?
Declare the function:
int yipee(int);
int main()
{
int dd = yipee(1);
return 0;
}
If that still crashes, put a breakpoint on `yipee' and see if the
execution gets there, if the argument is
2013 Oct 03
0
[LLVMdev] libclang JIT frontend
...river::Command>(*Jobs.begin());
if (llvm::StringRef(Cmd->getCreator().getName()) != "clang") {
Diags.Report(diag::err_fe_expected_clang_command);
return 1;
}
// Initialize a compiler invocation object from the clang (-cc1) arguments.
const driver::ArgStringList &CCArgs = Cmd->getArguments();
OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
CompilerInvocation::CreateFromArgs(*CI,
const_cast<const char **>(CCArgs.data()),
const_cast<const char **>(CCArgs.dat...
2012 Apr 20
4
Building Dovecot CentOS 5 RPMs with custom LDAP packages
Hi,
We are (still) mainly using CentOS 5 (5.8 x86_64). As CentOS / EL 5
standard OpenLDAP packages are rather old (2.3.x), we've been using LTB
OpenLDAP packages ( http://ltb-project.org/wiki/download#openldap),
which get installed in non-standard file system locations.
I am not much experienced in building RPMs and preparing spec files. We
are currently using dovecot RPM packages from
2005 Dec 21
2
PATCH: Dovecot SASL authentication for Postfix 2.3-20051220
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051221/643bbd8a/attachment-0001.pgp
2007 Sep 10
1
Stuck on an Error: " Connect to private/auth failed: Connection refused"
...tfix/master[13721]: warning: process
/usr/libexec/postfix/smtpd pid 13726 exit status 1
Sep 10 12:58:23 lishost postfix/master[13721]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
(In case it matters I recently makde postfix like so:)
make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL
-I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl
-DDEF_SERVER_SASL_TYPE=\"dovecot\"' 'AUXLIBS=-L/usr/lib/mysql
-lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'
The permissions on that file are so:
srwxr-xr-x 1 postfix postfix 0 Sep 9 14:38 /var/spoo...
2009 Apr 15
3
Postfix, Dovecot SASL and Entourage smtps authentication fails.
Tere.
Recently just migrated from Sendmail 8.14.3 to Postfix 2.5.6 and
switched from Cyrus-sasl 2.1.22 to Dovecot 1.1.13 sasl, all are compiled
from source and I have used Dovecot for a long time, since alpha versions.
Everything worked well for Outlook Express, Outlook and Thunderbird
clients, but Microsoft Entourage 2004 or 2008 clients smtps fails -
"Authentication failed because
2008 Aug 05
1
Dovecot sieve plugin reject not working
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm at a loss here. Details of my setup:
OS: Solaris 10
gcc version: 3.4.3
postfix version 2.5.2
dovecot version 1.1.2
dovecot sieve version 1.1.5
How I installed:
Postfix:
make makefiles CCARGS='-DUSE_SASL_AUTH
\-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/opt/csw/include'
\AUXLIBS="-R/opt/csw/lib -L/opt/csw/lib -lssl -lcrypto -ldb"
make
make upgrade
Dovecot:
./configure --prefix=/userM/mail-services/dovecot
make
make install
Sieve:
./configure --prefix=/...