Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
103 user(s) are online (70 user(s) are browsing Forums)

Members: 0
Guests: 103

more...

Headlines

 
  Register To Post  

« 1 2 (3)
Re: C Extern functions
Home away from home
Home away from home


See User information
@freddix

yes. leave out the static bit


static function


static in myfunc(int foo...)
{
do stuff
}


non static function

int myotherfunc(char bar)
{
do other stuff
}

Declare a function static if it only used inside the file it's in and / or you don't want it called by an "outsider"

Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@broadblues
Same result !

All we have to decide is what to do with the time that is given to us.
Go to top
Re: C Extern functions
Home away from home
Home away from home


See User information
@freddix

How did you get your demo to work before? The one you showed screen
shots of?

Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@broadblues

Directly compiling c Project including all functions with #include :p

All we have to decide is what to do with the time that is given to us.
Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@freddix

where is located your libAmiDark.a file ? Do you remember to update this each time you recompile it ?


Edited by abalaban on 2009/10/29 13:48:31
Back to a quiet home... At last
Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@abalaban
Here :
SDK:Local\newlib\lib\

Yes I update it on each compilation of the lib ;)

All we have to decide is what to do with the time that is given to us.
Go to top
Re: C Extern functions
Home away from home
Home away from home


See User information
@freddix

please tell me those back slashes are just a typo ....

Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@broadblues
loool
They're a copy'n'paste of the path from a PC using Samba on the Amiga :p

All we have to decide is what to do with the time that is given to us.
Go to top
Re: C Extern functions
Home away from home
Home away from home


See User information
@broadblues

Oh. Are you cross compiling then?

Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@broadblues
cross compiling ?
Not ... Actually only for AmigaOS4
I'll look later for eventual adaptation to MorphOS or Aros ... or other Amiga related OS.

All we have to decide is what to do with the time that is given to us.
Go to top
Re: C Extern functions
Home away from home
Home away from home


See User information
@freddix

No I meant are you cross compiling for OS4?

The fact you posted a "windows" path made me wonder if you were cross compiling on a windows machine, if so it might have been a problem with your crosscompile setup. If you compile on AmigaOS4 then that's obviosly not the issue.

Go to top
Re: C Extern functions
Quite a regular
Quite a regular


See User information
@broadblues
No I compile from AmigaOS 4
Simply, I use windows for other things :p
Samba help me to copy files from my PC to the Amiga and to backup my work on PC HD :p

All we have to decide is what to do with the time that is given to us.
Go to top

  Register To Post
« 1 2 (3)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project