11-03-2010
one more thing...how do I bootstrap a compiler?
9 More Discussions You Might Find Interesting
1. Programming
I recently loaded SuSE on my intel comp.
I am presently taking a walk down memory lane from my days at UofT.
I was fiddling round with cc and the gcc compilers.
I wrote a basic basic basic program .
I tried to compile it as I remember doing in Uni. The problem is that it can't find the header... (5 Replies)
Discussion started by: cantcatchme
5 Replies
2. Programming
I want to compile a c-language source file ( *.c ) under C++ compiler in the UNIX workstation. Is that compatable? (2 Replies)
Discussion started by: nomen
2 Replies
3. Programming
I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (1 Reply)
Discussion started by: Blunt_Killer
1 Replies
4. UNIX for Advanced & Expert Users
I have a problem.
How can I be sure that the binary currently in production is the binary originally produced by the compiler? I ask because recompiling the sources (ALL sources + stripping away the metadata: strip ...) does not give the same result.
I am pretty sure that I wasn't hacked!
... (5 Replies)
Discussion started by: aViking
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
6. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
7. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
8. UNIX for Dummies Questions & Answers
Hey,
I'm trying to install DigSig ( disec.sourceforge.net ) on my CentOS5 distro. I was following all the steps in the readme but it didn't work. So here's the output:
# ./digsig.init compile
make: Entering directory `/usr/src/kernels/2.6.18-194.32.1.el5-i686'
CC ... (2 Replies)
Discussion started by: disaster
2 Replies
9. UNIX for Advanced & Expert Users
Heyas
I'm currently trying to make a fresh build from scratch/source of FFMPEG.
This said, it brings quite a tail with it, so the use of a script was very obvious.
Anyway, i'm currently stuck at named package.
Lets ignore the tarball/download line, as the error is after.
Commands... (0 Replies)
Discussion started by: sea
0 Replies
LEARN ABOUT PHP
yaf_application
YAF_APPLICATION(3) 1 YAF_APPLICATION(3)
The Yaf_Application class
INTRODUCTION
Yaf_Application provides a bootstrapping facility for applications which provides reusable resources, common- and module-based bootstrap
classes and dependency checking.
Note
Yaf_Application implements the singleton pattern, and Yaf_Application can not be serialized or unserialized which will cause problem
when you try to use PHPUnit to write some test case for Yaf.
You may use @backupGlobals annotation of PHPUnit to control the backup and restore operations for global variables. thus can solve
this problem.
CLASS SYNOPSIS
Yaf_Application
final
Yaf_Application
Properties
o protected$config
o protected$dispatcher
o protectedstatic$_app
o protected$_modules
o protected$_running
o protected$_environ
Methods
o publicstatic void Yaf_Application::app (void )
o public void Yaf_Application::bootstrap ([Yaf_Bootstrap_Abstract $bootstrap])
o public Yaf_Application Yaf_Application::clearLastError (void )
o private void Yaf_Application::__clone (void )
o public Yaf_Application::__construct (mixed $config, [string $envrion])
o public void Yaf_Application::__destruct (void )
o public void Yaf_Application::environ (void )
o public void Yaf_Application::execute (callable $entry, string $...)
o public Yaf_Application Yaf_Application::getAppDirectory (void )
o public Yaf_Config_Abstract Yaf_Application::getConfig (void )
o public Yaf_Dispatcher Yaf_Application::getDispatcher (void )
o public string Yaf_Application::getLastErrorMsg (void )
o public int Yaf_Application::getLastErrorNo (void )
o public array Yaf_Application::getModules (void )
o public void Yaf_Application::run (void )
o public Yaf_Application Yaf_Application::setAppDirectory (string $directory)
o private void Yaf_Application::__sleep (void )
o private void Yaf_Application::__wakeup (void )
PROPERTIES
o $config
-
o $dispatcher
-
o $_app
-
o $_modules
-
o $_running
-
o $_environ
-
PHP Documentation Group YAF_APPLICATION(3)