Thread: perl script

  1. #1

    perl script

    I was wondering if anyone had ever used a perl script with gcc. I was thinking that it might be nice to be able to use the script to invoke the compiler with the optiions I wanted already stored in there. Like ./perlscript my.c so I wouldn't have to type it all out every time or run to a gui everytime.

  2. #2
    Registered User Strider's Avatar
    Join Date
    Aug 2001
    You could, but it might be better to keep the build and execution phase separate. I always prefer to use a makefile for builds and keep a simple script for the purpose of execution.

    One Ring to rule them all, One Ring to find them,
    One Ring to bring them all and in the darkness bind them
    In the Land of Mordor where the Shadows lie.

  3. #3
    Join Date
    Aug 2001
    The gimp uses one for their builds, which creates a Makefile. So you run perl and then type make.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script in games
    By Shakti in forum Game Programming
    Replies: 7
    Last Post: 09-27-2006, 12:27 AM
  2. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  3. Passing arguments to script.....
    By suwie in forum C Programming
    Replies: 5
    Last Post: 09-25-2004, 11:10 PM
  4. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM
  5. perl need help pls.....
    By magnum38 in forum A Brief History of
    Replies: 0
    Last Post: 12-12-2001, 10:35 PM