tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] mob branch is broken


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] mob branch is broken
Date: Wed, 3 Aug 2011 22:28:40 +0200
User-agent: KMail/1.13.7 (Linux/3.0.0-1-amd64; KDE/4.6.5; x86_64; ; )

Le mercredi 3 août 2011 22:23:10, vous avez écrit :
> $ ./configure
> ...
> 
> [sf] /mnt/archive/work/dev/git/tinycc:LANG=C make
> gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -DTCC_TARGET_X86_64_CENTOS
> -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
> -D_FORTIFY_SOURCE=0 libtcc.c: In function 'tcc_set_output_type':
> libtcc.c:1314: error: expected expression before '/' token
> libtcc.c:1314: error: stray '\' in program
> libtcc.c:1314: error: stray '\' in program
> make: *** [libtcc.o] Error 1
> 
> $ grep TCC_SYSINCLUDE_PATHS config.h
> #ifndef CONFIG_TCC_SYSINCLUDE_PATHS
> #  define CONFIG_TCC_SYSINCLUDE_PATHS \\b/include;\\b/include/winapi
> #  define CONFIG_TCC_SYSINCLUDE_PATHS
> /usr/local/include:/usr/include:\\b/include
> 
> My shell is bash.
> 
> Unquoted strings. Hm...
Commit reverted. I tried with dash and it worked but it seems the 
expansion/escaping rules are different between dash and bash when both run as 
/bin/sh. Anyway, this commit had to be reverted.

Sorry for the breakage.

Best regards,

Thomas Preud'homme
> 
> Looks like dropped by:
> > commit 76adc5770f4ab5b1aaa2e5dde6104efc06431fe2
> > Author: Thomas Preud'homme <address@hidden>
> > Date:   Mon Aug 1 22:32:44 2011 +0200
> > 
> >     Add a --multiarch-triplet switch to configure
> >     
> >     Add a --multiarch-triplet switch to configure. The switch will allow
> >     files to be search for each default path in path/<triplet> and then
> >     path.
> >     Default paths handled that way:
> >     - CONFIG_TCC_SYSINCLUDE_PATHS
> >     - CONFIG_TCC_LIBPATH
> >     - path to crt*.o
> >     - path to libgcc_s.so.1
> >     
> >     Path missing: elf interpreter path (will be handled in another
> >     commit)
> 
> Thanks!

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]