bootstrapping

Bootstrapping a language

I've heard of the idea of bootstrapping a language, that is, writing a compiler/interpreter for the language in itself. I was wondering how this could be accomplished and looked around a bit, and saw someone say that it could only be done by either writing an initial compiler in a different language. handcoding an initial compiler in ...

Visual Studio 2005 ERROR: An error occurred generating a bootstrapper: Invalid syntax.

I'm working on VS 2005 and something has gone wrong on my machine. Suddenly, out of the blue, I can no longer build deployment files. The build message is: ERROR: An error occurred generating a bootstrapper: Invalid syntax. ERROR: General failure building bootstrapper ERROR: Unrecoverable build error A quick Google search brings up t...

Trying to run faac's bootstrap script but running into errors

Hi, I'm trying to install faac and am running into errors. Here are the errors I get when trying to build it: [root@test faac]# ./bootstrap configure.in:11: warning: underquoted definition of MY_DEFINE run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal aclocal:config...

Simplest PHP Routing framework .. ?

I'm looking for the simplest implementation of a routing framework in PHP, in a typical PHP environment (Running on Apache, or maybe nginx) .. It's the implementation itself I'm mostly interested in, and how you'd accomplish it. I'm thinking it should handle URL's, with the minimal rewriting possible, (is it really a good idea, to have...

MSI Bootstrapping: External URLs

Much searching has lead me to find several descriptions of how to create a bootstrapping msi, but these solutions all assume the msi is local or a standard Windows component. Is there a way to make an msi that downloads an installer (which is also an msi) with normal MSI or Wix code rather than by having the bootstrapper execute some no...

What tools are built using themselves?

I am curious about what tools are used to build the next version of themselves. For example, Delphi has long claimed that "Delphi is written in Delphi". I assume Visual Studio is written using Visual Studio. What are some other examples of tools that written in themselves? ...

Zend Framework: How do you set your layout directory in a modular application?

the directory structure I'm trying to achieve would be this: application/default/views/layouts/layout.phtml application/default/views/scripts/index/index.phtml application/admin/views/layouts/layout.phtml application/admin/views/scripts/index/index.phtml library/Zend config/config.ini public/index.php (bootstrap) but I can't figure ou...

PHP Bootstrapping better method ?

Is it a good practice to bootstrap your PHP application. I found two ways to bootstrap my PHP application. Need some suggestions which is a better way. First. Define a constant for the folder structures $controllerPath = 'controller'; define('CONTROLLER', str_replace('\\', '/', realpath($controllerPath)).'/'); //usage require_once CON...

How to deploy a Python application with libraries as source with no further dependencies?

Background: I have a small Python application that makes life for developers releasing software in our company a bit easier. I build an executable for Windows using py2exe. The application as well as the binary are checked into Subversion. Distribution happens by people just checking out the directory from SVN. The program has about 6 di...

Bootstrapper: How to compile the application and prerequisite in single .msi package?

I am creating an .msi package for the application which has a prerequisite for installation. I am using the Visual Studio 2005 Bootstrapper for this task. To this end, I did the following: Located the folder C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ and created a folder for my prerequisite (made it same s...

Conditionally install x64 drivers with Inno Setup

I am attempting to use Inno Setup to bootstrap a WiX generated .msi file with all required prerequisites. For the most part this is working quite well, but I cannot locate any information to conditionally install and run a prerequisite installer based on x86/x64, like I can in Windows Installer. Anybody have any luck with this? I am t...

How do I build a PXE-bootable boot loader from Workbench?

I'm trying to build a VxWorks boot loader that is PXE-bootable from Workbench, but not having any success. Here is a run-down of my environment: VxWorks 6.6 + latest patches Workbench 3.0 + latest patches Montevina BSP release 2.0/1 The target is a Dell Precision M4400 laptop. Here's what I've been doing, without success: Create a ...

Execution without OS

How do you compile a C program in to a valid ELF format(or RAW format) so that it can be executed directly from RAM without any OS? Assume that a bootloader exists which is capable of loading the code to any location in RAM and start execution at that address? To be precise , what should be the compiler(GCC) flags? Is there a need for a...

"No default module defined" error in Zend Framework app

I am in process of making my bootstrap.php file more organized, but after I put everything into separate static methods, I cannot load any page beyond index controller. E.g. if I try to open http://localhost/zftutorial/login/index I get Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid ...

Self updating application install with WIX?

I am writing an application that needs to be installed on a large number of desktops and also needs to update itself. We are looking at WIX for creating the installation. I have used ClickOnce and it is not a good solution for this install. WIX seems to fit, but there is no good process for auto update that I have found. I have looke...

Resources for writing a C# Compiler for class?

I'm interested in writing a compiler for a intermediate byte-code language like C# (a subset of). I'm trying to accumulate all the resources and information I can before the project begins. I'll be writing the compiler in C# as well, so hopefully down the line my compiler will be able to dogfood itself. The best resource I have found ...

GenerateBootstrapperTask: configuring location of prerequisites on the install media

I'm using Bootstrap Manifest Generator to create custom prerequisites for my installer's bootstrapper (Acrobat, Flash, Java, etc). Everything works a treat but we have a requirement that the installation media be structured such that the "setup.exe" bootstrapper and the product MSI are the only things on the root of the disc, and all ...

Running Ruby without a traditional operating system?

In the world of Java, BEA (now Oracle) has created LiquidVM which doesn't require an OS. Likewise, there are a variety of open source projects including SANOS, JNODE OS, Project Guest VM, JavaOS, etc. Is there an equivalent being created for Ruby? ...

How do I completely bootstrap a grails environment?

I have the included grails script that I found in some random place on the internet and it works pretty well for firing up scripts in a bootstrapped grails env. The only thing it doesn't seem to do is kick off my conf/*Bootstrap.groovy scripts like when I do run-app. Is there another function like loadApp() and configureApp() that will ...

How should I set up my application when I can't change the document root?

I don't have permission to change the document root the /public/ directory so how should I set up my Zend Framework application to run from the current root directory? Using the Zend Framework 1.8 command line tool, I don't know if there is a way to tell it to create a directory structure this way. ...