Ticket #24 (closed defect: fixed)
cannot find modules when run from different location
| Reported by: | simonjpaulger@… | Owned by: | peter@… |
|---|---|---|---|
| Priority: | P2 | Milestone: | 0.4.0 |
| Component: | Build Tools / Libraries | Version: | 0.3.0 |
| Severity: | major | Keywords: | |
| Cc: |
Description
Hi, i reported another bug, #23, about the failure of yasm to compile on my system. Well i was eager to get it running so after looking at the error with the macros.pl file i commented out the last else statement in marcos.pl, compiled and it works fine but with some side effects. Thus, there probably not real bugs but ill submit them anyway. yasm assembles some code i have written that nasm would normally assemble, does that fine. and it also assembled some basic amd64 code that i wrote (just 1 mov instruction), works good. Except the program can only understand the parse option when i run yasm from within the source directory i make'd it in (i never ran make install). If i try to call yasm outside the source directory it complains with unknown parser 'nasm'. The command used to assemble my current 32bit code was './yasm -p nasm -f elf <filename>' the command was used inside my own install script for my own project so filename would be substituted for every asm file i have. the command used to assembly my example amd64 code was ./yasm -p nasm -m amd64 -f elf ~/test.asm This was done within the src dir, else the above discussed error occures. The example 64bit code i wrote is attached. Simon.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
