Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
102 user(s) are online (64 user(s) are browsing Forums)

Members: 0
Guests: 102

more...

Headlines

Forum Index


Board index » All Posts (AmigaBlitter)




Re: CMake progress
Quite a regular
Quite a regular


@alfkil

Yes, send me the instructions, please.
Although i doubt that there will be much difference, since my build relies on the files you've created (processAmiga and so on...)


Retired
Go to top


Re: CMake progress
Quite a regular
Quite a regular


@alfkil

Hey, i'm boostrapping cmake too (3.7.0)

Of couse thanks to your help.



However i have a strange bug in cmstate.cxx

GetSourceDirectory returns the path twice. Have you had same issue?

Retired
Go to top


Re: Get disk or volume name from a makefile
Quite a regular
Quite a regular


@broadblues

What about -lunix flag?

I remember that someone told me to use this flag.
How an amiga path would be threated in this case?

I tried to add the -lunix flag, btw, and i get -lunix: not found

Retired
Go to top


Re: Get disk or volume name from a makefile
Quite a regular
Quite a regular


@xenic

I know, thank you.
I'ts not your fault.
Maybe i've done something in the wrong way.
However your script is interesting. I saved it for later use

@broadblues

I'm using a makefile that needs to get some paths.
I needs path in the Amiga style AmigaOS:Software/Development
but if i try with pwd i get the following /AmigaOS/Software/Development.

I tried with cd, but cd is not interpred (doesn't return anything).

Finally i ended up using pwd and modifying the result with sed

Original path: /AmigaOS/Software/Development
Converted path: AmigaOS:Software/Development


I was interested to know if there was been a direct command or already defined "var" returning directly the path in Amiga style.

Retired
Go to top


Re: Get disk or volume name from a makefile
Quite a regular
Quite a regular


@xenic

unfortunately the script doesn't work.

@broadblues
thank you for the tips.

what this string return for you?
amigacurdir=`cd "\`dirname "$0"\`";pwd`

Retired
Go to top


Re: Get disk or volume name from a makefile
Quite a regular
Quite a regular


Please try this on amiga and see what returns:

amigacurdir=`cd "\`dirname "$0"\`";pwd`

Retired
Go to top


Re: Get disk or volume name from a makefile
Quite a regular
Quite a regular


@xenic

Thank you for the script.

I will test this evening.

But what if i want to have the amiga standard dir

AmigaOS:Software/Development

if i have for example /AmigaOS/Software/Development

In that case i have to substitute the second "/" in the string.




Retired
Go to top


Re: Get disk or volume name from a makefile
Quite a regular
Quite a regular


@ChrisH

hi Chris.

Thank you for the reply.

I get AmigaOS: if i type cd directly in the shell, but now within a makefile.

I would like to know if there is a special command to get this directly from the makefile.

Retired
Go to top


Get disk or volume name from a makefile
Quite a regular
Quite a regular


Hello everyone,

i have a little question:

i can i get the volume name of amiga system from a script (makefile)?

My volume name is AmigaOS
If i use pwd the system returns /AmigaOS, while if if i use cd the system returns AmigaOS:.

Now some scripts can't interpret as example /AmigaOS/Software/Development, while other doesn't understand AmigaOS:Software/Development.

There is a straight way to get (within a makefile) the volume name AmigaOS:?

thank you very much

Retired
Go to top


Re: Dump an object file's symbol table
Quite a regular
Quite a regular


@salass00

thank you very much.
I will try to use this tool.


I found nm -g and nm -gC that works too.


Retired
Go to top


Dump an object file's symbol table
Quite a regular
Quite a regular


There is a tool that provides a dump of an object file's symbol table?


thank you very mych

Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@jaokim

Exactly. Some function are present in clib2 imlementation, while other are present in newlib.

Moreover, newlib's signal.h is present in newlib/inlcude, but it's presentin newlib/inlcude/sys.

The latter seems to have more function. I haven't understand wich one is picked during compilation or if the first file call into play the second file.

Could please the SDK developer implements a more complete signal.h?

thank you in advance

Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@jaokim
Thank you for the reply.

I will try by compiling a library.
@broadblues

correct is not the right word. The signal.h is not complete to permit a smooth port of software.

This functions and declarations are missing.

warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration]

warning: implicit declaration of function 'sigprocmask' [-Wimplicit-function-declaration]
if(sigprocmask(SIG_BLOCK, &mask, &old_mask) < 0)

error: 'SIG_BLOCK' undeclared (first use in this function)
if(sigprocmask(SIG_BLOCK, &mask, &old_mask) < 0)

error: 'SIG_SETMASK' undeclared (first use in this function)
sigprocmask(SIG_SETMASK, &old_mask, 0);

error: 'SA_NOCLDSTOP' undeclared (first use in this function)
newSigAction.sa_flags = SA_NOCLDSTOP;warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration]

warning: implicit declaration of function 'sigprocmask' [-Wimplicit-function-declaration]
if(sigprocmask(SIG_BLOCK, &mask, &old_mask) < 0)

error: 'SIG_BLOCK' undeclared (first use in this function)
if(sigprocmask(SIG_BLOCK, &mask, &old_mask) < 0)

error: 'SIG_SETMASK' undeclared (first use in this function)
sigprocmask(SIG_SETMASK, &old_mask, 0);

error: 'SA_NOCLDSTOP' undeclared (first use in this function)
newSigAction.sa_flags = SA_NOCLDSTOP;


Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


I tried the proposed function implementation, but i get many errors.

It would be nice if a correct implementation of unistd could be part of the SDK.

Retired
Go to top


Re: SDL2
Quite a regular
Quite a regular


@Capehill

I will compile R139 asap.


Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@Chris

Thank you.

Have to do some tests



Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@jaokim

Thank you
I will try asap

Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@jaokim

thank you very much.

Have to test now

I suppose i can wipe all the JA_TRACE

Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@Chris

How can i use clib2/include/signal.h?

All the other files are pointing to newlib/include/signal.h

I forced to check for clib2/include/signal.h, but i receive an error: previous declaration of include.h was newlib/include/signal.h

@broadblues
thank you for the info
I will check

Retired
Go to top


Re: Is unistd supported in AmigaOS?
Quite a regular
Quite a regular


@Chris

Yesterday i tried the pipe function you've linked. Seem to works, but further tests are needed. Of course i copied both (amiga.h and amiga.c) from your source.

I already had a look at the signal files, that i have included. This doesn't worked. Perhaps the compiler picked the wrong file, so i have to include those directly with the correct path.

Thank you, anyway

Retired
Go to top



TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 30 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project