Running PBP from the commandline


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697

    Default Running PBP from the commandline

    Hi, When compiling through the command line is there any way to set the output path?

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    pbp -h
    pbp -?
    pbpw -h
    pbpw -?

    The above variants (take your pick) list the only available command line options.

    PM

    The above command on it's own will generate a list of PM available options.

    If you're using -ampasmwin then there might be some presets somewhere within the Microchip Assembler that could be changed (I've not looked though).

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    As far as I can remember the output is in the same directory as the BAS file being compiled.
    Why do you want to change the path?
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I dont really like the microcode studio IDE so i decided to use notepad++ instead. The problem is that it wont compile it so ive added an item to the context menus for .pbp files. When i right-click a file there is now a "Compile" option which runs an app i made. That app copies the .pbp file to a temp folder (because of the long path issue) then executes the compiler and copies the .hex file back to where the source file is.

    I had a look through everything that comes up when i run those commands but it doesnt seem to have an option to change the output folder (only the input file). It turns out that it uses the current working directory. I changed that in my app and it works fine now.

    Thanks for your help

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. Extensions to PBP variables
    By John_Mac in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd October 2009, 05:21
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. PBP / XP Crash
    By pondindustrial in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2005, 03:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts