tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Crosscompiling


From: YX Hao
Subject: Re: [Tinycc-devel] Crosscompiling
Date: Sat, 28 Jun 2014 10:53:11 +0800

Hi,

> Markus Bergholz
> Sent: Saturday, June 28, 2014 2:55 AM
> 
> On Fri, Jun 27, 2014 at 1:30 PM, YX Hao <address@hidden> wrote:
> 
> 
>       Have you consider that compiler searches its own header path and header
> files have environment switches.
> 
----------------------------^
Read the whole file and check the switches for preprocess.
For example: "#ifdef ...", "#ifndef ...", "#if ..."
TCC's "-E" option could help.

> 
> 
>       Make it clear where “mexPrintf” is defined and why it is not effective.
> 
> 
> "mexPrintf" is defined in /usr/include/octave-3.8.1/octave/mexproto.h afaiu.
> So it is already in the include path. Any ideas?
> 
> grep mexPrintf /usr/include/octave-3.8.1/octave/*
> /usr/include/octave-3.8.1/octave/mexproto.h:extern OCTINTERP_API int
> mexPrintf (const char *fmt, ...);
> /usr/include/octave-3.8.1/octave/mexproto.h:          mexPrintf
> ("Assertion failed: %s, at line %d of file \"%s\".\n%s\n", \
> /usr/include/octave-3.8.1/octave/mexproto.h:          mexPrintf
> ("Assertion failed at line %d of file \"%s\".\n%s\n", \
> 





reply via email to

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